Tagged articles
5000 articles
Page 33 of 50
Top Architect
Top Architect
Aug 8, 2022 · Backend Development

Comparison of Distributed Scheduling Frameworks: Elastic‑Job vs X‑Job and Other Java Solutions

This article examines common business scenarios that require timed tasks, explains why scheduling is essential, reviews single‑machine and distributed Java scheduling frameworks—including Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, elastic‑job, Saturn, and xxl‑job—then provides a detailed feature comparison, deployment considerations, and practical recommendations.

BackendDistributed SchedulingElastic-Job
0 likes · 13 min read
Comparison of Distributed Scheduling Frameworks: Elastic‑Job vs X‑Job and Other Java Solutions
Architecture Digest
Architecture Digest
Aug 8, 2022 · Operations

Log Shrinking Techniques and Case Study for Reducing Log Size

This article explains why oversized logs hurt system performance, presents three practical log‑shrinking strategies—printing only necessary logs, merging duplicate entries, and simplifying content—illustrates them with Java code snippets, and evaluates their impact through a real‑world case that cuts daily log volume from 5 GB to under 1 GB.

BackendOperationsPerformance
0 likes · 7 min read
Log Shrinking Techniques and Case Study for Reducing Log Size
Architect's Guide
Architect's Guide
Aug 8, 2022 · Backend Development

Cache Consistency Strategies: Updating Database and Cache, Deleting Cache, and Handling Inconsistencies

The article explains why caching is essential for high‑traffic read‑heavy services, analyzes the consistency problems that arise when data exists simultaneously in MySQL and Redis, compares four cache‑update strategies, and provides practical recommendations such as using expiration, delayed double‑delete, message queues, and binlog subscription to achieve eventual consistency.

BackendCache ConsistencyMySQL
0 likes · 18 min read
Cache Consistency Strategies: Updating Database and Cache, Deleting Cache, and Handling Inconsistencies
Java Backend Technology
Java Backend Technology
Aug 6, 2022 · Backend Development

How to Prevent Coupon Over‑Issuing in High‑Concurrency Scenarios

The article analyzes why a coupon‑distribution feature can issue more coupons than available under heavy load, explains the root cause of concurrent stock deductions, and presents four practical solutions—including Java synchronized blocks, SQL row‑level locking, Redis distributed locks, and Redisson—to reliably prevent over‑issuance.

BackendCouponMySQL
0 likes · 11 min read
How to Prevent Coupon Over‑Issuing in High‑Concurrency Scenarios
Selected Java Interview Questions
Selected Java Interview Questions
Aug 5, 2022 · Backend Development

Understanding Interface Call Idempotency and Practical Solutions for Backend Systems

The article explains the concept of interface call idempotency in distributed micro‑service architectures, outlines scenarios that cause idempotency problems, and presents practical solutions such as token mechanisms, various lock strategies, unique constraints, deduplication tables, and global request IDs, with code examples in Java and Redis.

BackendDistributed SystemsLocks
0 likes · 13 min read
Understanding Interface Call Idempotency and Practical Solutions for Backend Systems
Top Architect
Top Architect
Aug 4, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Business Logic

This article explains how Spring Application Events can decouple complex business logic, demonstrates creating custom events, listeners, and publishers, shows both synchronous and asynchronous handling with @EventListener and @Async, and provides complete code examples and test results for a Spring Boot application.

AsynchronousBackendEvent
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Business Logic
Ctrip Technology
Ctrip Technology
Aug 4, 2022 · Backend Development

Design and Evolution of Ctrip Ticket Frontend Trace System for Efficient Debugging

The article describes how Ctrip built and continuously improved a Trace system for its ticket‑front‑end microservices, detailing the challenges of distributed logs, the architecture of the solution, and the functional features such as friendly search, multi‑platform aggregation, page replay, and one‑click mock that together boost debugging efficiency for both developers and non‑technical operators.

BackendMicroserviceslog-analysis
0 likes · 13 min read
Design and Evolution of Ctrip Ticket Frontend Trace System for Efficient Debugging
Su San Talks Tech
Su San Talks Tech
Aug 1, 2022 · Backend Development

