Tagged articles

backend

5000 articles · Page 27 of 50
Java Architect Essentials
Java Architect Essentials
Sep 30, 2023 · Backend Development

Optimizing Apache HttpClient for High Concurrency: Pooling, Keep‑Alive, and Configuration

This article explains how to dramatically improve the performance of a high‑traffic Java service by reusing a singleton HttpClient, enabling connection pooling and keep‑alive, tuning timeout and retry settings, and adding an idle‑connection monitor to reduce average request latency from 250 ms to about 80 ms.

ConnectionPoolingHttpClientJava
0 likes · 13 min read
Optimizing Apache HttpClient for High Concurrency: Pooling, Keep‑Alive, and Configuration
政采云技术
政采云技术
Sep 28, 2023 · Backend Development

Common Scenarios Where Spring @Transactional Fails and How to Avoid Them

This article explains the fundamentals of database transactions, introduces Spring's @Transactional annotation, and enumerates nine typical situations—such as incorrect method visibility, final methods, self‑invocation, unmanaged beans, multithreading, wrong propagation, swallowed exceptions, unsupported exception types, and non‑transactional storage engines—where transactions may not work as expected, offering guidance to prevent these pitfalls.

AOPJavaTransactional
0 likes · 13 min read
Common Scenarios Where Spring @Transactional Fails and How to Avoid Them
Top Architect
Top Architect
Sep 27, 2023 · Backend Development

Understanding Finite State Machines and Implementing Spring Statemachine in Java

This article explains the fundamentals of finite state machines, illustrates their concepts and diagramming, and provides a comprehensive guide on using Spring Statemachine in Java—including schema design, configuration, event handling, persistence strategies, testing, and common pitfalls with solutions.

JavaPersistenceWorkflow
0 likes · 28 min read
Understanding Finite State Machines and Implementing Spring Statemachine in Java
php Courses
php Courses
Sep 27, 2023 · Backend Development

Building a Simple Online Recruitment System with PHP

This article explains how to design and implement a basic online recruitment platform using PHP, covering requirement analysis, system architecture, database schema, front‑end layout, back‑end logic, and provides a complete code example for user registration, illustrating the core functionalities of such a system.

DatabasePHPRecruitment System
0 likes · 5 min read
Building a Simple Online Recruitment System with PHP
HomeTech
HomeTech
Sep 27, 2023 · Backend Development

Design and Evolution of a High‑Availability SMS Platform at AutoHome

This article details the architectural evolution, high‑availability strategies, fault‑monitoring mechanisms, and performance optimizations of AutoHome's enterprise SMS platform, covering its migration from .Net to Java, service decomposition with Kafka, multi‑datacenter deployment, and operational safeguards for large‑scale events.

Distributed ArchitectureKafkaTiDB
0 likes · 9 min read
Design and Evolution of a High‑Availability SMS Platform at AutoHome
Architect
Architect
Sep 26, 2023 · Backend Development

Comprehensive Guide to Spring MVC Annotations and Related Spring Annotations

This article provides a detailed overview of Spring MVC and Spring Boot annotations such as @RequestMapping, @GetMapping, @PostMapping, @RequestBody, @ControllerAdvice, @Component, @Bean, @Scope, @Autowired, and others, explaining their purposes, attributes, usage patterns, and offering practical code examples for each.

JavaSpring Bootannotations
0 likes · 15 min read
Comprehensive Guide to Spring MVC Annotations and Related Spring Annotations
Architecture Digest
Architecture Digest
Sep 26, 2023 · Backend Development

Comparative Implementation of a Student Score Statistics Query Using Fluent Mybatis, Native Mybatis, and Mybatis Plus

This article demonstrates how to implement a statistical query on a student_score table—calculating count, min, max, and average scores per term and subject—using Fluent Mybatis, native Mybatis, and Mybatis‑Plus, compares their code complexity, and provides code generation settings for each framework.

Fluent-MyBatisJavaORM
0 likes · 9 min read
Comparative Implementation of a Student Score Statistics Query Using Fluent Mybatis, Native Mybatis, and Mybatis Plus
Wukong Talks Architecture
Wukong Talks Architecture
Sep 26, 2023 · Backend Development

Implementing Session Affinity with Nginx ip_hash Directive

This article explains how to achieve session affinity using Nginx's ip_hash directive, covering the concept, configuration syntax, practical examples, common pitfalls, and test results for handling client IP‑based load balancing across backend servers.

IP Hashbackendload-balancing
0 likes · 9 min read
Implementing Session Affinity with Nginx ip_hash Directive
Top Architect
Top Architect
Sep 25, 2023 · Backend Development

Idempotency in Backend Development: Concepts, Importance, and Implementation Strategies

The article explains the concept of idempotency, its significance in preventing duplicate operations such as double payments, and outlines various backend techniques—including MVCC, deduplication tables, token mechanisms, and distributed locks—to ensure consistent system behavior across retries and network failures.

APIbackenddistributed-systems
0 likes · 13 min read
Idempotency in Backend Development: Concepts, Importance, and Implementation Strategies
php Courses
php Courses
Sep 25, 2023 · Backend Development

Implementing Data Merging with PHP Backend and Vue Frontend

