Tagged articles

backend

5000 articles · Page 35 of 50
IT Services Circle
IT Services Circle
Jul 15, 2022 · Backend Development

How to Retrieve IP Geolocation in Java Using ip2region

This tutorial explains how to obtain a user's IP address from an HttpServletRequest, interpret the IP using the ip2region offline database, and display the corresponding province or country in a Java backend application, including code examples and Maven integration.

IP GeolocationJavaMaven
0 likes · 11 min read
How to Retrieve IP Geolocation in Java Using ip2region
php Courses
php Courses
Jul 15, 2022 · Backend Development

Understanding PHP in_array() Pitfalls and Proper Usage

This article explains how the PHP in_array() function can return misleading results when the strict comparison flag is omitted, demonstrates the issue with a simple code example, and shows the correct usage as well as a comparable JavaScript approach using indexOf().

PHParray_searchbackend
0 likes · 2 min read
Understanding PHP in_array() Pitfalls and Proper Usage
Laravel Tech Community
Laravel Tech Community
Jul 14, 2022 · Backend Development

Go 1.19 Release Candidate Highlights and New Features

The Go 1.19 release candidate introduces generic bug fixes, an updated memory model aligned with C, C++, Java, JavaScript, Rust and Swift, higher default file descriptor limits, a v3 thread‑sanitizer race detector, a new "unix" build tag, LoongArch‑64 support, and a jump‑table‑based switch implementation that improves performance by roughly 20%.

Programming LanguageVersion 1.19backend
0 likes · 2 min read
Go 1.19 Release Candidate Highlights and New Features
Code Ape Tech Column
Code Ape Tech Column
Jul 13, 2022 · Backend Development

Using Spring Event for Synchronous and Asynchronous Processing in Spring Cloud Alibaba Projects

This article demonstrates how to create custom Spring events, define listeners, publish events, and enable asynchronous handling with @EnableAsync and @Async annotations, providing complete code examples and test results for both synchronous and asynchronous scenarios in a Spring Cloud Alibaba micro‑service environment.

AsynchronousEventJava
0 likes · 9 min read
Using Spring Event for Synchronous and Asynchronous Processing in Spring Cloud Alibaba Projects
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Jul 13, 2022 · Backend Development

22 Real-World Backend Debugging Stories: From Spring @Value to Go Lock Bugs

This article compiles 22 detailed case studies of backend development challenges—including Spring @Value injection failures, Docker‑based Sentinel CPU metrics bugs, Dubbo tag‑routing quirks, memory leaks in gateways, Nacos TIME_WAIT issues, Go benchmark timeouts, JDK bugs, and more—offering practical troubleshooting insights for engineers.

Gobackendcase studies
0 likes · 12 min read
22 Real-World Backend Debugging Stories: From Spring @Value to Go Lock Bugs
Selected Java Interview Questions
Selected Java Interview Questions
Jul 12, 2022 · Backend Development

Understanding Microservices: Concepts, Communication, Spring Cloud vs Dubbo, and Related Technologies

This article explains what microservices are, how they communicate, compares Spring Cloud and Dubbo, describes the relationship between SpringBoot and SpringCloud, defines circuit breaking and service degradation, outlines microservice advantages and pitfalls, and lists common microservice technology stacks and tools.

SpringCloudbackendcircuit breaker
0 likes · 9 min read
Understanding Microservices: Concepts, Communication, Spring Cloud vs Dubbo, and Related Technologies
Top Architect
Top Architect
Jul 12, 2022 · Backend Development

Understanding Interface Idempotency and Distributed Rate Limiting with Token Bucket, Leaky Bucket, Guava RateLimiter, Nginx, and Redis+Lua

This article explains the concept of interface idempotency, demonstrates how to achieve idempotent update operations using version control and token mechanisms, and provides a comprehensive guide to distributed rate limiting—including time‑window and resource‑based dimensions, token‑bucket and leaky‑bucket algorithms, and practical implementations with Guava RateLimiter, Nginx, and Redis‑Lua scripts.

backenddistributed systemsidempotency
0 likes · 21 min read
Understanding Interface Idempotency and Distributed Rate Limiting with Token Bucket, Leaky Bucket, Guava RateLimiter, Nginx, and Redis+Lua
Java Backend Technology
Java Backend Technology
Jul 12, 2022 · Backend Development

Boost Java Batch Updates with Multithreading: A Practical Guide

This article explains how to efficiently handle large‑scale batch updates in Java by splitting the data set, using a thread pool for concurrent processing, and providing reusable utility code, all illustrated with a clear workflow diagram and step‑by‑step examples.

Batch ProcessingJavabackend
0 likes · 7 min read
Boost Java Batch Updates with Multithreading: A Practical Guide
Java Architect Essentials
Java Architect Essentials
Jul 11, 2022 · Backend Development

Choosing the Right Delayed Task Solution: Message Queues, Redis, RabbitMQ DLX, Time Wheel, and Redisson DelayQueue

The article examines various ways to implement precise delayed tasks such as order‑closure timers in e‑commerce, comparing message‑queue delayed delivery, Redisson DelayQueue, Redis expiration listening, RabbitMQ dead‑letter queues, and time‑wheel structures, and recommends the most reliable approaches.

