Tagged articles

backend

5000 articles · Page 31 of 50
Top Architect
Top Architect
Mar 8, 2023 · Backend Development

JVM Parameter Tuning for a Service Handling 10 Million Daily Login Requests on an 8 GB Node

This article walks through a systematic approach to sizing and configuring JVM parameters—including heap, young generation, GC algorithm, Metaspace, and safety‑point settings—for a high‑traffic login service that receives one million requests per day on a server with 8 GB of memory, providing both practical code examples and interview‑style explanations.

Garbage CollectionJVMJava
0 likes · 25 min read
JVM Parameter Tuning for a Service Handling 10 Million Daily Login Requests on an 8 GB Node
JavaEdge
JavaEdge
Mar 7, 2023 · Backend Development

Unpacking Dubbo’s Remoting Module: Architecture, Core Interfaces, and Transporter Layer

This article provides a detailed walkthrough of Dubbo’s remoting module, covering its overall architecture, the dubbo‑remoting‑api abstraction, key packages such as buffer, exchange and transport, core interfaces like Endpoint and Channel, the role of ChannelHandler, the Transporter facade, and a concise summary of how these components interact to enable flexible, pluggable network communication.

DubboJavaRemoting
0 likes · 10 min read
Unpacking Dubbo’s Remoting Module: Architecture, Core Interfaces, and Transporter Layer
Top Architect
Top Architect
Mar 7, 2023 · Backend Development

Differences Between BIO, NIO, and AIO in Java Network Programming

This article explains the concepts of synchronous vs asynchronous and blocking vs non‑blocking I/O, then details the characteristics, advantages, and drawbacks of Java’s three I/O models—BIO, NIO, and AIO—providing guidance on when to use each approach in backend development.

AIOBIOI/O
0 likes · 9 min read
Differences Between BIO, NIO, and AIO in Java Network Programming
Top Architect
Top Architect
Mar 6, 2023 · Backend Development

An Introduction to GraphQL: Concepts, Benefits, and Implementation Strategies

This article explains the limitations of REST APIs, introduces GraphQL as a flexible alternative, details its core concepts such as schema, types, queries, mutations and subscriptions, and outlines various architectural patterns and tooling for integrating GraphQL into existing backend systems.

APIData FetchingGraphQL
0 likes · 16 min read
An Introduction to GraphQL: Concepts, Benefits, and Implementation Strategies
Architecture Breakthrough
Architecture Breakthrough
Mar 6, 2023 · Backend Development

Boost System Performance with a Practical Asynchronous Processing Pattern

This article outlines a step‑by‑step asynchronous processing pattern—including request reception, backend handling, exception retry, failure compensation, and alerting—to prioritize functional improvements and quickly enhance system performance while aligning technical actions with business goals.

AsynchronousPerformanceSystem Design
0 likes · 6 min read
Boost System Performance with a Practical Asynchronous Processing Pattern
Code Ape Tech Column
Code Ape Tech Column
Mar 6, 2023 · Backend Development

Thread Creation Techniques in RocketMQ Source Code

This article explains how RocketMQ creates and manages threads, covering single‑thread creation via Runnable and Thread inheritance, the ServiceThread abstract class, ThreadPoolExecutor configuration, custom thread factories, and the importance of descriptive thread names for debugging.

JavaRocketMQThreadPool
0 likes · 9 min read
Thread Creation Techniques in RocketMQ Source Code
JavaEdge
JavaEdge
Mar 5, 2023 · Backend Development

Designing a Scalable RPC Framework: Architecture and Extensibility

This article explains the core components of an RPC framework—including transport, serialization, protocol framing, compression, bootstrap integration, service discovery, connection management, and a plugin‑based microkernel architecture—while highlighting design trade‑offs and practical extensions for robust backend systems.

RPCbackendmicrokernel
0 likes · 9 min read
Designing a Scalable RPC Framework: Architecture and Extensibility
Java High-Performance Architecture
Java High-Performance Architecture
Mar 1, 2023 · Backend Development

Designing a High‑Performance Membership System Using ES, Redis, and MySQL

This article details how a large‑scale membership platform achieves high performance and high availability by employing a dual‑center Elasticsearch cluster, traffic‑isolated ES clusters, deep ES optimizations, Redis caching with distributed locks, dual‑center MySQL partitioning, seamless data migration, and fine‑grained flow‑control and degradation strategies.

System Architecturebackendhigh availability
0 likes · 21 min read
Designing a High‑Performance Membership System Using ES, Redis, and MySQL
JavaEdge
JavaEdge
Feb 27, 2023 · Backend Development

How Dynamic Proxies Power RPC Calls in Java

This article explains the core principle of RPC using dynamic proxies, showing how interfaces are proxied at runtime, the code generation process, and compares JDK, Javassist, and Byte Buddy proxy implementations with practical examples.

Byte BuddyDynamic ProxyJDK Proxy
0 likes · 9 min read
How Dynamic Proxies Power RPC Calls in Java
php Courses
php Courses
Feb 24, 2023 · Backend Development