This article demonstrates how to implement a data merging feature by creating MySQL tables, building a PHP API that retrieves and combines records from two tables, and developing a Vue.js front‑end that fetches and displays the merged data, complete with full code examples.

APIMySQLPHP
0 likes · 5 min read
Implementing Data Merging with PHP Backend and Vue Frontend
Architect
Architect
Sep 24, 2023 · Backend Development

Mastering Unified Exception Handling in Spring Boot: Clean Code with Assertions

This article explains how to replace repetitive try‑catch blocks with a unified exception handling framework in Spring Boot, using @ControllerAdvice, custom Assert utilities, and enum‑based error codes, while showing concrete code examples, configuration steps, and runtime results.

EnumJavaSpring Boot
0 likes · 24 min read
Mastering Unified Exception Handling in Spring Boot: Clean Code with Assertions
php Courses
php Courses
Sep 23, 2023 · Backend Development

Applying SOLID Principles in PHP for Maintainable Code

This article explains how to use the SOLID design principles—SRP, OCP, LSP, ISP, and DIP—in PHP, providing clear bad and good code examples for each principle to help developers write more reliable, extensible, and maintainable backend applications.

Design PrinciplesPHPSOLID
0 likes · 8 min read
Applying SOLID Principles in PHP for Maintainable Code
macrozheng
macrozheng
Sep 23, 2023 · Frontend Development

Top Free Website Builders to Launch Your Site in Minutes

This guide introduces a curated list of ready-to-use website generators—including Mall, WordPress, Docsify, Dumi, Img Cook, Ant Design Landing, Tencent Rabbit Nest, Baidu Analytics, One Nav, Discuz, and popular admin templates—showcasing their key features, deployment methods, and how they enable rapid site creation without deep coding.

WordPressbackendfrontend
0 likes · 10 min read
Top Free Website Builders to Launch Your Site in Minutes
Test Development Learning Exchange
Test Development Learning Exchange
Sep 23, 2023 · Backend Development

Using ConfigObj to Read, Write, and Manage INI Files in Python

This article introduces Python's ConfigObj library for parsing INI files, demonstrating how to read configuration values, write new settings, update existing entries, handle multiple files, and dynamically generate sections and options, with five practical code examples for interface automation tasks.

AutomationConfigurationbackend
0 likes · 4 min read
Using ConfigObj to Read, Write, and Manage INI Files in Python
php Courses
php Courses
Sep 21, 2023 · Backend Development

Top PHP Frameworks to Use in 2023

This article reviews the leading PHP frameworks expected to thrive in 2023, including Laravel, Symfony, CodeIgniter, Laminas, Yii, Phalcon, CakePHP, Slim, and others, helping developers choose the most suitable backend solution based on project size, performance needs, and team expertise.

2023FrameworksPHP
0 likes · 5 min read
Top PHP Frameworks to Use in 2023
High Availability Architecture
High Availability Architecture
Sep 21, 2023 · Backend Development

Content Ingestion System Refactoring: From Microservices to a High‑Performance Monolithic Plugin Architecture

The article details the comprehensive redesign of QQ Browser's content ingestion platform, highlighting the shortcomings of the legacy micro‑service architecture, the migration to a single‑process monolithic design with a plugin framework, fault‑tolerant Kafka integration, thread separation, memory‑allocator improvements, and the resulting dramatic gains in throughput, latency, CPU utilization, and development efficiency.

Plugin Architecturebackend
0 likes · 19 min read
Content Ingestion System Refactoring: From Microservices to a High‑Performance Monolithic Plugin Architecture
Java Architect Essentials
Java Architect Essentials
Sep 20, 2023 · Backend Development

Creating a Simple Demo with Spring 6 HTTP Interface

This article introduces Spring 6's new HTTP Interface feature, walks through building a Spring Boot demo with a User entity, a controller, an HTTP Interface annotated with @GetExchange, and a test using WebClient and HttpServiceProxyFactory, and explains related annotations and reactive dependencies.

JavaWebClientbackend
0 likes · 7 min read
Creating a Simple Demo with Spring 6 HTTP Interface
Java High-Performance Architecture
Java High-Performance Architecture
Sep 20, 2023 · Backend Development

How to Build a High‑Performance Flash‑Sale System: Architecture & Code

This article explores the challenges of designing a flash‑sale (秒杀) system—such as overselling, high concurrency, URL protection, and database bottlenecks—and presents a comprehensive backend architecture using Redis clustering, dynamic URLs, static pages, Nginx, rate‑limiting, asynchronous order processing, and service degradation strategies, complete with code examples.

System Designbackendflash sale
0 likes · 14 min read
How to Build a High‑Performance Flash‑Sale System: Architecture & Code
php Courses
php Courses
Sep 19, 2023 · Artificial Intelligence

Integrating Midjourney AI Painting API with PHP: A Step-by-Step Guide

This tutorial explains how to use PHP to connect to Midjourney's AI painting API, covering preparation, request construction, cURL transmission, response handling, and a complete example that enables developers to generate and manage AI‑created artwork.