Master Tomcat Performance: Key Components and Tuning Tips for Max Throughput

This article explains Tomcat’s internal component architecture, walks through the request‑processing flow, and details three crucial configuration parameters—maxThreads, maxConnections, and acceptCount—offering practical formulas and tuning guidelines to improve throughput without adding hardware.

BackendConnectorPerformance Tuning
0 likes · 12 min read
Master Tomcat Performance: Key Components and Tuning Tips for Max Throughput
Architect's Guide
Architect's Guide
Aug 1, 2022 · Backend Development

Understanding Rate Limiting: Concepts, Algorithms, and Practical Implementations

This article explains why rate limiting is essential for both physical venues and online services, describes common strategies such as circuit breaking, service degradation, delay handling, and privilege handling, compares caching, degradation, and limiting, and details counter, leaky‑bucket, and token‑bucket algorithms with concrete Guava and Nginx‑Lua implementations.

BackendGuavaalgorithm
0 likes · 15 min read
Understanding Rate Limiting: Concepts, Algorithms, and Practical Implementations
Java Architect Essentials
Java Architect Essentials
Jul 31, 2022 · Backend Development

Comprehensive Guide to Backend Interface Performance Optimization

This article summarizes the author's experience optimizing backend interface performance, covering common causes such as slow MySQL queries, complex business logic, thread‑pool and lock design flaws, and offers practical solutions including pagination tricks, indexing, caching, multithreading, and asynchronous callbacks.

BackendPerformancecaching
0 likes · 17 min read
Comprehensive Guide to Backend Interface Performance Optimization
Selected Java Interview Questions
Selected Java Interview Questions
Jul 29, 2022 · Backend Development

Seven Directions of Code Performance Optimization for Java Backend

This article outlines seven major areas of Java backend performance optimization—including reuse, computation, result‑set, resource‑conflict, algorithm, efficient implementation, and JVM tuning—explaining concepts, techniques, and practical examples to help developers improve application speed and resource utilization.

BackendPerformancealgorithm
0 likes · 11 min read
Seven Directions of Code Performance Optimization for Java Backend
Java Backend Technology
Java Backend Technology
Jul 29, 2022 · Backend Development

Avoid the Top 5 BigDecimal Pitfalls in Java Money Calculations

This article explains five common BigDecimal traps—including constructor precision loss, equals vs compareTo, division exceptions, string conversion quirks, and operation order—provides code examples, and recommends using the JSR‑354 Money API with Maven for safer monetary calculations in Java backend development.

BackendBigDecimalJSR 354
0 likes · 8 min read
Avoid the Top 5 BigDecimal Pitfalls in Java Money Calculations
Java High-Performance Architecture
Java High-Performance Architecture
Jul 28, 2022 · Backend Development

How to Accelerate Complex Search Queries with Redis Caching and SQL Optimization

This article walks through three progressive implementations for handling intricate e‑commerce search filters—starting with a raw SQL approach, then optimizing with indexed queries and split statements, and finally leveraging Redis sets and sorted sets for caching, pagination, and high‑performance query execution.

Backendcachingredis
0 likes · 8 min read
How to Accelerate Complex Search Queries with Redis Caching and SQL Optimization
Laravel Tech Community
Laravel Tech Community
Jul 26, 2022 · Backend Development

Netty 5.0.0.Alpha4 Released with API Cleanup and Unix Domain Socket Support

Netty 5.0.0.Alpha4 has been released, removing duplicated code, cleaning up the API, adding ProtocolFamily‑based socket creation, renaming options, supporting JDK Unix Domain Sockets, improving EventLoop registration, fixing macOS disconnect, and replacing synchronized blocks with Java Locks for better Loom compatibility.

BackendNettyNetworking
0 likes · 3 min read
Netty 5.0.0.Alpha4 Released with API Cleanup and Unix Domain Socket Support
Sanyou's Java Diary
Sanyou's Java Diary
Jul 25, 2022 · Backend Development