High‑Performance Excel Export in PHP Using the php‑ext‑xlswriter Extension

This article introduces the php‑ext‑xlswriter C extension for PHP, outlines its features, shows how to install it (including Docker commands), compares its speed with PHPSpreadsheet and PHP_XLSXWriter, and provides complete sample code for generating large Excel files efficiently.

DockerExcelPHP extension
0 likes · 7 min read
High‑Performance Excel Export in PHP Using the php‑ext‑xlswriter Extension
Su San Talks Tech
Su San Talks Tech
Feb 24, 2023 · Backend Development

Why We’re Dropping RabbitMQ for Kafka: A Complete Migration Blueprint

Facing chaotic usage, maintenance challenges, partition tolerance issues, and performance bottlenecks with RabbitMQ, our middleware team decided to fully migrate to Kafka, outlining reasons, comparative models, migration strategies, and verification steps to ensure a smooth, high‑availability, high‑performance transition.

KafkaMessage Queuebackend
0 likes · 13 min read
Why We’re Dropping RabbitMQ for Kafka: A Complete Migration Blueprint
Laravel Tech Community
Laravel Tech Community
Feb 23, 2023 · Backend Development

How to Configure Nginx to Handle 100,000 Requests per Minute

This article provides a step‑by‑step guide to configuring Nginx for high‑traffic scenarios, covering increasing worker processes, adjusting worker connections, enabling keep‑alive, optimizing caching, and setting up load balancing, along with discussion of common performance bottlenecks and tuning recommendations to achieve up to 100,000 requests per minute.

backend
0 likes · 7 min read
How to Configure Nginx to Handle 100,000 Requests per Minute
Java High-Performance Architecture
Java High-Performance Architecture
Feb 23, 2023 · Backend Development

How to Build a High‑Performance Call Center Architecture for Rapid Scaling

This article details the design of a high‑performance, scalable call‑center system, covering business and technical architecture, a visual workflow engine, communication component modularization, flow control under traffic peaks, and future plans for a unified telephony platform, illustrating how to boost first‑call resolution and user satisfaction.

System Architecturebackendcall center
0 likes · 16 min read
How to Build a High‑Performance Call Center Architecture for Rapid Scaling
macrozheng
macrozheng
Feb 23, 2023 · Fundamentals

Master Java Class Naming: 10 Proven Patterns for Clean Code

This article explores common Java class naming conventions across ten categories—management, propagation, callbacks, monitoring, memory, filtering, structure, design patterns, parsing, and networking—providing clear examples and best‑practice tips to make your code more readable and professional.

Javabackendclass naming
0 likes · 18 min read
Master Java Class Naming: 10 Proven Patterns for Clean Code
FunTester
FunTester
Feb 23, 2023 · Backend Development

Why RESTful APIs Simplify Testing: A Practical Guide for Test Engineers

This article explains how RESTful API design reduces testing complexity by using unique URIs, standard HTTP methods, and JSON data exchange, and shows how test engineers can extend their frameworks with serialization support and added PUT/DELETE operations.

API testingPythonRESTful
0 likes · 7 min read
Why RESTful APIs Simplify Testing: A Practical Guide for Test Engineers
macrozheng
macrozheng
Feb 22, 2023 · Backend Development

Three Reliable Ways to Auto‑Cancel Unpaid Orders in E‑Commerce

This article explores three practical approaches for automatically canceling unpaid e‑commerce orders—using scheduled tasks (both local and distributed), implementing passive client‑side cancellation with server checks, and leveraging delayed message queues such as RocketMQ—detailing their advantages, drawbacks, and typical frameworks.

E‑commerceScheduled Tasksbackend
0 likes · 6 min read
Three Reliable Ways to Auto‑Cancel Unpaid Orders in E‑Commerce
NiuNiu MaTe
NiuNiu MaTe
Feb 22, 2023 · Databases

Master Redis String Internals: Common Interview Questions & Answers

This article reviews essential Redis string concepts, covering typical interview questions, encoding types, the EMBSTR threshold, SDS structure, and memory allocation details to help readers solidify their understanding of Redis string implementation.

InterviewMemory ManagementRedis
0 likes · 8 min read
Master Redis String Internals: Common Interview Questions & Answers
58 Tech
58 Tech
Feb 21, 2023 · Backend Development

Design and Implementation of FairPushy: A Dart‑Based Dynamic Update Platform for Flutter

This article presents the architecture, technology choices, and practical implementation details of FairPushy—a Dart‑driven backend and Flutter dynamic‑update platform—covering server development, concurrency handling, ORM integration, automated build pipelines, and deployment strategies for seamless hot‑reloading of mobile applications.

DARTDockerFlutter
0 likes · 17 min read
Design and Implementation of FairPushy: A Dart‑Based Dynamic Update Platform for Flutter
Architects Research Society
Architects Research Society
Feb 19, 2023 · Backend Development

Choosing Between Polling, Server‑Sent Events, and WebSockets for Real‑Time Web Applications