AI paintingAPI IntegrationArtificial Intelligence
0 likes · 6 min read
Integrating Midjourney AI Painting API with PHP: A Step-by-Step Guide
Top Architect
Top Architect
Sep 18, 2023 · Backend Development

Evolution of Backend Architecture: N‑Layered, DDD, Hexagonal, Onion and Clean Architecture

The article traces the historical development of backend architectural styles—from early N‑layered designs through Domain‑Driven Design, Hexagonal (Ports and Adapters), Onion, and finally Clean Architecture—explaining their motivations, key principles, layer responsibilities, and practical trade‑offs for modern developers.

HexagonalN‑layeredOnion
0 likes · 18 min read
Evolution of Backend Architecture: N‑Layered, DDD, Hexagonal, Onion and Clean Architecture
JD Cloud Developers
JD Cloud Developers
Sep 18, 2023 · Backend Development

Mastering Rust gRPC Streaming with Tonic: Build Server & Client

This guide walks through creating a Rust project that uses the Tonic library to implement gRPC streaming, covering project setup, protobuf definitions, server and client code, testing with grpcurl, and enabling the reflection API for service introspection.

RustStreamingasync
0 likes · 15 min read
Mastering Rust gRPC Streaming with Tonic: Build Server & Client
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2023 · Backend Development

Understanding Tomcat’s Startup Process: From Bootstrap to Lifecycle

This article explains how Tomcat starts by running the startup script, invoking the BootStrap main method, initializing Catalina, loading configuration, and managing component lifecycles through the Lifecycle interface, while also detailing default implementations, endpoint types, and protocol handlers.

JavaLifecycleServlet
0 likes · 5 min read
Understanding Tomcat’s Startup Process: From Bootstrap to Lifecycle
Architecture Digest
Architecture Digest
Sep 15, 2023 · Backend Development

Unified Exception Handling in Spring Boot Using @ControllerAdvice, Custom Assertions, and Enums

This article explains how to replace repetitive try‑catch blocks in Java Spring applications with a unified exception handling mechanism that leverages @ControllerAdvice, custom Assert utilities, enum‑based error codes, and standardized response objects to improve code readability, maintainability, and internationalization.

EnumExceptionHandlingJava
0 likes · 19 min read
Unified Exception Handling in Spring Boot Using @ControllerAdvice, Custom Assertions, and Enums
php Courses
php Courses
Sep 15, 2023 · Backend Development

Advanced PHP Techniques: Closures, Generators, and Reflection

This article introduces three advanced PHP features—Closures, Generators, and Reflection—explaining their concepts, advantages, and providing detailed code examples that demonstrate how closures enable access to outer scope variables, generators reduce memory usage by yielding data lazily, and reflection allows runtime inspection and modification of classes and methods.

Advanced TechniquesPHPbackend
0 likes · 5 min read
Advanced PHP Techniques: Closures, Generators, and Reflection
Java Captain
Java Captain
Sep 15, 2023 · Backend Development

A Comprehensive Guide to the 50 Most Common Spring Boot Annotations

This article provides an in‑depth overview of the most frequently used Spring Boot annotations, categorizing them into Spring MVC, Spring Data JPA, Spring Security, and other essential annotations, and demonstrates their practical usage with concise examples.

JavaSpring Bootannotations
0 likes · 5 min read
A Comprehensive Guide to the 50 Most Common Spring Boot Annotations
Su San Talks Tech
Su San Talks Tech
Sep 15, 2023 · Backend Development

What Is Microservices? Architecture, Challenges, and Popular Solutions Explained

This article introduces microservices as a lightweight, autonomous architecture, compares it with monolithic and SOA approaches, outlines the complexities it brings, and reviews the most common open‑source solutions, registration and configuration centers, remote‑call mechanisms, resilience patterns, load‑balancing algorithms, tracing, and monitoring tools.

backenddistributed systemsservice discovery
0 likes · 44 min read
What Is Microservices? Architecture, Challenges, and Popular Solutions Explained
Architect
Architect
Sep 14, 2023 · Backend Development

Message Queue Evolution, Architecture, and Storage Analysis

From the early days of ActiveMQ and RabbitMQ to the high‑throughput designs of Kafka, RocketMQ, and Pulsar, this article traces the development stages of message queues, explains core concepts such as topics, producers, consumers, and partitions, and compares their architectural and storage designs.

RocketMQbackendpulsar
0 likes · 16 min read
Message Queue Evolution, Architecture, and Storage Analysis
Architecture Digest
Architecture Digest
Sep 14, 2023 · Backend Development

Integrating Dataway with Spring Boot: A Step‑by‑Step Guide

This guide explains how to embed Dataway—a DataQL‑based API configuration tool—into a Spring Boot application, covering dependency setup, property configuration, datasource integration, Hasor module wiring, enabling Hasor, launching the app, accessing the UI, creating and publishing APIs using SQL or DataQL, and verifying the results.

API ConfigurationDataQLDataway
0 likes · 12 min read
Integrating Dataway with Spring Boot: A Step‑by‑Step Guide
JD Tech
JD Tech
Sep 14, 2023 · Mobile Development

Switchquery: A High‑Performance Mobile Configuration Platform with Second‑Level Real‑Time Delivery