Message Queuebackenddelayed tasks
0 likes · 6 min read
Choosing the Right Delayed Task Solution: Message Queues, Redis, RabbitMQ DLX, Time Wheel, and Redisson DelayQueue
DaTaobao Tech
DaTaobao Tech
Jul 11, 2022 · Backend Development

Optimizing System Design for a High‑Traffic Gather‑Order Page with Multi‑Level Caching and Chain‑of‑Responsibility

The author refactors a high‑traffic gather‑order page by introducing a reusable multi‑level cache with update‑key validation, Redis distributed locks and asynchronous refresh, and by restructuring the processing flow using a chain‑of‑responsibility/command pattern, while also handling pagination, weighted sorting, and time‑bound marketing keys to improve reliability, extensibility, and performance.

Design PatternsSystem Designbackend
0 likes · 29 min read
Optimizing System Design for a High‑Traffic Gather‑Order Page with Multi‑Level Caching and Chain‑of‑Responsibility
Python Programming Learning Circle
Python Programming Learning Circle
Jul 8, 2022 · Backend Development

Configuring Celery with Redis as Broker and Backend

This guide explains how to set up Celery, a distributed asynchronous task framework, to use Redis both as the message broker and result backend, covering project structure, configuration code, task definition, execution, state monitoring, and common control operations.

AsynchronousPythonRedis
0 likes · 5 min read
Configuring Celery with Redis as Broker and Backend
Architects Research Society
Architects Research Society
Jul 5, 2022 · Backend Development

Handling Timeouts in Microservices: Strategies and Best Practices

This article explains why timeouts are inevitable in distributed systems, illustrates the challenges they create, and presents five practical strategies—including using defaults, safe retries, status checks, and user‑focused fallback—to manage slow or failed API calls in microservice architectures.

backendoperationsretry strategies
0 likes · 17 min read
Handling Timeouts in Microservices: Strategies and Best Practices
Code Ape Tech Column
Code Ape Tech Column
Jul 5, 2022 · Information Security

Understanding and Implementing HttpBasic Authentication in Spring Security

This article explains the classic HttpBasic authentication mode in Spring Security, its limited use cases, how to integrate it with a Spring Boot project by adding Maven dependencies and configuration code, and details the underlying Base64‑based mechanism with step‑by‑step illustrations.

HttpBasicJavaSpring Security
0 likes · 6 min read
Understanding and Implementing HttpBasic Authentication in Spring Security
Cognitive Technology Team
Cognitive Technology Team
Jul 3, 2022 · Backend Development

Network Timeouts Do Not Imply Server Failure: Effective Retry, Backoff, and Idempotency Strategies

Network timeouts do not necessarily indicate server‑side failure; handling them with appropriate retry strategies, exponential backoff, and idempotent APIs—combined with mechanisms such as distributed locks and atomic transactions—helps maintain system stability while avoiding duplicate operations and resource exhaustion.

BackoffRetrybackend
0 likes · 7 min read
Network Timeouts Do Not Imply Server Failure: Effective Retry, Backoff, and Idempotency Strategies
Architect
Architect
Jul 2, 2022 · Backend Development

Asynchronous Execution Techniques in Spring Boot with CompletableFuture

The article explains multiple methods for implementing asynchronous execution in Spring Boot, covering @Async annotation, Java 8 CompletableFuture, Callable, WebAsyncTask, DeferredResult, Tomcat connection tuning, container switching to Undertow, and async interception, all illustrated with complete code examples.

AsynchronousCompletableFutureJava
0 likes · 11 min read
Asynchronous Execution Techniques in Spring Boot with CompletableFuture
Top Architect
Top Architect
Jul 1, 2022 · Backend Development

Evolution of Taobao Backend Architecture: From Single‑Machine to Cloud‑Native Scale

This article walks through the step‑by‑step evolution of Taobao’s backend architecture—from a single‑machine deployment to distributed caching, load‑balancing, database sharding, micro‑services, and finally cloud‑native solutions—explaining the technologies introduced at each stage, the performance bottlenecks encountered, and the design principles that guide large‑scale system construction.

architecturebackendcloud
0 likes · 20 min read
Evolution of Taobao Backend Architecture: From Single‑Machine to Cloud‑Native Scale
Java Architect Essentials
Java Architect Essentials
Jun 30, 2022 · Backend Development

Designing a Unified API Response Structure with Annotations and Interceptors in Java Spring

This article explains how to design a consistent JSON response format for Java Spring APIs, covering status codes, messages, data payloads, and how to use a custom @ResponseResult annotation together with an interceptor and ResponseBodyAdvice to automatically wrap controller results, while also discussing potential improvements and best practices.

DesignJavabackend
0 likes · 7 min read
Designing a Unified API Response Structure with Annotations and Interceptors in Java Spring
DeWu Technology
DeWu Technology
Jun 29, 2022 · Backend Development

Architecture and Routing Rules of an Online Customer Service System