This article compares three real‑time communication techniques—long/short polling, WebSockets, and Server‑Sent Events—by explaining their mechanisms, presenting client‑ and server‑side code examples, and discussing their advantages, drawbacks, and suitable use‑cases to help developers select the appropriate method for a dashboard application.

PollingServer‑Sent Eventsbackend
0 likes · 12 min read
Choosing Between Polling, Server‑Sent Events, and WebSockets for Real‑Time Web Applications
Java High-Performance Architecture
Java High-Performance Architecture
Feb 18, 2023 · Backend Development

How We Scaled a Live‑Streaming Danmaku System to 1M Concurrent Users

This article details the design, bandwidth optimization, and reliability engineering behind a custom live‑streaming danmaku service that supports up to one million simultaneous users, covering problem analysis, compression techniques, polling strategies, service splitting, and performance results from a major traffic event.

Performancebackenddanmaku
0 likes · 10 min read
How We Scaled a Live‑Streaming Danmaku System to 1M Concurrent Users
ITPUB
ITPUB
Feb 18, 2023 · Backend Development

Mastering High‑Performance Backend: Lock‑Free, Zero‑Copy, Serialization, and More

This comprehensive guide explores essential backend techniques—including lock‑free programming, zero‑copy I/O, efficient serialization, pooling, concurrency, async processing, caching strategies, sharding, storage optimizations, and queue mechanisms—to build high‑performance, scalable services while highlighting practical code examples and real‑world trade‑offs.

Lock-FreeQueuebackend
0 likes · 51 min read
Mastering High‑Performance Backend: Lock‑Free, Zero‑Copy, Serialization, and More
政采云技术
政采云技术
Feb 16, 2023 · Backend Development

Graceful Shutdown Support in Spring Boot 2.3+ for Embedded Web Servers

Since Spring Boot 2.3.0.RELEASE, graceful shutdown is supported for all embedded web servers (Jetty, Reactor Netty, Tomcat, Undertow) and both reactive and servlet‑based applications, using SmartLifecycle beans, configurable timeouts, and a JVM shutdown hook to allow in‑flight requests to finish while refusing new ones.

EmbeddedWebServerGracefulShutdownJava
0 likes · 10 min read
Graceful Shutdown Support in Spring Boot 2.3+ for Embedded Web Servers
Top Architect
Top Architect
Feb 11, 2023 · Backend Development

Comprehensive Guide to User Login Flow, Token Management, and Anonymous Access in Backend Systems

This article explains the complete user login process, including mobile verification, token generation, token expiration policies, request‑rate limiting with Redis, anonymous request handling, blacklist management, and provides full Java Spring code examples for implementing these backend authentication mechanisms.

API securityRedisauthentication
0 likes · 11 min read
Comprehensive Guide to User Login Flow, Token Management, and Anonymous Access in Backend Systems
Top Architect
Top Architect
Feb 11, 2023 · Backend Development

XNote – Lightweight Personal Note System: Features, Architecture, and Installation Guide

This article introduces XNote, a lightweight personal note system with rich data management, cross‑platform support, and extensible plugins, detailing its key features, system architecture, directory layout, required dependencies, and step‑by‑step installation and configuration instructions for Python environments.

Installation guidePythonWeb Development
0 likes · 11 min read
XNote – Lightweight Personal Note System: Features, Architecture, and Installation Guide
MaGe Linux Operations
MaGe Linux Operations
Feb 7, 2023 · Operations

How to Scale Services Beyond 200k QPS: Practical Strategies for High‑Concurrency Systems

This article explores practical techniques for optimizing online services handling over 200,000 QPS, covering why relational databases fall short, multi‑level caching, multithreading, circuit breaking, I/O reduction, controlled retries, edge‑case handling, and efficient logging to maintain sub‑300 ms response times.

backendperformance optimization
0 likes · 11 min read
How to Scale Services Beyond 200k QPS: Practical Strategies for High‑Concurrency Systems
Code Ape Tech Column
Code Ape Tech Column
Feb 7, 2023 · Backend Development

YouTube Backend Architecture: Databases, Vitess, and Cloud‑Native Infrastructure

This article examines YouTube's massive backend infrastructure, detailing its use of MySQL with Vitess for horizontal scaling, caching with Memcache, coordination via Zookeeper, cloud‑native deployment on Kubernetes, CDN delivery, and the storage systems (GFS, BigTable) that enable billions of users to upload and stream petabytes of video data.

VitessYouTubebackend
0 likes · 15 min read
YouTube Backend Architecture: Databases, Vitess, and Cloud‑Native Infrastructure
Sanyou's Java Diary
Sanyou's Java Diary
Feb 6, 2023 · Backend Development

Master Reading Open‑Source Code: 18 Proven Strategies for Java Projects

This guide explains why reading source code matters and presents 18 practical techniques—covering JDK fundamentals, design patterns, official documentation, module analysis, demo‑first approach, purposeful reading, and effective note‑taking—to help developers confidently explore Java open‑source projects like RocketMQ.

Design PatternsRocketMQbackend
0 likes · 15 min read
Master Reading Open‑Source Code: 18 Proven Strategies for Java Projects
Selected Java Interview Questions
Selected Java Interview Questions
Feb 6, 2023 · Backend Development