This article introduces Switchquery, a high‑performance mobile configuration platform that achieves second‑level real‑time delivery through a novel architecture involving a CMS, unified gateway, header‑based version signaling, and SDKs for Android and iOS, and demonstrates its optimization, multi‑app support, and successful large‑scale deployment in major promotional events.

ConfigurationPerformanceSDK
0 likes · 19 min read
Switchquery: A High‑Performance Mobile Configuration Platform with Second‑Level Real‑Time Delivery
Ctrip Technology
Ctrip Technology
Sep 14, 2023 · Backend Development

Trip.com Train Ticket Globalization Architecture Evolution and Practices

This article presents a comprehensive case study of Trip.com’s train ticket service global expansion, detailing the business background, challenges such as multi‑region deployment, performance, data compliance and scalability, and the step‑by‑step architectural evolution across region selection, network, data, infrastructure, and business layers to achieve a resilient, low‑latency, and compliant worldwide service.

Performance Optimizationbackenddata compliance
0 likes · 17 min read
Trip.com Train Ticket Globalization Architecture Evolution and Practices
macrozheng
macrozheng
Sep 14, 2023 · Information Security

How to Secure API Endpoints: Prevent Tampering and Replay Attacks with SpringBoot

This article explains why public APIs need protection, outlines anti‑tampering and anti‑replay strategies using timestamps and nonces, and provides complete SpringBoot code—including request signing, filter implementation, and Redis utilities—to safeguard API calls from manipulation and replay attacks.

API securityAnti-replayRedis
0 likes · 15 min read
How to Secure API Endpoints: Prevent Tampering and Replay Attacks with SpringBoot
Sohu Tech Products
Sohu Tech Products
Sep 13, 2023 · Backend Development

Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs

This article explains why using Redis List for a message queue is limited, introduces Redis Stream as a purpose‑built MQ with consumer groups, ACKs, and persistence, and dives into its internal Radix‑Tree and listpack structures, command usage, and memory‑saving techniques.

ListpackMessage QueueRadix Tree
0 likes · 14 min read
Unlocking Redis Streams: How Radix Tree & Listpack Power Modern MQs
dbaplus Community
dbaplus Community
Sep 13, 2023 · Backend Development

How We Boosted Content Ingestion Performance 13× by Redesigning a Microservice System

This article details the complete redesign of a large‑scale content ingestion platform, explaining why the original microservice‑heavy architecture suffered from low development efficiency and poor performance, how a monolithic‑plus‑plugin approach solved these issues, and the resulting 13‑fold speedup, 10‑fold batch improvement, and 70% latency reduction.

C++Plugin Architecturebackend
0 likes · 20 min read
How We Boosted Content Ingestion Performance 13× by Redesigning a Microservice System
Senior Tony
Senior Tony
Sep 12, 2023 · Backend Development

What Really Powers High‑Concurrency Systems? Practical Solutions Explained

This article breaks down real‑world high‑concurrency strategies—horizontal scaling, caching, Elasticsearch, sharding, message‑queue smoothing, and cellization—explaining when each applies, their trade‑offs, and practical tips for building scalable, reliable backend services.

Message QueueScalingSystem Design
0 likes · 9 min read
What Really Powers High‑Concurrency Systems? Practical Solutions Explained
Architect's Guide
Architect's Guide
Sep 12, 2023 · Backend Development

Using Java 8 Optional API to Eliminate NullPointerException

This article explains how Java 8's Optional class and its methods—of, ofNullable, empty, orElse, orElseGet, orElseThrow, map, flatMap, isPresent, ifPresent, and filter—can replace verbose null‑checks, making code more concise and safer while providing concrete examples and source code.

APIFunctional ProgrammingJava
0 likes · 10 min read
Using Java 8 Optional API to Eliminate NullPointerException
JD Retail Technology
JD Retail Technology
Sep 11, 2023 · Backend Development

Diagnosing and Resolving a Java Application Memory Leak During Load Testing

During a load test of a Java 1.6 application on a CentOS server, memory usage climbed from 20% to 100% after an hour of 300‑concurrent requests, prompting a detailed investigation that identified off‑heap leaks caused by GZIP compression in a JimDB client and led to fixes such as upgrading the JDK and avoiding unnecessary compression.

Google PerftoolsJDKJava
0 likes · 7 min read
Diagnosing and Resolving a Java Application Memory Leak During Load Testing
FunTester
FunTester
Sep 10, 2023 · Backend Development

Mastering Java ShutdownHook: Clean Up Resources and Track Tasks Gracefully

This article demonstrates practical ways to leverage Java's ShutdownHook API for task statistics, connection cleanup, handling JVM abnormal exits, and persisting state during performance testing, providing code examples, pitfalls of daemon threads, and strategies for reliable resource management in backend applications.

JVMJavaShutdownHook
0 likes · 8 min read
Mastering Java ShutdownHook: Clean Up Resources and Track Tasks Gracefully
IT Services Circle
IT Services Circle
Sep 8, 2023 · Backend Development

Implementing Server-Sent Events (SSE) with NestJS and React