Unlock Spring’s Hidden Extension Points: From FactoryBean to Custom Namespaces

Explore the core extension mechanisms of Spring, including FactoryBean, @Import, BeanPostProcessor, BeanFactoryPostProcessor, SPI, SpringBoot startup hooks, event handling, and custom XML namespaces, with detailed code demos and practical examples that reveal how to integrate and extend Spring in real-world applications.

BackendExtension Pointsdependency-injection
0 likes · 40 min read
Unlock Spring’s Hidden Extension Points: From FactoryBean to Custom Namespaces
DeWu Technology
DeWu Technology
Jul 25, 2022 · Backend Development

Cache Redesign and Performance Optimization for Community Collection Service

By consolidating each user’s collected content into a single Redis hash, replacing per‑item SISMEMBER checks with a batch HMGET, and limiting cached IDs to the most recent 5,000, the redesign cut API latency by threefold, slashed Redis and MySQL query rates dramatically, and reduced memory and connection usage.

BackendCacheoptimization
0 likes · 9 min read
Cache Redesign and Performance Optimization for Community Collection Service
Selected Java Interview Questions
Selected Java Interview Questions
Jul 25, 2022 · Backend Development

Four Approaches to Solving Session Management in Distributed Environments

This article examines four strategies for handling session data in distributed backend systems—session replication, client-side storage, hash-based load balancing, and centralized storage with Redis—detailing their principles, advantages, disadvantages, and practical recommendations for different deployment scales.

BackendDistributed SystemsSession
0 likes · 9 min read
Four Approaches to Solving Session Management in Distributed Environments
Architecture Digest
Architecture Digest
Jul 24, 2022 · Backend Development

Logging Best Practices and Log4j Log Levels in Software Development

This article explains the importance of proper logging in software, outlines common logging requirements such as readability, performance, disk usage, and timeliness, and details Log4j components, log level definitions, hierarchy, recommended usage, and provides concrete macro and log‑statement examples.

Backendbest practiceslog levels
0 likes · 15 min read
Logging Best Practices and Log4j Log Levels in Software Development
Selected Java Interview Questions
Selected Java Interview Questions
Jul 23, 2022 · Backend Development

Log Reduction Techniques for Backend Systems

This article discusses practical methods for reducing log volume in backend applications, including printing only necessary logs, merging log entries, simplifying messages, and applying these techniques in a real-world Java case to shrink daily log size from several gigabytes to under one gigabyte while preserving debugging capability.

BackendInFOPerformance
0 likes · 7 min read
Log Reduction Techniques for Backend Systems
Top Architect
Top Architect
Jul 23, 2022 · Backend Development

Four Methods to Traverse a Java Map Using keySet, entrySet and Iterators

This article demonstrates four practical ways to iterate over a Java HashMap—including enhanced for loops with keySet(), iterator-based loops with keySet(), enhanced for loops with entrySet(), and iterator-based loops with entrySet()—and provides a complete example that filters employee objects by salary, complete with full source code.

BackendCollectionsHashMap
0 likes · 10 min read
Four Methods to Traverse a Java Map Using keySet, entrySet and Iterators
Meituan Technology Team
Meituan Technology Team
Jul 21, 2022 · Backend Development

Visualized Full‑Chain Log Tracing for Complex Business Systems

The article analyzes the shortcomings of traditional ELK and distributed tracing for complex business systems, proposes a visualized full‑chain log tracing solution that organizes and dynamically links logs by business chain, and demonstrates its implementation and performance gains at Meituan’s content platform.

BackendDSLDistributed Systems
0 likes · 26 min read
Visualized Full‑Chain Log Tracing for Complex Business Systems
Top Architect
Top Architect
Jul 21, 2022 · Backend Development

Performance Monitoring and Optimization Practices for Backend Systems

The article outlines practical approaches to monitor and resolve performance bottlenecks in backend applications, covering database slow‑query logs, interface latency, message‑queue backlogs, segmentation timing, caching, batch calls, multithreading, and database tuning techniques such as indexing and transaction isolation.