The article describes an online customer service platform that guides users from robot chat to human agents and satisfaction rating, detailing its visitor‑side interfaces, multi‑console backend architecture, service‑hour schedules, channel‑based routing, queue‑overflow handling, reliable IM messaging with retry logic, SOP knowledge‑base assistance, and session‑termination policies.

Customer ServiceIM SystemReal‑time Monitoring
0 likes · 9 min read
Architecture and Routing Rules of an Online Customer Service System
ITPUB
ITPUB
Jun 28, 2022 · Backend Development

Mastering Distributed Locks: Database, Redis, and Zookeeper Strategies

This article explains the design and implementation of distributed locks, covering database pessimistic and optimistic locks, various Redis lock patterns, Redisson and RedLock, as well as Zookeeper's lock mechanism, and compares their advantages, drawbacks, and suitable use cases.

DatabaseZookeeperbackend
0 likes · 20 min read
Mastering Distributed Locks: Database, Redis, and Zookeeper Strategies
Code Ape Tech Column
Code Ape Tech Column
Jun 28, 2022 · Backend Development

Implementing Distributed WebSocket Messaging with Spring Cloud Alibaba, Redis, and Kafka

This article explains how to solve cross‑server WebSocket communication in a distributed Java application by using a message queue (Redis or Kafka) to broadcast messages, storing user‑node mappings, and providing complete Spring configuration, code examples, and a demo page for end‑to‑end testing.

Distributed MessagingJavaKafka
0 likes · 18 min read
Implementing Distributed WebSocket Messaging with Spring Cloud Alibaba, Redis, and Kafka
DaTaobao Tech
DaTaobao Tech
Jun 24, 2022 · Backend Development

Random Fastjson Deserialization Failure Caused by Constructor Order

The article explains that Fastjson sometimes throws a syntax‑error exception when deserializing a JSON list of StewardTipCategory objects because the JVM returns overloaded constructors in nondeterministic order, causing Fastjson to pick the wrong constructor; removing or renaming the ambiguous constructor fixes the issue.

ConstructorOrderDebuggingDeserialization
0 likes · 12 min read
Random Fastjson Deserialization Failure Caused by Constructor Order
Top Architect
Top Architect
Jun 24, 2022 · Backend Development

Design and Implementation of Baidu App Personal Wallet: Architecture, Data Synchronization, Multi‑Level Caching, and Configuration

This article details the end‑to‑end design of Baidu App’s personal wallet, covering background requirements, business integration, system architecture, data‑sync mechanisms, multi‑level caching, read‑write separation, data consistency, configuration management, and database sharding to achieve high availability and scalability.

ConfigurationData synchronizationRead-Write Separation
0 likes · 17 min read
Design and Implementation of Baidu App Personal Wallet: Architecture, Data Synchronization, Multi‑Level Caching, and Configuration
Bin's Tech Cabin
Bin's Tech Cabin
Jun 24, 2022 · Backend Development

When Timestamp Caching Backfires: Sentinel’s Adaptive Solution Explained

The article examines how naive timestamp caching can increase CPU usage under high concurrency, analyzes implementations in Alibaba’s Cobar and Sentinel, presents performance test results, and explains Sentinel’s adaptive algorithm that switches between cached and direct timestamps based on QPS.

Sentinelbackendcaching
0 likes · 12 min read
When Timestamp Caching Backfires: Sentinel’s Adaptive Solution Explained
IT Services Circle
IT Services Circle
Jun 23, 2022 · Information Security

Comprehensive Guide to JWT Authentication: Concepts, Advantages, Security Issues, and Solutions

This article provides an in‑depth overview of JSON Web Tokens (JWT), explaining their structure, authentication workflow, advantages such as statelessness and CSRF protection, drawbacks like revocation difficulty, and presents practical solutions including blacklist, secret rotation, short‑lived tokens and refresh‑token strategies.

CSRFJWTXSS
0 likes · 13 min read
Comprehensive Guide to JWT Authentication: Concepts, Advantages, Security Issues, and Solutions
Architecture Digest
Architecture Digest
Jun 23, 2022 · Backend Development

Design and Implementation of Baidu App’s Personal Wallet: Architecture, Data Synchronization, Caching, and High‑Availability Strategies

This article presents a comprehensive case study of Baidu App’s personal wallet, detailing its background, business goals, system architecture, data‑synchronization mechanisms, multi‑level caching, read‑write separation, consistency guarantees, configuration management, and database sharding to achieve high availability and scalable performance.

ConfigurationData synchronizationSystem Architecture
0 likes · 18 min read
Design and Implementation of Baidu App’s Personal Wallet: Architecture, Data Synchronization, Caching, and High‑Availability Strategies
FunTester
FunTester
Jun 23, 2022 · Backend Development

Why Switching from Java to Go Simplifies Redis Integration – A Hands‑On Guide

This article walks through the author’s decision to continue learning Go for Redis access, outlines a step‑by‑step study plan, compares Go and Java Redis clients, presents a custom Go‑Redis wrapper with full source code, demonstrates usage in unit tests, and shares console output observations.