This article explains how to use HTTP Server-Sent Events (SSE) as an alternative to WebSocket for one‑way data push, demonstrating a NestJS backend implementation with @Sse decorator and Observable streams, and a React frontend using EventSource to receive real‑time JSON messages, including handling logs and binary data.

EventSourceNestJSReAct
0 likes · 7 min read
Implementing Server-Sent Events (SSE) with NestJS and React
Ximalaya Technology Team
Ximalaya Technology Team
Sep 8, 2023 · Backend Development

Cache Selection and Usage Guidelines for Ximalaya Services

Ximalaya’s cache guidelines define four Redis‑based types (master‑slave, Codis‑Redis, Cloud Database Redis, XCache) with cache or store modes, prescribe using Cloud Redis for clusters and XCache for large KV, enforce short readable keys, TTLs, limited batch sizes, safe commands, isolated clusters, and compression to ensure stability and performance.

Key Designbackendcache best practices
0 likes · 9 min read
Cache Selection and Usage Guidelines for Ximalaya Services
php Courses
php Courses
Sep 7, 2023 · Backend Development

PHP strtolower() Function: Syntax, Parameters, Return Value, Examples, and Usage Tips

The article explains PHP's strtolower() function, detailing its syntax, parameters, return value, and providing multiple code examples—including full string conversion, partial conversion, word-level manipulation, and multibyte handling—while also noting important considerations for case sensitivity and non‑alphabetic characters.

PHPString Functionsbackend
0 likes · 5 min read
PHP strtolower() Function: Syntax, Parameters, Return Value, Examples, and Usage Tips
dbaplus Community
dbaplus Community
Sep 6, 2023 · Backend Development

How to Scale a Schema‑Free Classification Platform to 100 Billion Records

This article explains how to design a classification‑information system that handles 100 billion rows, ten‑thousand dynamic attributes, and hundreds of thousands of QPS by using vertical partitioning, unified metadata services, and an external search layer for scalable storage and retrieval.

backenddatabasesmetadata
0 likes · 12 min read
How to Scale a Schema‑Free Classification Platform to 100 Billion Records
Selected Java Interview Questions
Selected Java Interview Questions
Sep 6, 2023 · Backend Development

Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling

This article introduces Spring Cloud Gateway as a unified entry for microservices, explains its core functions, advantages over Zuul, Maven dependencies, YAML routing configuration, detailed route components, filter types with code examples, custom global filters, execution order, and CORS solutions for backend development.

CORSFiltersRouting
0 likes · 14 min read
Spring Cloud Gateway: Concepts, Configuration, Routing, Filters, and CORS Handling
php Courses
php Courses
Sep 6, 2023 · Backend Development

Implementing a Web Crawler with PHP and Goutte

This tutorial explains how to set up the PHP environment, install the Goutte library, and use it to fetch page content, extract hyperlinks, and submit forms, providing complete code examples for building a functional web crawler.

AutomationCrawlerGoutte
0 likes · 5 min read
Implementing a Web Crawler with PHP and Goutte
21CTO
21CTO
Sep 5, 2023 · Frontend Development

Is WebAssembly the Future of Computing? Benefits, Limits, and What to Expect

This article examines WebAssembly’s evolution from a browser‑based binary format to a potential universal runtime, discusses its performance advantages, current limitations, and the impact of initiatives like WASI and Cloud‑Native integration, while questioning whether it will truly become the future of computing.

PerformanceWASIWebAssembly
0 likes · 7 min read
Is WebAssembly the Future of Computing? Benefits, Limits, and What to Expect
Continuous Delivery 2.0
Continuous Delivery 2.0
Sep 5, 2023 · Backend Development

Google’s Approach to Solving Backend Automated Testing Challenges in a Microservice Architecture

The article recounts how Google’s test engineers tackled the difficulty of writing stable, maintainable automated tests for legacy microservice systems by iterating through three solution attempts and ultimately adopting a split‑test model that uses RPC stubs and mocks, dramatically improving test speed, reliability, and developer productivity.

Integrationbackendtest infrastructure
0 likes · 7 min read
Google’s Approach to Solving Backend Automated Testing Challenges in a Microservice Architecture
JD Retail Technology
JD Retail Technology
Sep 1, 2023 · Backend Development

Root Cause Analysis and Resolution of Disk Usage Alert in a Java Application

After a Java system went live, a disk usage alert exceeding 90% prompted an investigation that uncovered a third‑party jar’s debug‑level Log4j configuration writing large logs to the root directory, and the issue was resolved by excluding the offending jar via Maven, highlighting the need for careful dependency management.

JavaMavenbackend
0 likes · 4 min read
Root Cause Analysis and Resolution of Disk Usage Alert in a Java Application
Architecture Digest
Architecture Digest
Sep 1, 2023 · Backend Development

Replacing if‑else with Strategy Pattern and Map‑Based Functional Interfaces in a Java Coupon Service

The article demonstrates how to refactor a Java coupon‑distribution service by first applying the Strategy design pattern and then using a Map of lambda expressions to replace bulky if‑else or switch statements, improving maintainability and readability while discussing their respective trade‑offs.

Design PatternsFunctional InterfaceJava
0 likes · 7 min read
Replacing if‑else with Strategy Pattern and Map‑Based Functional Interfaces in a Java Coupon Service
Sanyou's Java Diary
Sanyou's Java Diary
Aug 31, 2023 · Backend Development