Backend Token Authentication, Rate Limiting, and Anonymous Access Design

This article explains a comprehensive backend user login flow, covering token generation, expiration policies, request validation, logout handling, anonymous access strategies, rate‑limiting with authorized tokens, path‑regex filtering, blacklist management, and includes a Spring‑Redis implementation example.

authenticationbackendgateway
0 likes · 9 min read
Backend Token Authentication, Rate Limiting, and Anonymous Access Design
Laravel Tech Community
Laravel Tech Community
Feb 5, 2023 · Backend Development

PHP 8.2.2 Released – Comprehensive Bug‑Fix Update

PHP 8.2.2, a bug‑fix release, addresses numerous issues across the core engine, FPM, hash, LDAP, opcache, phar, PHPDBG, POSIX, random, standard library, and XMLWriter components, providing a more stable and secure version for developers.

OPcachebackendfpm
0 likes · 4 min read
PHP 8.2.2 Released – Comprehensive Bug‑Fix Update
21CTO
21CTO
Feb 4, 2023 · Backend Development

What’s New in Go 1.20? Key Features, Performance Boosts, and OS Support

Go 1.20, released six months after 1.19, brings major toolchain, runtime, and library updates—including new slice‑to‑array conversion, unsafe package functions, struct field comparison rules, comparable type enhancements, reduced binary size, build‑flag architecture support, coverage flags, and experimental RISC‑V FreeBSD support—while improving CPU performance by up to 2% and cutting memory overhead.

Gobackendgo1.20
0 likes · 5 min read
What’s New in Go 1.20? Key Features, Performance Boosts, and OS Support
Bilibili Tech
Bilibili Tech
Feb 3, 2023 · Backend Development

Design and Architecture of Bilibili's Thumb-up Service

The article details Bilibili’s thumb‑up service architecture, covering required business and platform capabilities, handling high read/write traffic and hot‑spot pressures, a three‑tier storage design using TiDB, Redis cache and local heap cache, disaster‑recovery mechanisms, asynchronous jobs, and future modularization plans.

Bilibilibackenddistributed storage
0 likes · 14 min read
Design and Architecture of Bilibili's Thumb-up Service
IT Architects Alliance
IT Architects Alliance
Feb 3, 2023 · Backend Development

Preventing Overselling in High‑Concurrency Flash Sales: 7 Locking & Queue Strategies with SpringBoot

This article analyzes the overselling problem in high‑concurrency flash‑sale scenarios, demonstrates seven concrete solutions—including improved locks, AOP locks, pessimistic and optimistic database locks, and queue‑based approaches using BlockingQueue and Disruptor—provides full SpringBoot code, JMeter test results, and practical recommendations for reliable stock reduction.

DisruptorMySQLQueue
0 likes · 19 min read
Preventing Overselling in High‑Concurrency Flash Sales: 7 Locking & Queue Strategies with SpringBoot
Java Architect Essentials
Java Architect Essentials
Feb 2, 2023 · Backend Development

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

This article examines common business scenarios that require timed execution, introduces single‑machine and distributed scheduling frameworks such as Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, Elastic‑Job, Saturn and XXL‑Job, and provides a detailed feature‑by‑feature comparison to help choose the most suitable solution.

ComparisonElastic-JobJava
0 likes · 14 min read
Comparison of Distributed Task Scheduling Frameworks: Elastic‑Job vs X‑Job and Other Solutions
Laravel Tech Community
Laravel Tech Community
Feb 2, 2023 · Backend Development

Using overtrue/pinyin in PHP to Convert Chinese Characters to Pinyin

This guide explains how to install the overtrue/pinyin Composer package and demonstrates various PHP methods for converting Chinese text to pinyin, including tone styles, array output, permalink generation, abbreviation extraction, handling polyphones, and using the command‑line tool.

Chinesebackendovertrue
0 likes · 6 min read
Using overtrue/pinyin in PHP to Convert Chinese Characters to Pinyin
IT Architects Alliance
IT Architects Alliance
Feb 2, 2023 · Backend Development

Design and Implementation of a Weibo Feed Stream: Storage Architecture, Push vs Pull Models, and Performance Optimizations

This article examines the design of a Weibo‑style feed system, detailing storage tables, the trade‑offs between push (write‑fan‑out) and pull (read‑fan‑out) delivery models, their scalability challenges, and hybrid solutions using caching to achieve low latency and manageable storage costs.

DatabasePush‑Pullbackend
0 likes · 9 min read
Design and Implementation of a Weibo Feed Stream: Storage Architecture, Push vs Pull Models, and Performance Optimizations
Java Architect Essentials
Java Architect Essentials
Feb 1, 2023 · Backend Development

Comparison of Distributed Task Scheduling Frameworks: Elastic-Job vs X-Job and Others

The article examines common business scenarios requiring timed actions and reviews both single‑machine and distributed scheduling solutions, detailing frameworks such as Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, elastic‑job, Saturn and xxl‑job, then provides a side‑by‑side comparison and practical recommendations.