API wrapperGoPerformance
0 likes · 11 min read
Why Switching from Java to Go Simplifies Redis Integration – A Hands‑On Guide
21CTO
21CTO
Jun 22, 2022 · Backend Development

Flask vs Django: Which Python Web Framework Should You Choose?

This article compares Python's two leading web frameworks—Flask and Django—detailing their core features, strengths, and trade‑offs, and provides guidance on when to use each based on project size, complexity, and developer preferences.

DjangoFlaskPython
0 likes · 9 min read
Flask vs Django: Which Python Web Framework Should You Choose?
Python Programming Learning Circle
Python Programming Learning Circle
Jun 22, 2022 · Backend Development

alanpoi: A Java Library for Efficient Excel Import and Export

The article introduces alanpoi, a Java library that streamlines Excel import and export with millisecond‑level parsing, multi‑sheet support, error feedback, and extensible consumption interfaces, providing configuration, inheritance, and invocation examples along with annotation‑driven export capabilities.

ExportJavaalanpoi
0 likes · 6 min read
alanpoi: A Java Library for Efficient Excel Import and Export
IT Architects Alliance
IT Architects Alliance
Jun 21, 2022 · Backend Development

Understanding REST and RESTful API Design Principles and Best Practices

This article explains the REST architectural style, its core principles, resource modeling, representations, state transfer, and provides comprehensive guidelines for designing RESTful APIs, including HTTP verbs, URI conventions, versioning strategies, maturity levels, and practical code examples.

Maturity ModelRESTURI
0 likes · 15 min read
Understanding REST and RESTful API Design Principles and Best Practices
Code Ape Tech Column
Code Ape Tech Column
Jun 21, 2022 · Information Security

Implementing Data Desensitization with Custom Jackson Annotations in Java

This article explains how to mask sensitive fields such as ID numbers, phone numbers, and addresses in Java APIs by creating a custom @Sensitive annotation, defining masking strategies, implementing a Jackson serializer, and testing the solution with a Spring REST controller, providing complete code examples and sample output.

AnnotationJacksonJava
0 likes · 6 min read
Implementing Data Desensitization with Custom Jackson Annotations in Java
Baidu Geek Talk
Baidu Geek Talk
Jun 20, 2022 · Backend Development

How Baidu’s “My Wallet” Unified User Assets with Scalable Backend Architecture

This article details the design and implementation of Baidu App’s “My Wallet” feature, covering its background, business goals, system architecture, data synchronization, multi‑level caching, read‑write separation, data consistency, configurability, and database sharding to achieve high availability and performance for billions of users.

ConfigurationData synchronizationRead-Write Separation
0 likes · 18 min read
How Baidu’s “My Wallet” Unified User Assets with Scalable Backend Architecture
Selected Java Interview Questions
Selected Java Interview Questions
Jun 20, 2022 · Backend Development

Hot Deployment of Custom Java Interface Implementations Using Reflection and Spring

This article demonstrates how to design a simple Calculator interface, provide two implementation strategies (annotation‑based Spring beans and reflection‑based classes), and dynamically load, register, and unload user‑supplied JAR files at runtime through hot‑deployment mechanisms in a Java backend system.

Dynamic Bean RegistrationHot DeploymentJAR Loading
0 likes · 8 min read
Hot Deployment of Custom Java Interface Implementations Using Reflection and Spring
ITPUB
ITPUB
Jun 19, 2022 · Backend Development

Mastering Cache Design: Solving the 7 Classic Pitfalls in High‑Traffic Systems

This article explores common cache challenges such as centralized expiration, cache penetration, avalanche, hot keys, large keys, data consistency, and concurrent pre‑warming, offering practical design patterns and mitigation strategies to build robust, high‑performance backend systems.

Cache DesignPerformancebackend
0 likes · 10 min read
Mastering Cache Design: Solving the 7 Classic Pitfalls in High‑Traffic Systems
Weimob Technology Center
Weimob Technology Center
Jun 17, 2022 · Backend Development

How an External Resource Manager Boosts Service Resilience with Multi‑Layer Caching

This article explains the design and operation of an external resource manager that improves overseas e‑commerce service stability by employing CDN, local memory, and disk caches, detailing access methods, cache mechanisms, CDN configurations, and practical use cases such as Google Fonts and translation integration.

CDNPerformancebackend
0 likes · 12 min read
How an External Resource Manager Boosts Service Resilience with Multi‑Layer Caching
Top Architect
Top Architect
Jun 15, 2022 · Fundamentals

Common Software Architecture Patterns and Their Applications

This article introduces ten common software architecture patterns—layered, client‑server, master‑slave, pipe‑filter, proxy, P2P, event‑bus, MVC, blackboard, and interpreter—explaining their structures, typical use cases, and advantages to help developers choose suitable designs for large‑scale systems.

Design PatternsMVCSoftware Architecture
0 likes · 11 min read
Common Software Architecture Patterns and Their Applications
Bitu Technology
Bitu Technology
Jun 14, 2022 · Backend Development

Why Tubi Chose Scala: A Backend Transformation Story