How a Monolith Redesign Boosted Content Ingestion Performance 13‑Fold

The article details how QQ Browser's content architecture was transformed from a fragmented micro‑service system into a single monolithic service with a plugin framework, dramatically improving processing speed, fault tolerance, and development efficiency while handling thousands of content types.

C++Plugin Architecturebackend
0 likes · 20 min read
How a Monolith Redesign Boosted Content Ingestion Performance 13‑Fold
JD Retail Technology
JD Retail Technology
Aug 31, 2023 · Backend Development

Using ChatGPT to Build a Simple Java Enum Mapping Framework

This article demonstrates how Java developers can leverage ChatGPT to design and iteratively refine a lightweight backend framework that automatically scans annotated enums and generates key‑description maps for front‑end consumption, complete with code examples, performance testing, and deployment guidance.

AnnotationChatGPTEnum
0 likes · 9 min read
Using ChatGPT to Build a Simple Java Enum Mapping Framework
政采云技术
政采云技术
Aug 31, 2023 · Backend Development

Understanding Java ThreadLocal: Principles, Implementation, and Best Practices

ThreadLocal provides each Java thread with its own isolated variable copy, and this article explains its underlying mechanism, core methods (set, get, remove), internal ThreadLocalMap structure, practical code examples, common usage scenarios, and important considerations such as memory leaks and proper cleanup.

JavaMemoryLeakThreadLocal
0 likes · 12 min read
Understanding Java ThreadLocal: Principles, Implementation, and Best Practices
Top Architecture Tech Stack
Top Architecture Tech Stack
Aug 31, 2023 · Information Security

Design of QR Code Login Functionality

This article explains the three-stage design of a QR code login system—including pending scan, scanned‑pending‑confirmation, and confirmed phases—detailing how unique QR IDs, token exchange, and user confirmation ensure secure authentication across PC and mobile devices.

AuthenticationDesignQR code
0 likes · 5 min read
Design of QR Code Login Functionality
Code Ape Tech Column
Code Ape Tech Column
Aug 31, 2023 · Backend Development

Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot

This article explains how to implement a user sign‑in feature and its statistical analysis using Redis BitMap within a Spring Boot backend, covering basic BitMap commands, integration steps, core source code, continuous sign‑in calculation, and a bitmap‑based solution for cache penetration.

BitMapCache PenetrationSpring Boot
0 likes · 11 min read
Implementing Sign‑in and Statistics with Redis BitMap in Spring Boot
Baidu Geek Talk
Baidu Geek Talk
Aug 30, 2023 · Industry Insights

Midgard: Adaptive Storage Management for Search – From Simple Tables to Intelligent Layers

This article examines how Baidu's search service evolved its storage architecture—from a basic key‑value table to a hybrid HDD/Redis cache and finally to a sharded, multi‑collection design—culminating in Midgard, an intelligent storage‑layer manager that abstracts and optimizes data access for changing business needs.

Midgardarchitecturebackend
0 likes · 11 min read
Midgard: Adaptive Storage Management for Search – From Simple Tables to Intelligent Layers
Senior Tony
Senior Tony
Aug 30, 2023 · Backend Development

How to Prevent Duplicate Order Submissions in High‑Traffic E‑Commerce Systems

The article examines why duplicate order submissions occur in e‑commerce, outlines four practical solutions—including button disabling, pre‑generated UUIDs, client‑side ID generation, and Redis‑based idempotency—compares their pros and cons, and explains why a Redis key approach was ultimately chosen for production.

E‑commercebackendduplicate-submission
0 likes · 7 min read
How to Prevent Duplicate Order Submissions in High‑Traffic E‑Commerce Systems
php Courses
php Courses
Aug 30, 2023 · Backend Development

Understanding PHP explode() Function: Syntax, Examples, and Use Cases

This article explains PHP's explode() function, detailing its syntax, parameters, and optional limit, and provides multiple code examples demonstrating string-to-array splitting with various delimiters and extracting URL components, helping developers effectively manipulate strings in backend applications.

PHPbackendexplode
0 likes · 4 min read
Understanding PHP explode() Function: Syntax, Examples, and Use Cases
Java Interview Crash Guide
Java Interview Crash Guide
Aug 30, 2023 · Backend Development

How Spring Implements Classic Design Patterns: Factory, Singleton, and More

This article explains how Spring applies classic design patterns such as Simple Factory, Factory Method, Singleton, Adapter, Decorator, Proxy, Observer, Strategy, and Template Method, illustrating each pattern with implementation details, core code snippets, and their significance for loose coupling and extensibility in backend development.

adapterbackendfactory
0 likes · 15 min read
How Spring Implements Classic Design Patterns: Factory, Singleton, and More
Architecture Digest
Architecture Digest
Aug 29, 2023 · Backend Development

Understanding POJO Types (VO, BO, PO, DTO, DO) and Using the Simple Object Copy Plugin for Java Object Mapping

This article explains the different POJO classifications such as VO, BO, PO, DTO and DO, describes their typical usage scenarios in layered Java applications, and demonstrates how the Simple Object Copy IntelliJ plugin can automatically generate conversion code, comparing it with other mapping tools.