ComparisonElastic-JobJava
0 likes · 14 min read
Comparison of Distributed Task Scheduling Frameworks: Elastic-Job vs X-Job and Others
Code Ape Tech Column
Code Ape Tech Column
Jan 31, 2023 · Backend Development

Applying the Service Locator Pattern to Decouple File Parsers in Java

This article explains how to replace tightly‑coupled if‑else or switch‑case logic for selecting file parsers (JSON, CSV, XML) with a Service Locator Pattern using Spring's ServiceLocatorFactoryBean, demonstrating a clean, extensible solution that follows the Open/Closed principle.

Design PatternJavaService Locator
0 likes · 8 min read
Applying the Service Locator Pattern to Decouple File Parsers in Java
FunTester
FunTester
Jan 29, 2023 · Backend Development

How to Extend Commons‑Pool2 for Custom KeyedObjectPool Idle Management

This article explains why the default Apache Commons‑Pool2 APIs cannot limit idle objects per key, and demonstrates three practical techniques—scheduled cleanup, factory modification, and priority‑based eviction—to enforce per‑key idle limits in a GenericKeyedObjectPool implementation.

GenericKeyedObjectPoolJavabackend
0 likes · 7 min read
How to Extend Commons‑Pool2 for Custom KeyedObjectPool Idle Management
Java High-Performance Architecture
Java High-Performance Architecture
Jan 28, 2023 · Backend Development

Unlock Nginx Mastery: Load Balancing, Caching, SSL, and High‑Availability Explained

This comprehensive guide walks you through Nginx fundamentals, from installing and configuring load balancing, static asset handling, compression, buffering, caching, IP access control, cross‑origin support, anti‑hotlinking, large file handling, SSL setup, high‑availability with Keepalived, and performance tuning techniques for robust backend services.

SSLbackendhigh availability
0 likes · 44 min read
Unlock Nginx Mastery: Load Balancing, Caching, SSL, and High‑Availability Explained
Ubiquitous Tech
Ubiquitous Tech
Jan 28, 2023 · Backend Development

Decoupling Java Business Logic with Spring Event: A Hands‑On Example

Learn how to use Spring's Application Event mechanism to separate main and sub‑processes in Java applications, covering custom event and listener creation, publishing events, abstract base event design, singleton manager, and a real‑world order‑cancellation SMS notification case.

DecouplingDesign PatternJava
0 likes · 10 min read
Decoupling Java Business Logic with Spring Event: A Hands‑On Example
Su San Talks Tech
Su San Talks Tech
Jan 27, 2023 · Backend Development

Mastering Unified Responses and Exception Handling in Spring Boot Controllers

This article walks through building a robust Spring Boot controller layer by standardizing parameter binding, status codes, response wrapping, validation, and exception handling using annotations, enums, ResultVo, ResponseBodyAdvice, and custom exception advice to deliver consistent API responses.

ControllerJavaSpring Boot
0 likes · 20 min read
Mastering Unified Responses and Exception Handling in Spring Boot Controllers
IT Architects Alliance
IT Architects Alliance
Jan 27, 2023 · Backend Development

Comprehensive Guide to Building a Backend Technology Stack for Startup Companies

This article provides a detailed overview of the essential backend technology stack for startups, covering language choices, components, processes, systems, and cloud services, and offers practical recommendations for selecting databases, messaging, monitoring, CI/CD, and deployment tools to build a robust, scalable infrastructure.

DatabaseMonitoringbackend
0 likes · 28 min read
Comprehensive Guide to Building a Backend Technology Stack for Startup Companies
Java High-Performance Architecture
Java High-Performance Architecture
Jan 24, 2023 · Backend Development

How to Build Highly Available Backend APIs: 10 Essential Design Principles

This article explains why high availability is crucial for backend services and outlines ten practical design principles—including dependency control, avoiding single points, load balancing, isolation, rate limiting, circuit breaking, async processing, degradation, gray release, and chaos engineering—to help developers create resilient APIs.

API designbackendfault tolerance
0 likes · 10 min read
How to Build Highly Available Backend APIs: 10 Essential Design Principles
MaGe Linux Operations
MaGe Linux Operations
Jan 24, 2023 · Backend Development

Why RPC Beats HTTP for Enterprise Services: A Deep Dive

This article explains the fundamental differences between RPC and HTTP services, covering OSI layers, RPC architecture, synchronous vs asynchronous calls, popular RPC frameworks, and when to choose each approach for enterprise applications.

DubboRPCThrift
0 likes · 10 min read
Why RPC Beats HTTP for Enterprise Services: A Deep Dive
ITPUB
ITPUB
Jan 23, 2023 · Backend Development

15 Essential Strategies for Designing High‑Concurrency Systems

This article outlines fifteen practical techniques—including horizontal scaling, microservice decomposition, database sharding, connection pooling, caching, CDN, message queues, circuit breaking, rate limiting, and load testing—to help engineers design backend systems that remain reliable and performant under extreme traffic spikes.

System Designbackendscalability
0 likes · 13 min read
15 Essential Strategies for Designing High‑Concurrency Systems
Architecture Digest
Architecture Digest
Jan 20, 2023 · Backend Development