The article explains how Tubi, an ad‑supported streaming platform with tens of millions of users, migrated from a Node.js‑Spark‑Redis stack to a Scala‑based backend to achieve sub‑10‑millisecond recommendation latency, improve fault tolerance, and simplify domain modeling using Akka and functional programming.

Performancebackendmachine-learning
0 likes · 7 min read
Why Tubi Chose Scala: A Backend Transformation Story
IT Architects Alliance
IT Architects Alliance
Jun 13, 2022 · Backend Development

Why Choose Microservice Architecture? A Comprehensive Roadmap and Tool Guide

This article explains why microservice architecture is preferred over monolithic applications, outlines a detailed learning roadmap covering core concerns such as Docker, container orchestration, API gateways, load balancing, service discovery, event buses, logging, monitoring, tracing, persistence, caching, and cloud providers, and recommends suitable tools for each component.

api-gatewayarchitecturebackend
0 likes · 12 min read
Why Choose Microservice Architecture? A Comprehensive Roadmap and Tool Guide
ELab Team
ELab Team
Jun 13, 2022 · Backend Development

How Short URLs Are Built: From Hashes to Snowflake IDs

Short URLs are essential for many scenarios, and this article explores their components, including domain and path design, and dives into various path generation methods such as hash functions, auto‑increment IDs, distributed Snowflake algorithms, base‑62 encoding, and the trade‑offs between 301 and 302 redirects.

RedirectURL shortenerbackend
0 likes · 8 min read
How Short URLs Are Built: From Hashes to Snowflake IDs
Architecture Digest
Architecture Digest
Jun 13, 2022 · Backend Development

Microservice Architecture and Design Patterns Overview

This article explains the core goals of microservice architecture, outlines essential design principles, and presents a comprehensive catalog of decomposition and design patterns—including Strangler, Bulkhead, Sidecar, API Gateway, Aggregator, Proxy, Chained, Branch, UI composition, database strategies, CQRS, Event‑driven, Saga, observability, logging, metrics, tracing, health checks, external configuration, service discovery, circuit breaker, and blue‑green deployment—providing practical guidance for building resilient, scalable systems.

architecturebackendmicroservices
0 likes · 18 min read
Microservice Architecture and Design Patterns Overview
Java Architecture Diary
Java Architecture Diary
Jun 13, 2022 · Information Security

Step-by-Step Guide to OAuth2 Token Generation and Authentication Flow

This article walks through the complete OAuth2 token generation process, covering gateway pre‑processing, client authentication, request handling, authentication object assembly, password validation, token creation, storage options, and response handling with code examples and diagrams.

Spring Securityauthenticationbackend
0 likes · 5 min read
Step-by-Step Guide to OAuth2 Token Generation and Authentication Flow
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 13, 2022 · Cloud Native

Custom Nacos PropertySourceLocator in Spring Cloud Alibaba for Dynamic Config

This article explains how to implement a custom PropertySourceLocator in Spring Cloud Alibaba, detailing the necessary spring.factories configuration, core classes like NacosConfigBootstrapConfiguration and NacosPropertySourceLocator, and the process of obtaining ConfigService, loading shared, extended, and application configurations from Nacos.

ConfigurationJavaNacos
0 likes · 10 min read
Custom Nacos PropertySourceLocator in Spring Cloud Alibaba for Dynamic Config
IT Architects Alliance
IT Architects Alliance
Jun 12, 2022 · Backend Development

Comprehensive Guide to Backend Architecture: Microservices, Service Mesh, Observability, and Messaging

This article provides an extensive overview of backend architectural concepts, covering microservices fundamentals, gateway design, service registration, configuration management, observability pillars, tracing standards, logging practices, metric collection, service mesh implementations, and a detailed comparison of modern message queue technologies.

backendcloud-nativemessaging
0 likes · 27 min read
Comprehensive Guide to Backend Architecture: Microservices, Service Mesh, Observability, and Messaging
Top Architect
Top Architect
Jun 12, 2022 · Backend Development

Comprehensive Guide to Backend Architecture: Microservices, Observability, Service Mesh, and Messaging

This article provides an in‑depth overview of modern backend architecture, covering microservice fundamentals, design principles, gateway patterns, service registration, configuration management, observability pillars, service mesh options, and a detailed comparison of popular message‑queue technologies.

Observabilityarchitecturebackend
0 likes · 29 min read
Comprehensive Guide to Backend Architecture: Microservices, Observability, Service Mesh, and Messaging
Java Captain
Java Captain
Jun 11, 2022 · Frontend Development

Full-Stack Dashboard Implementation Using Echarts, Java Web Backend, and JSON Data

This article presents a step-by-step guide to building a full-screen dashboard for LED displays, detailing requirement analysis, deployment options, overall architecture, key front‑end HTML/CSS layout, Echarts visualizations, back‑end Java REST API, JSON data handling, and configuration instructions.

EChartsJavaWeb Development
0 likes · 10 min read
Full-Stack Dashboard Implementation Using Echarts, Java Web Backend, and JSON Data
Java High-Performance Architecture
Java High-Performance Architecture
Jun 11, 2022 · Backend Development