DTOJavaObject Mapping
0 likes · 8 min read
Understanding POJO Types (VO, BO, PO, DTO, DO) and Using the Simple Object Copy Plugin for Java Object Mapping
Top Architect
Top Architect
Aug 28, 2023 · Backend Development

Pingora: Cloudflare’s High‑Performance Rust‑Based Reverse Proxy

Cloudflare replaced NGINX with Pingora, a Rust‑written reverse‑proxy service that processes over a trillion requests daily, offering higher throughput, better connection reuse, lower CPU/memory usage, and enhanced security, while also enabling new features such as HTTP/2 upstream and seamless integration with Cloudflare’s product suite.

CloudflareRustbackend
0 likes · 14 min read
Pingora: Cloudflare’s High‑Performance Rust‑Based Reverse Proxy
php Courses
php Courses
Aug 28, 2023 · Backend Development

Using PHP and Vue for Mind Map Application Development

This article examines how PHP and Vue are applied in developing mind‑map applications, covering backend data storage, API creation, and frontend component design with code examples for each technology.

PHPbackendmind map
0 likes · 5 min read
Using PHP and Vue for Mind Map Application Development
Ximalaya Technology Team
Ximalaya Technology Team
Aug 28, 2023 · Backend Development

Mastering Spring Events: Definition, Benefits, Usage, and Deep Source‑Code Walkthrough

Spring Event provides a decoupled, extensible mechanism for publishing and handling application events in Spring, covering its definition, benefits, drawbacks, practical usage with code examples, core internal classes, reserved events, asynchronous processing options, and detailed source‑code analysis of the event multicaster and listener registration.

ApplicationContextAsynchronousEvent
0 likes · 20 min read
Mastering Spring Events: Definition, Benefits, Usage, and Deep Source‑Code Walkthrough
Code Ape Tech Column
Code Ape Tech Column
Aug 28, 2023 · Backend Development

Understanding and Solving Redis Hot Key Problems

This article explains what Redis hot keys are, how they cause load imbalance in clustered environments, and presents multiple detection techniques and practical mitigation strategies such as rate limiting, second‑level caching, key sharding, and configuration‑center approaches.

CacheHot KeyLFU
0 likes · 12 min read
Understanding and Solving Redis Hot Key Problems
FunTester
FunTester
Aug 27, 2023 · Backend Development

Implementing a Netty WebSocket Client in Java

This article explains how to replace thread‑heavy WebSocket or Socket.IO clients with a Netty‑based Java WebSocket client, covering Maven dependencies, connection setup, event‑loop management, message sending, and a custom channel handler for high‑concurrency scenarios.

JavaNettyNettyClient
0 likes · 10 min read
Implementing a Netty WebSocket Client in Java
php Courses
php Courses
Aug 26, 2023 · Backend Development

Implementing Data Backup and Recovery with PHP

This tutorial demonstrates how to use PHP to create a backup directory, export MySQL tables to text files, and restore them by reading the files and executing INSERT statements, providing complete code examples for both backup and recovery processes.

Data RecoveryMySQLPHP
0 likes · 5 min read
Implementing Data Backup and Recovery with PHP
Architecture Digest
Architecture Digest
Aug 25, 2023 · Backend Development

Using JetCache for Multi‑Level Caching in Spring Boot Applications

This article introduces Alibaba's JetCache Java caching framework, explains how to combine local and Redis remote caches for multi‑level caching, provides Maven dependencies, configuration examples, three usage patterns (AOP, API, advanced API), testing steps, and common troubleshooting tips for Spring Boot projects.

CacheJavaJetCache
0 likes · 10 min read
Using JetCache for Multi‑Level Caching in Spring Boot Applications
Java Interview Crash Guide
Java Interview Crash Guide
Aug 25, 2023 · Backend Development

Boost SpringBoot API Speed with Asynchronous Methods

This article explains why asynchronous methods improve response speed in SpringBoot, demonstrates how to enable @Async, implement service and controller code, configure custom thread pools, handle exceptions, and retrieve results, showing measurable performance gains through non‑blocking execution.

AsyncJavaSpringBoot
0 likes · 9 min read
Boost SpringBoot API Speed with Asynchronous Methods
Architect
Architect
Aug 24, 2023 · Backend Development

How Vivo’s E‑Commerce Inventory System Scales: Architecture, Challenges, and Solutions

This article details the evolution and design of Vivo’s e‑commerce inventory platform, covering its layered architecture, multiple inventory types, deduction workflows, idempotent APIs, anti‑oversell mechanisms, high‑concurrency strategies, hotspot mitigation, and synchronization techniques, while explaining the reasoning behind each technical choice.

CacheDatabaseE‑commerce
0 likes · 18 min read
How Vivo’s E‑Commerce Inventory System Scales: Architecture, Challenges, and Solutions
Top Architect
Top Architect
Aug 24, 2023 · Backend Development

Understanding Java foreach Loop Limitations and Proper Element Deletion/Modification