Applying Domain-Driven Design: Concepts, Architecture Evolution, and the Four Bounded Context Layers

This article explains how to start a new project using Domain‑Driven Design, covering terminology, the evolution from SaaS to IaaS, bounded‑context concepts and division rules, the four DDD boundaries, and how clean, hexagonal, and onion architectures realize these principles for scalable backend systems.

Clean ArchitectureDomain-Driven DesignOnion Architecture
0 likes · 9 min read
Applying Domain-Driven Design: Concepts, Architecture Evolution, and the Four Bounded Context Layers
21CTO
21CTO
Jan 19, 2023 · Backend Development

How Baidu Built a Scalable Asset Wallet for 100M+ Users: Architecture & Lessons

This article details the end‑to‑end design and implementation of Baidu App’s personal wallet, covering background, business flow, system architecture, data synchronization, multi‑level caching, read‑write separation, consistency mechanisms, configuration management, and database sharding to achieve high availability for billions of users.

Data synchronizationSystem Architecturebackend
0 likes · 16 min read
How Baidu Built a Scalable Asset Wallet for 100M+ Users: Architecture & Lessons
Java High-Performance Architecture
Java High-Performance Architecture
Jan 18, 2023 · Backend Development

How to Use Spring 6 HTTP Interface for Simple REST Calls

This tutorial demonstrates how to leverage Spring 6’s new HTTP Interface feature to define REST calls as annotated Java interfaces, walks through creating a simple Spring Boot service, shows code for the entity, controller, proxy interface, test method, and explains related annotations and dependencies.

backendhttp-interfacereactive web
0 likes · 7 min read
How to Use Spring 6 HTTP Interface for Simple REST Calls
Selected Java Interview Questions
Selected Java Interview Questions
Jan 18, 2023 · Backend Development

Analyzing and Resolving Circular Dependency Causing SocketTimeoutException in SpringBoot Microservices

The article investigates a SocketTimeoutException caused by a circular dependency between two SpringBoot microservices, explains how the deadlock occurs, demonstrates a reproducible test setup with Eureka, FeignClient and JMeter, and provides a concrete code‑level fix to break the loop.

Circular DependencyFeignClientbackend
0 likes · 8 min read
Analyzing and Resolving Circular Dependency Causing SocketTimeoutException in SpringBoot Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Jan 17, 2023 · Backend Development

Design and Optimization of a High‑Performance Bullet Chat System for Southeast Asian Live Streaming

This article details the design, bandwidth optimization, and reliability strategies of a custom bullet‑chat system for Southeast Asian live streaming, covering background challenges, problem analysis, compression, request throttling, long‑polling versus WebSocket trade‑offs, and a short‑polling solution that successfully supported 700 k concurrent users.

NetworkPerformancebackend
0 likes · 10 min read
Design and Optimization of a High‑Performance Bullet Chat System for Southeast Asian Live Streaming
JD Retail Technology
JD Retail Technology
Jan 16, 2023 · Backend Development

EasyMock Platform Overview and JSF Mock Implementation Techniques

This article introduces the EasyMock platform, explains its role in providing JSF and HTTP mock services for development and testing, outlines its architecture and capabilities, and details the step‑by‑step technical implementation of JSF Mock including jar downloading, JVM class loading, dynamic proxy creation, registration, client invocation, parameter matching, and response deserialization.

ClassLoaderDynamic ProxyJSF
0 likes · 11 min read
EasyMock Platform Overview and JSF Mock Implementation Techniques
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 16, 2023 · Backend Development

Comprehensive Guide to Java Exception Handling

This article explains Java exception handling in depth, covering definitions, classification of errors and exceptions, the key keywords (try, catch, finally, throw, throws), practical code examples for try‑catch, try‑catch‑finally, try‑finally, try‑with‑resources, and a set of best‑practice recommendations for writing robust backend code.

Javabackendbest practices
0 likes · 11 min read
Comprehensive Guide to Java Exception Handling
Top Architect
Top Architect
Jan 15, 2023 · Backend Development

Design and Implementation of a Payment Reconciliation System

This article explains the purpose, architecture, modules, and detailed design steps of a payment reconciliation system, covering internal and channel reconciliation, data acquisition, file parsing, storage, transaction matching, error handling, and settlement processes for robust backend payment operations.

System Designbackendpayment
0 likes · 11 min read
Design and Implementation of a Payment Reconciliation System
Architect's Guide
Architect's Guide
Jan 15, 2023 · Backend Development

Distributed Transactions: Fundamentals, CAP & BASE Theories, and Solution Comparisons

This article explains the basic concepts of transactions, distinguishes local and distributed transactions, introduces the CAP and BASE theories, and compares major distributed‑transaction solutions such as 2PC, XA, Seata, TCC, reliable‑messaging and maximum‑effort notification, highlighting their trade‑offs.

2PCBASE theoryCAP theorem
0 likes · 40 min read
Distributed Transactions: Fundamentals, CAP & BASE Theories, and Solution Comparisons
dbaplus Community
dbaplus Community
Jan 14, 2023 · Backend Development