Essential Microservice Architecture Patterns Every Backend Engineer Should Know

This article explores the core goals of microservice architecture, outlines key design principles such as scalability and resilience, and presents a comprehensive catalog of decomposition, integration, cross‑cutting concern, and observability patterns—including API gateway, Strangler, Bulkhead, Saga, and CQRS—to guide developers in building robust, maintainable backend systems.

architecturebackenddistributed systems
0 likes · 24 min read
Essential Microservice Architecture Patterns Every Backend Engineer Should Know
Top Architect
Top Architect
Jun 9, 2022 · Backend Development

Microservice Architecture and Design Patterns Overview

This article provides a comprehensive overview of microservice architecture, covering its core goals, design principles, various decomposition and integration patterns, database strategies, observability, resilience, deployment, and operational concerns, offering practical guidance for building scalable, maintainable services.

Observabilityarchitecturebackend
0 likes · 18 min read
Microservice Architecture and Design Patterns Overview
TAL Education Technology
TAL Education Technology
Jun 9, 2022 · Backend Development

Understanding Idempotency: Definitions, Scenarios, and Implementation Strategies

This article explains the concept of idempotency, outlines common business scenarios such as duplicate orders and payments, describes natural and required idempotent operations, and provides practical techniques—including unique keys, database constraints, and message‑queue handling—to ensure idempotent behavior in backend systems.

backenddistributed-systemsidempotency
0 likes · 6 min read
Understanding Idempotency: Definitions, Scenarios, and Implementation Strategies
Tencent Cloud Developer
Tencent Cloud Developer
Jun 9, 2022 · Databases

Redis Cache Anomalies and Mitigation Strategies

Redis caching can suffer from avalanche, breakdown, and penetration anomalies, but using staggered expirations, mutex locks, double‑key backups, high‑availability clusters, rate limiting, empty‑value caching, Bloom filters, warm‑up and degradation strategies effectively mitigates these risks and protects database stability.

CacheCache AvalancheCache Breakdown
0 likes · 9 min read
Redis Cache Anomalies and Mitigation Strategies
Architecture Digest
Architecture Digest
Jun 9, 2022 · Backend Development

Comprehensive Guide to Caching: Principles, Types, Strategies, and Best Practices

This article provides an in‑depth overview of caching, covering its definition, when to use it, core concepts, various cache types (client, server, CDN, reverse‑proxy, in‑process, distributed), eviction policies, multi‑level cache architectures, common pitfalls such as cache avalanche, penetration and breakdown, and practical mitigation techniques.

Cache EvictionPerformancebackend
0 likes · 30 min read
Comprehensive Guide to Caching: Principles, Types, Strategies, and Best Practices
MaGe Linux Operations
MaGe Linux Operations
Jun 8, 2022 · Backend Development

Simplify JSON Handling in Go: From Maps to Structs and Powerful Libraries

This article explains why processing JSON in a statically‑typed language like Go can be cumbersome, demonstrates two basic approaches—using map[string]interface{} and struct tags—highlights their limitations, and introduces third‑party libraries such as SJSON and GJSON that make JSON reading and writing more concise and efficient.

Structbackendgjson
0 likes · 9 min read
Simplify JSON Handling in Go: From Maps to Structs and Powerful Libraries
Architecture Digest
Architecture Digest
Jun 8, 2022 · Backend Development

Blocking Foreign IP Access with Nginx Using the ngx_http_geoip2 Module

This tutorial explains how to prevent overseas IP addresses from reaching a website by installing the libmaxminddb-devel dependency, adding the ngx_http_geoip2 module to Nginx, upgrading to Nginx 1.18, configuring GeoIP2 database paths, mapping country codes, and returning a 404 response for foreign requests.

IP blockingbackendgeoip2
0 likes · 7 min read
Blocking Foreign IP Access with Nginx Using the ngx_http_geoip2 Module
政采云技术
政采云技术
Jun 7, 2022 · Backend Development

In‑Depth Analysis of Node.js Path Module Utility Functions

This article provides a detailed examination of Node.js's built‑in path module, explaining common usage scenarios, the internal execution flow, and a line‑by‑line analysis of key utility functions like resolve and join, complete with code examples and a comparative behavior table.

JOINNode.jsbackend
0 likes · 16 min read
In‑Depth Analysis of Node.js Path Module Utility Functions
Top Architect
Top Architect
Jun 7, 2022 · Backend Development

Request Merging Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset

This article compares three request‑merging approaches—Hystrix Collapser, a custom BatchCollapser implementation, and Guava’s ConcurrentHashMultiset—explaining their configurations, code examples, and suitable scenarios for reducing downstream load and improving system throughput while also highlighting performance trade‑offs and practical tips for integration in Spring‑Boot services.

Hystrixbackendbatch-processing
0 likes · 14 min read
Request Merging Techniques: Hystrix Collapser, Custom BatchCollapser, and ConcurrentHashMultiset
macrozheng
macrozheng
Jun 7, 2022 · Backend Development

How to Seamlessly Migrate Your Spring Boot Apps to 3.0 – A Practical Guide