This article explains how Java's foreach loop iterates over arrays and collections, demonstrates why removing or reassigning elements within a foreach causes ConcurrentModificationException or has no effect, and shows the correct ways to delete or modify elements using traditional for loops or iterator methods, complete with code examples.

CollectionIteratorJava
0 likes · 10 min read
Understanding Java foreach Loop Limitations and Proper Element Deletion/Modification
Selected Java Interview Questions
Selected Java Interview Questions
Aug 24, 2023 · Backend Development

Implementing Distributed Locks with Redis and Redisson

This article explains how to create Redis‑based distributed locks, discusses common pitfalls such as deadlocks and accidental deletions, and provides practical solutions including atomic expiration commands, Lua scripts, and a complete Redisson Java example for acquiring and releasing locks safely.

JavaRedisRedisson
0 likes · 5 min read
Implementing Distributed Locks with Redis and Redisson
FunTester
FunTester
Aug 24, 2023 · Backend Development

How to Fix Critical Bugs in a Go Goroutine Pool and Boost Scaling Efficiency

This article analyzes several bugs discovered in a Go goroutine pool implementation—incorrect active count, mismatched execution counters, slow scaling during QPS spikes, and inefficient recycling—and presents detailed code fixes and redesigns to achieve accurate metrics and faster, more graceful worker management.

GoPerformancebackend
0 likes · 11 min read
How to Fix Critical Bugs in a Go Goroutine Pool and Boost Scaling Efficiency
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 23, 2023 · Backend Development

Design and Implementation of a Virtual Phone Number Service with XB and AXB Modes

This article explains the concept, practical applications, version evolution, and deployment strategy of a virtual phone number service, detailing XB and AXB binding modes, asynchronous retry mechanisms, concurrency handling, and monitoring to ensure reliable integration with third‑party PSTN providers.

AXB modeRetry MechanismXB mode
0 likes · 13 min read
Design and Implementation of a Virtual Phone Number Service with XB and AXB Modes
php Courses
php Courses
Aug 23, 2023 · Backend Development

Building a Simple Online Quiz System with PHP and MySQL

This tutorial explains how to create a basic online quiz platform by designing a MySQL database, writing PHP code to connect, retrieve, display questions, and process user answers to calculate scores, providing a foundation for further feature expansion.

MySQLOnline QuizPHP
0 likes · 5 min read
Building a Simple Online Quiz System with PHP and MySQL
Liangxu Linux
Liangxu Linux
Aug 22, 2023 · Backend Development

Why Does My First MD5 Call Take Seconds? Debugging Java Hashing Slowness with Arthas

The article explains a real‑world issue where the first invocation of a MD5 hash in a Java backend took dozens of seconds, describes how the problem was traced using the Arthas diagnostic tool, reveals that the delay stemmed from BouncyCastle algorithm loading, and shows how replacing the library resolved the performance bottleneck.

ArthasDebuggingJava
0 likes · 10 min read
Why Does My First MD5 Call Take Seconds? Debugging Java Hashing Slowness with Arthas
Architecture Digest
Architecture Digest
Aug 22, 2023 · Backend Development

Introduction to Spring WebFlux and Reactive Programming

This article introduces Spring WebFlux as a reactive, non‑blocking web framework built on Reactor, explains the concepts of reactive programming, compares it with traditional Spring MVC, and provides practical code examples for building and running a WebFlux application with Spring Boot.

APIJavaWebFlux
0 likes · 8 min read
Introduction to Spring WebFlux and Reactive Programming
JD Retail Technology
JD Retail Technology
Aug 22, 2023 · Operations

Mastering JDK8 GC: Practical Tuning Guide for High‑Performance Applications

This guide summarizes JD.com’s extensive JDK8 garbage‑collector optimization experience, covering version requirements, how to select the right GC, core and collector‑specific parameter settings, logging configuration, and concrete methods to assess GC health for latency‑sensitive and throughput‑oriented workloads.

GC TuningGarbage CollectionJDK
0 likes · 5 min read
Mastering JDK8 GC: Practical Tuning Guide for High‑Performance Applications
Selected Java Interview Questions
Selected Java Interview Questions
Aug 22, 2023 · Backend Development

Optimizing Startup Time of an Old Dubbo Service Using JProfile and Configuration Tweaks

This article details how a legacy Dubbo service built on Spring 3.2.x with many integrated components suffered a ten‑minute startup, and how using JProfile to pinpoint costly reflection checks, disabling unnecessary Spring annotations, and fixing RabbitMQ connection issues reduced the deployment time to under two minutes.

JProfileJavaPerformance Optimization
0 likes · 8 min read
Optimizing Startup Time of an Old Dubbo Service Using JProfile and Configuration Tweaks
Architect
Architect
Aug 21, 2023 · Backend Development

Java Performance Optimization Tips: 34 Best Practices for Faster, Cleaner Code

This article presents 34 practical Java performance optimization guidelines—ranging from proper use of singletons and static variables to avoiding excessive object creation, leveraging final modifiers, preferring primitives, minimizing synchronization, and employing efficient collections—to help developers write faster, more memory‑efficient code.

JavaOptimizationbackend
0 likes · 18 min read
Java Performance Optimization Tips: 34 Best Practices for Faster, Cleaner Code