How to Minimize Data Movement When Scaling Kafka Replicas

This article explores strategies for batch scaling Kafka replicas with minimal data migration, presenting two design ideas, detailed calculations of broker lists, partition counts, start indexes, and replica shifts, and provides step‑by‑step algorithms and code snippets to compute optimal replica assignments for both expansion and contraction scenarios.

AlgorithmKafkaPartition Assignment
0 likes · 15 min read
How to Minimize Data Movement When Scaling Kafka Replicas
Architects Research Society
Architects Research Society
Jan 13, 2023 · Backend Development

Backend for Frontend (BFF) Pattern: Designing Single‑Purpose Edge Services for User Interfaces

The article explains how the Backend for Frontend (BFF) pattern creates dedicated, lightweight server‑side APIs for each UI type—desktop web, mobile, or third‑party—allowing teams to tailor functionality, reduce coupling, aggregate micro‑service calls, and improve autonomy while addressing performance, scaling, and organizational concerns.

API designBFFarchitecture
0 likes · 20 min read
Backend for Frontend (BFF) Pattern: Designing Single‑Purpose Edge Services for User Interfaces
Top Architect
Top Architect
Jan 13, 2023 · Backend Development

Design and Optimization of a High‑Performance Live‑Streaming Danmaku System

This article describes the design, challenges, and optimization strategies of a custom live‑streaming danmaku system for Southeast Asian markets, covering bandwidth constraints, latency issues, long‑polling versus WebSocket approaches, service splitting, caching, and a ring‑buffer implementation that supported 700 k concurrent users during a major sales event.

backenddanmakulive streaming
0 likes · 11 min read
Design and Optimization of a High‑Performance Live‑Streaming Danmaku System
Top Architect
Top Architect
Jan 12, 2023 · Backend Development

Design and Architecture of High‑Concurrency Flash‑Sale (Seckill) Systems

This article presents a comprehensive analysis of flash‑sale (seckill) business characteristics, technical challenges such as traffic spikes, database overload, and order handling, and offers detailed architectural solutions spanning frontend static pages, CDN caching, request throttling, queue‑based processing, optimistic locking, database sharding, high‑availability designs, and anti‑cheat mechanisms to ensure correctness and scalability under extreme concurrency.

System Architecturebackendflash sale
0 likes · 37 min read
Design and Architecture of High‑Concurrency Flash‑Sale (Seckill) Systems
Java Architecture Diary
Java Architecture Diary
Jan 10, 2023 · Backend Development

Master Java 11 HttpClient: Synchronous & Asynchronous Requests Explained

This article introduces Java 11's built-in HttpClient, compares it with legacy HttpURLConnection and third-party libraries, and provides detailed code examples for creating and configuring HttpRequest objects, sending synchronous and asynchronous requests, handling headers, timeouts, bodies, and demonstrates a custom mica-http wrapper for practical use.

AsynchronousHttpClientJava
0 likes · 11 min read
Master Java 11 HttpClient: Synchronous & Asynchronous Requests Explained
High Availability Architecture
High Availability Architecture
Jan 9, 2023 · Frontend Development

Low‑Code Platform Practices at vivo: Frontend‑Backend Separation, High‑Performance Rendering Engine, and Efficient Visual Configuration

This article details vivo's low‑code platform experience, covering a front‑end/back‑end separated low‑code solution, a self‑built high‑performance rendering engine, efficient visual configuration methods, billion‑scale content delivery, and how low‑code coexists with traditional development to boost productivity and scalability.

Rendering Enginebackendhigh-concurrency
0 likes · 16 min read
Low‑Code Platform Practices at vivo: Frontend‑Backend Separation, High‑Performance Rendering Engine, and Efficient Visual Configuration
Java Architect Essentials
Java Architect Essentials
Jan 8, 2023 · Backend Development

Implementing Instant, Chunked, and Resumable File Uploads in Java

The article explains how to improve large file upload experiences by using instant (MD5‑based) upload, chunked upload, and resumable upload techniques, and provides complete Java backend implementations with Redis tracking, RandomAccessFile and MappedByteBuffer, plus practical deployment recommendations.

Chunked UploadRedisResumable Upload
0 likes · 12 min read
Implementing Instant, Chunked, and Resumable File Uploads in Java
Java High-Performance Architecture
Java High-Performance Architecture
Jan 8, 2023 · Backend Development

Building a Million‑User Live‑Stream Danmaku System with Short‑Polling

To support Southeast Asian live streaming with up to a million concurrent users per room, we replaced Tencent Cloud’s inadequate danmaku service with a custom solution that optimizes bandwidth via HTTP compression, response simplification, ordering, frequency control, and a short‑polling delivery mechanism, while ensuring reliability through service splitting, caching, and lock‑free ring buffers.

backenddanmakulive streaming
0 likes · 12 min read
Building a Million‑User Live‑Stream Danmaku System with Short‑Polling
Top Architect
Top Architect
Jan 7, 2023 · Backend Development