This guide walks you through upgrading to Spring Boot 3.0 by adopting Java 17, moving to Spring Boot 2.7 first, cleaning deprecated APIs, adjusting configuration files, handling profile activation, and addressing compatibility and performance changes such as the new PathPatternParser.

Configurationbackendjava-17
0 likes · 9 min read
How to Seamlessly Migrate Your Spring Boot Apps to 3.0 – A Practical Guide
NetEase Yanxuan Technology Product Team
NetEase Yanxuan Technology Product Team
Jun 6, 2022 · Backend Development

How a Unified Precision Testing Platform Boosted Coverage and Efficiency Across Multiple Business Units

After a year of cross‑BU experimentation, the Tianji precision testing platform was built to centralize coverage data, automate incremental analysis, and provide actionable insights, resulting in higher test coverage, faster release gating, and measurable productivity gains for both developers and QA teams.

DevOpsMetricsPlatform
0 likes · 16 min read
How a Unified Precision Testing Platform Boosted Coverage and Efficiency Across Multiple Business Units
Top Architect
Top Architect
Jun 4, 2022 · Backend Development

Backend Performance Optimization: Common Issues, Root Causes, and Practical Solutions

This article presents a comprehensive summary of backend performance problems encountered in a production system—including slow queries, deep pagination, missing or ineffective indexes, excessive joins, large data volumes, thread‑pool and lock mis‑designs, machine issues, and caching strategies—along with concrete diagnostic steps and code‑level remedies to improve response times and stability.

OptimizationPerformancebackend
0 likes · 17 min read
Backend Performance Optimization: Common Issues, Root Causes, and Practical Solutions
Programmer DD
Programmer DD
Jun 3, 2022 · Backend Development

Spring Security OAuth EOL: Migrate to Spring Security 5.7 & Authorization Server

Spring Security OAuth has reached end‑of‑life, with its documentation removed and code moved to a read‑only Spring attic repository; this guide explains how to detect deprecated dependencies, replace them with Spring Security 5.7’s OAuth2 Client, Resource Server, and the new Spring Authorization Server, ensuring a smooth migration to modern, supported authentication solutions.

JavaOAuth2Spring Boot
0 likes · 7 min read
Spring Security OAuth EOL: Migrate to Spring Security 5.7 & Authorization Server
MaGe Linux Operations
MaGe Linux Operations
Jun 3, 2022 · Backend Development

How Rewriting Hasura Storage in Go Boosted Performance Fivefold

The Hasura Storage team rewrote their Node.js service in Go, ran k6 benchmarks, and achieved up to five times more request handling, half the memory usage, and significantly lower response times across multiple download scenarios, demonstrating the scalability benefits of Go for backend services.

backendbenchmarkinggolang
0 likes · 6 min read
How Rewriting Hasura Storage in Go Boosted Performance Fivefold
macrozheng
macrozheng
Jun 1, 2022 · Backend Development

How to Upgrade the mall‑tiny Spring Boot Scaffold to 2.7.0: Tips and Code Changes

This article introduces the open‑source mall‑tiny rapid‑development scaffold, explains its core features and integration with the mall‑admin‑web front‑end, and provides a step‑by‑step guide to upgrading it to Spring Boot 2.7.0, covering Swagger, Spring Security, MyBatis‑Plus, circular‑dependency resolution, and CORS configuration.

backendsecurityspring-boot
0 likes · 14 min read
How to Upgrade the mall‑tiny Spring Boot Scaffold to 2.7.0: Tips and Code Changes
Zhuanzhuan Tech
Zhuanzhuan Tech
Jun 1, 2022 · Backend Development

Design and Implementation of a State Machine for E‑commerce After‑sale Services

This article explains how to design and implement a flexible, strategy‑pattern‑based state machine for e‑commerce after‑sale services, covering action abstraction, synchronous vs asynchronous execution, compensation via delayed MQ, and execution delay techniques to improve reliability and performance.

AsynchronousDesign PatternsJava
0 likes · 8 min read
Design and Implementation of a State Machine for E‑commerce After‑sale Services
ITPUB
ITPUB
May 31, 2022 · Backend Development

How Ctrip Optimized Hotel Cache Memory: From HashMap Overhead to Advanced Encoding

Facing billions of cached hotel records, Ctrip’s backend team analyzed Java object layout and HashMap memory costs, evaluated alternative structures, and applied bitmap, dictionary, run‑length and delta encodings to compress data, ultimately reducing cache size to under 2% of its original footprint.

backendcachingdata-structures
0 likes · 24 min read
How Ctrip Optimized Hotel Cache Memory: From HashMap Overhead to Advanced Encoding
Top Architect
Top Architect
May 31, 2022 · Backend Development

AKF Principles for Microservice Splitting: X‑Axis, Y‑Axis, and Z‑Axis Strategies

The article explains how to address single‑point failures and capacity limits by clustering servers using replication patterns and introduces the AKF microservice splitting principle, detailing X‑axis horizontal replication, Y‑axis business‑oriented division, and Z‑axis data‑driven partitioning with diagrams.