BackendPerformancecaching
0 likes · 9 min read
Performance Monitoring and Optimization Practices for Backend Systems
Architect's Guide
Architect's Guide
Jul 21, 2022 · Backend Development

Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes

This article chronicles the step‑by‑step evolution of a workflow engine, detailing how simple sequential approvers were expanded into hierarchical trees supporting parallel, multi‑sign, conditional, proxy, and scripted nodes, while introducing state management, rejection handling, and progress metrics.

BackendSoftware ArchitectureState Management
0 likes · 9 min read
Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes
Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 20, 2022 · Backend Development

Design and Evolution of the Price‑Increase Coupon Service for a C2B Recycling Platform

This article details the design, evolution, and scaling strategies of a price‑increase coupon system for a C2B digital product recycling platform, covering its initial experimental phase, platformization, sharding‑JDBC implementation, intelligent coupon recommendation, Elasticsearch integration, and operational optimizations for high‑throughput stability.

BackendCouponMicroservices
0 likes · 11 min read
Design and Evolution of the Price‑Increase Coupon Service for a C2B Recycling Platform
Su San Talks Tech
Su San Talks Tech
Jul 20, 2022 · Backend Development

30 Practical Java Code Optimization Tips to Supercharge Your Applications

This article presents a comprehensive collection of thirty Java performance‑tuning techniques—from using String.format and buffered I/O streams to avoiding large transactions, leveraging enums, and handling thread‑local resources—each illustrated with clear code examples and best‑practice recommendations for modern backend development.

Backendjava
0 likes · 47 min read
30 Practical Java Code Optimization Tips to Supercharge Your Applications
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2022 · Backend Development

Build a Go‑Based SMS Verification Login with Gin and Viper

This guide walks through creating a phone‑number SMS verification login system in Go using Gin, Viper, and Tencent Cloud SMS, covering service registration, configuration loading, client implementation with functional options, code generation, sending, and Redis‑based verification.

BackendGinSMS
0 likes · 8 min read
Build a Go‑Based SMS Verification Login with Gin and Viper
Selected Java Interview Questions
Selected Java Interview Questions
Jul 19, 2022 · Backend Development

Comprehensive Guide to Identifying and Solving Backend Interface Performance Issues

This article recounts a backend team's experience of addressing numerous slow API endpoints, detailing root causes such as MySQL slow queries, complex business logic, thread‑pool and lock misconfigurations, and offers practical solutions including pagination fixes, indexing, query refactoring, concurrency improvements, and caching strategies.

BackendMySQLPerformance
0 likes · 16 min read
Comprehensive Guide to Identifying and Solving Backend Interface Performance Issues
Java Backend Technology
Java Backend Technology
Jul 19, 2022 · Backend Development

How to Diagnose and Fix Common API Performance Bottlenecks in Java Backend

This article walks through real‑world API performance complaints, identifies root causes such as slow MySQL queries, thread‑pool misconfiguration, lock contention and machine issues, and presents practical solutions ranging from pagination rewrites and index tuning to multithreading, caching and async callbacks.

BackendPerformancecaching
0 likes · 17 min read
How to Diagnose and Fix Common API Performance Bottlenecks in Java Backend
Open Source Linux
Open Source Linux
Jul 19, 2022 · Backend Development

Master Kafka Basics: Visual Guide to Topics, Partitions, and Architecture

This article visually explains Kafka's core concepts—including producers, consumers, topics, partitions, consumer groups, and cluster architecture—so readers can clearly understand how messages flow, are stored, and remain fault‑tolerant within a distributed streaming system.

BackendKafkaMessage Queue
0 likes · 6 min read
Master Kafka Basics: Visual Guide to Topics, Partitions, and Architecture
Top Architect
Top Architect
Jul 18, 2022 · Backend Development

Common Load Balancing Algorithms and Their Java Implementations

This article explains the principles behind popular load‑balancing strategies such as round‑robin, weighted round‑robin, smooth weighted round‑robin, consistent hashing, least‑active, and best‑response, and provides clear Java code examples for each method.