Principles and Practices of Code Review and Software Architecture

The article shares a senior architect's insights on why engineers and leaders must perform code reviews, how to avoid common pitfalls such as duplicated code, premature optimization, over‑encapsulation, and lack of design, and provides concrete best‑practice guidelines and Go code examples to improve software quality.

backendbest practicescode review
0 likes · 42 min read
Principles and Practices of Code Review and Software Architecture
Top Architect
Top Architect
Jan 6, 2023 · Backend Development

Janus Gateway: Architecture, Routing Rules, and Performance at Baidu

The article explains Baidu's Janus gateway—its motivations, three‑level routing design, variable and condition expression language, plugin implementations for disaster recovery and caching, and performance benchmarks—showing how it supports millions of QPS while remaining flexible and efficient.

Expression Languagebackendgateway
0 likes · 11 min read
Janus Gateway: Architecture, Routing Rules, and Performance at Baidu
DeWu Technology
DeWu Technology
Jan 4, 2023 · Backend Development

Diagnosing and Resolving Go Memory Leak with pprof and Prometheus

The article explains how a sudden Go service memory‑usage alert was traced with go tool pprof to a massive allocation in the quantile.newStream function, uncovered a Prometheus metric‑label explosion caused by the START_POINT label, and resolved the leak by disabling that label, while also reviewing typical Go memory‑leak patterns.

GoPrometheusbackend
0 likes · 15 min read
Diagnosing and Resolving Go Memory Leak with pprof and Prometheus
Architecture Digest
Architecture Digest
Jan 4, 2023 · Databases

YouTube Backend Architecture: Databases, Scaling, and Vitess

This article examines YouTube’s massive backend infrastructure, detailing how the platform stores billions of videos using MySQL, Vitess for horizontal scaling, sharding, replication, disaster management, cloud‑native deployment on Kubernetes, and the supporting storage systems such as GFS and BigTable.

VitessYouTubebackend
0 likes · 13 min read
YouTube Backend Architecture: Databases, Scaling, and Vitess
Code Ape Tech Column
Code Ape Tech Column
Jan 4, 2023 · Backend Development

Elegant Methods for Passing Data Between Parent and Child Threads in Spring Boot

This article explains four techniques—including manual setting, TaskDecorator, InheritableThreadLocal, and TransmittableThreadLocal—to reliably transfer user context and other thread‑local data from parent to child threads in Spring Boot asynchronous execution, with complete code samples and best‑practice recommendations.

AsynchronousJavaSpring Boot
0 likes · 13 min read
Elegant Methods for Passing Data Between Parent and Child Threads in Spring Boot
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 3, 2023 · Backend Development

Understanding Java Reflection: Principles, Usage, and Code Examples

This article explains Java's reflection mechanism, its underlying principles involving the Class object, how to obtain Class instances, provides code examples, outlines common use cases such as dynamic loading, frameworks, and middleware, and concludes with a promotional note for an architecture learning collection.

ClassLoaderDynamicProxyFrameworks
0 likes · 6 min read
Understanding Java Reflection: Principles, Usage, and Code Examples
HomeTech
HomeTech
Dec 29, 2022 · Backend Development

Applying Domain-Driven Design to a Telephone Robot Project: Challenges, Implementation Steps, and Team Benefits

This article describes how a data‑architecture team tackled the complexity of a large‑scale telephone‑robot system by adopting Domain‑Driven Design, detailing the challenges faced, the reasons for choosing DDD, the concrete rollout steps, and the resulting improvements in architecture, communication, documentation, and code quality.

DDDDomain-Driven DesignTeam Process
0 likes · 18 min read
Applying Domain-Driven Design to a Telephone Robot Project: Challenges, Implementation Steps, and Team Benefits
Selected Java Interview Questions
Selected Java Interview Questions
Dec 29, 2022 · Backend Development

Optimizing Large‑Scale Data Retrieval with ClickHouse, Elasticsearch Scroll Scan, ES+HBase, and RediSearch+RedisJSON

This article examines a business requirement to filter up to 100 000 records from a pool of tens of millions, presenting and evaluating four backend solutions—multithreaded ClickHouse pagination, Elasticsearch scroll‑scan, an ES‑HBase hybrid, and RediSearch + RedisJSON—along with performance data and implementation details.

ClickHouseData RetrievalHBase
0 likes · 11 min read
Optimizing Large‑Scale Data Retrieval with ClickHouse, Elasticsearch Scroll Scan, ES+HBase, and RediSearch+RedisJSON
Architecture & Thinking
Architecture & Thinking
Dec 28, 2022 · Backend Development

Ensuring Idempotency in Message Queues: Strategies for Reliable Messaging

This article explains the concept of idempotency, illustrates why repeated operations must yield identical results, and details how RocketMQ’s components—NameServer, Broker, Producer, and Consumer—can be designed with unique message IDs and acknowledgment mechanisms to achieve reliable, duplicate‑free messaging in backend systems.

Message QueueRocketMQbackend
0 likes · 10 min read
Ensuring Idempotency in Message Queues: Strategies for Reliable Messaging