AKFClusteringarchitecture
0 likes · 5 min read
AKF Principles for Microservice Splitting: X‑Axis, Y‑Axis, and Z‑Axis Strategies
Code Ape Tech Column
Code Ape Tech Column
May 31, 2022 · Backend Development

Implementing Distributed Authorization in Spring Cloud Microservices with Custom Annotations

This article explains how to shift authentication and authorization from the gateway to downstream Spring Cloud microservices by removing the gateway's ReactiveAuthorizationManager, defining three custom annotations (@RequiresLogin, @RequiresPermissions, @RequiresRoles), creating an AOP aspect to enforce them, and demonstrating their usage in controller methods.

Custom AnnotationsJavaauthorization
0 likes · 9 min read
Implementing Distributed Authorization in Spring Cloud Microservices with Custom Annotations
IT Architects Alliance
IT Architects Alliance
May 30, 2022 · Backend Development

How to Diagnose and Fix API Performance Bottlenecks in Java Backend

This article walks through the background of a production Java service that received many performance complaints, enumerates common causes such as slow MySQL queries, complex business logic, thread‑pool misconfiguration, lock contention and machine issues, and provides concrete diagnostic steps and code‑level solutions including pagination fixes, indexing strategies, async processing, thread‑pool tuning, lock refinement and caching techniques.

JavaMySQLOptimization
0 likes · 17 min read
How to Diagnose and Fix API Performance Bottlenecks in Java Backend
IT Architects Alliance
IT Architects Alliance
May 29, 2022 · Backend Development

Comprehensive Introduction to Microservice Architecture: Concepts, Evolution, Patterns, and Practices

This article provides a comprehensive overview of microservice architecture, covering its definition, history, differences from monolithic development, key characteristics, comparison with SOA, practical implementation steps, common design patterns, advantages and disadvantages, and essential considerations for successful adoption.

DevOpsarchitecturebackend
0 likes · 19 min read
Comprehensive Introduction to Microservice Architecture: Concepts, Evolution, Patterns, and Practices
Senior Brother's Insights
Senior Brother's Insights
May 29, 2022 · Backend Development

Three Java Ways to Dynamically Monitor File Changes: Polling, WatchService, and Commons‑IO

To handle dynamic file changes such as rule updates, configuration reloads, or log monitoring, this article compares three Java approaches—simple polling with File#lastModified, the OS‑integrated WatchService API, and the Apache Commons‑IO monitor—detailing their implementations, advantages, drawbacks, and practical usage tips.

Commons-IOFile I/OFile Monitoring
0 likes · 12 min read
Three Java Ways to Dynamically Monitor File Changes: Polling, WatchService, and Commons‑IO
Top Architect
Top Architect
May 28, 2022 · Backend Development

Various Approaches to Implementing Delayed Tasks in Java Backend Systems

The article compares delayed and scheduled tasks and presents five backend solutions—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, and RabbitMQ delayed queues—detailing their implementations, code examples, outputs, and pros and cons.

DelayQueueJavaQuartz
0 likes · 19 min read
Various Approaches to Implementing Delayed Tasks in Java Backend Systems
Code Ape Tech Column
Code Ape Tech Column
May 28, 2022 · Backend Development

New Features in Spring Boot 2.7.0

Spring Boot 2.7.0 introduces major enhancements such as a new @AutoConfiguration annotation, upgraded Flyway modules, H2 2.1 support, GraphQL starter, Podman integration, Cache2k auto‑configuration, and several deprecations and test annotation improvements, providing a comprehensive update for Java backend developers.

Cache2kGraphQLJava
0 likes · 6 min read
New Features in Spring Boot 2.7.0
IT Architects Alliance
IT Architects Alliance
May 28, 2022 · Backend Development

Eight Common Software Architecture Design Patterns and Their Pros and Cons

This article introduces eight typical software architecture design patterns—including single-database single-application, content distribution, query separation, microservices, multi-level caching, sharding, elastic scaling, and multi-datacenter deployment—explaining their structures, typical use cases, advantages, disadvantages, and practical considerations for building scalable, reliable systems.

Design PatternsSoftware Architecturebackend
0 likes · 21 min read
Eight Common Software Architecture Design Patterns and Their Pros and Cons
php Courses
php Courses
May 27, 2022 · Backend Development

Understanding the PHP zval Structure in the Source Code

This article examines how PHP stores variables internally by analyzing the zval structure defined in the C source code, detailing its fields, type flags, memory layout, and associated macros, and explains why each variable occupies 16 bytes at runtime.

C++backendinternals
0 likes · 8 min read
Understanding the PHP zval Structure in the Source Code
Top Architect
Top Architect
May 26, 2022 · Backend Development

Eight Common Software Architecture Design Patterns and Their Advantages & Disadvantages

The article introduces eight widely used software architecture design patterns—including single‑database, content distribution, query separation, microservices, multi‑level caching, sharding, elastic scaling, and multi‑datacenter deployment—explaining their typical structures, suitable scenarios, and the key pros and cons of each.

Design PatternsSoftware Architecturebackend
0 likes · 21 min read
Eight Common Software Architecture Design Patterns and Their Advantages & Disadvantages