AlgorithmsBackendDistributed Systems
0 likes · 34 min read
Common Load Balancing Algorithms and Their Java Implementations
ITPUB
ITPUB
Jul 17, 2022 · Backend Development

36 Essential Tips for Designing Robust Backend APIs

This comprehensive guide presents 36 practical recommendations for backend engineers, covering parameter validation, compatibility, extensibility, idempotency, error handling, logging, performance optimization, caching, rate limiting, security, transaction management, and clear communication to help design reliable, maintainable, and scalable service interfaces.

BackendScalabilityapi-design
0 likes · 27 min read
36 Essential Tips for Designing Robust Backend APIs
Architecture Digest
Architecture Digest
Jul 16, 2022 · Fundamentals

Design and Implementation of a Lightweight Workflow Engine

This article analyzes the business challenges of marketing automation, introduces workflow concepts and models, compares workflow engines with state machines, presents popular open‑source engines, and details the design, core modules, interfaces, and practical considerations of a self‑built lightweight workflow engine.

BackendDesignEngine
0 likes · 11 min read
Design and Implementation of a Lightweight Workflow Engine
Dada Group Technology
Dada Group Technology
Jul 16, 2022 · Backend Development

Optimizing Rider Withdrawal Payments at Dada Express: Asynchronous Concurrency, Extended Timeouts, Idempotent Retries, and Security Enhancements

This article details how Dada Express improved the efficiency of rider withdrawal payments by redesigning the clearing and disbursement workflow, introducing asynchronous thread‑pool concurrency, extending API timeouts, implementing idempotent retry logic, and adding safeguards to ensure fund security, resulting in a three‑fold reduction in processing time during peak periods.

BackendIdempotencySystem Design
0 likes · 9 min read
Optimizing Rider Withdrawal Payments at Dada Express: Asynchronous Concurrency, Extended Timeouts, Idempotent Retries, and Security Enhancements
ITPUB
ITPUB
Jul 15, 2022 · Backend Development

How I Cut a 20‑Second API Call to Sub‑Second with Three Simple Optimizations

A backend engineer shares a step‑by‑step case study of reducing a batch‑score query API from 20 seconds to under 500 ms by analyzing the problem, adding a composite index, introducing multithreaded CompletableFuture calls, and limiting batch size with pagination and thread‑pool tuning.

API performanceBackendIndex Optimization
0 likes · 11 min read
How I Cut a 20‑Second API Call to Sub‑Second with Three Simple Optimizations
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.

BackendIP geolocationNetworking
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().

BackendPHParray_search
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%.

BackendProgramming LanguageRelease Notes
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.

AsynchronousBackendEvent
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.

BackendCase StudiesGo
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.

BackendSpringCloudcircuit 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.

BackendBatch Processingjava
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.

BackendMessage QueueRabbitMQ
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.

BackendDesign PatternsSystem Design
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.

AsynchronousBackendPython
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.

AuthenticationBackendHttpBasic
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.

BackendBackoffDistributed Systems
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.

AsynchronousBackendCompletableFuture
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.

ArchitectureBackendMicroservices
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.

BackendDesignResponse
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.

BackendIM Systemcustomer-service
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.

BackendZooKeeperconcurrency
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.

BackendDistributed MessagingKafka
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.

BackendConstructorOrderDeserialization
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.

BackendRead-Write SeparationSystem Architecture
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.

BackendGolangcaching
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.

AuthenticationBackendCSRF
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.

BackendSystem Architecturecaching
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 wrapperBackendGo
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.

BackendDjangoFlask
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.

BackendExportImport
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.

BackendHTTPMaturity Model
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.

BackendJacksonannotation
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.

BackendRead-Write SeparationScalability
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.

BackendHot DeploymentReflection
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.

BackendCache DesignDistributed Systems
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.

BackendCDNPerformance
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.

BackendDesign PatternsMVC
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.

BackendPerformancemachine-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.

ArchitectureBackendMicroservices
0 likes · 12 min read
Why Choose Microservice Architecture? A Comprehensive Roadmap and Tool Guide