Tagged articles

backend

5000 articles · Page 26 of 50
DevOps
DevOps
Nov 14, 2023 · Backend Development

Backend Development Growth Roadmap

This article presents a comprehensive, four‑stage roadmap for backend developers, covering foundational Go knowledge, engineering best practices, advanced system architecture, and expert‑level soft skills, offering practical guidance for career growth and technical mastery.

DevOpsRoadmapSystem Design
0 likes · 21 min read
Backend Development Growth Roadmap
Bilibili Tech
Bilibili Tech
Nov 14, 2023 · Backend Development

Evolution of Bilibili's Voice Chat Room Architecture: From Live Streaming to Multi‑User RTC Interaction

The article chronicles Bilibili’s voice‑chat room transformation from a simple one‑to‑one live‑streaming setup to a scalable multi‑host RTC system, detailing the new session‑channel model, server‑driven mic‑seat management, extensive monitoring, state‑synchronization techniques, revenue‑engine integration, domain‑driven design, and continuous‑delivery practices.

Real‑time communicationSystem Designarchitecture
0 likes · 25 min read
Evolution of Bilibili's Voice Chat Room Architecture: From Live Streaming to Multi‑User RTC Interaction
dbaplus Community
dbaplus Community
Nov 13, 2023 · Databases

How a MySQL CPU Spike Exposed Critical Query Mis‑optimizations

An urgent overnight incident revealed a MySQL server’s CPU soaring to 400% due to poorly written queries, prompting a detailed analysis of execution plans, identification of costly operations like filesort and temporary tables, and concrete recommendations for query and team improvements.

DatabaseExecution PlanMySQL
0 likes · 8 min read
How a MySQL CPU Spike Exposed Critical Query Mis‑optimizations
Architect
Architect
Nov 13, 2023 · Backend Development

Designing a Robust Asynchronous Processing SDK with Spring, Kafka, and MySQL

This article explains why asynchronous processing is needed in evolving systems, outlines the goals of guaranteeing execution without blocking the main flow, and walks through a complete SDK design that uses Spring transaction events, Kafka, XXL‑Job, MySQL, and a Vue UI, including configuration, code snippets, and deployment details.

AsynchronousDesignKafka
0 likes · 10 min read
Designing a Robust Asynchronous Processing SDK with Spring, Kafka, and MySQL
Architecture & Thinking
Architecture & Thinking
Nov 13, 2023 · Fundamentals

Mastering Java Collections: From Interfaces to Iterators

This comprehensive guide explains Java's collection framework, covering the core interfaces Collection, List, Set, and Map, their abstract and concrete implementations, iterator mechanisms, and key differences that are essential for both interview preparation and real‑world backend development.

CollectionsIteratorJava
0 likes · 29 min read
Mastering Java Collections: From Interfaces to Iterators
php Courses
php Courses
Nov 13, 2023 · Backend Development

Building a Simple PHP MVC Framework from Scratch

This tutorial guides you step‑by‑step through creating a basic PHP MVC framework, covering MVC concepts, Composer setup, project structure, core components like routing and controllers, view rendering, model creation, and testing the application with the built‑in PHP server.

MVCPHPbackend
0 likes · 8 min read
Building a Simple PHP MVC Framework from Scratch
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 13, 2023 · Backend Development

Using SpringMVC Interceptor to Prevent Duplicate Submissions

This article explains how duplicate form submissions occur, outlines common prevention techniques such as token validation and timestamp checks, and demonstrates a practical SpringMVC interceptor implementation with token storage and scheduled cleanup to ensure request uniqueness and reduce server load.

InterceptorJavaSpringMVC
0 likes · 8 min read
Using SpringMVC Interceptor to Prevent Duplicate Submissions
Efficient Ops
Efficient Ops
Nov 12, 2023 · Backend Development

How We Revamped QQ Browser’s Content Engine: From Micro‑services Chaos to High‑Performance Monolith

This article details the complete redesign of QQ Browser's content ingestion system, explaining why the original micro‑service architecture caused low efficiency and performance, and how a zero‑base redesign using a monolithic service, plugin framework, fault‑tolerant pipelines, and thread separation dramatically improved throughput, latency, and developer productivity.

C++Performance OptimizationPlugin Architecture
0 likes · 21 min read
How We Revamped QQ Browser’s Content Engine: From Micro‑services Chaos to High‑Performance Monolith
Selected Java Interview Questions
Selected Java Interview Questions
Nov 12, 2023 · Backend Development

Implementing the Chain of Responsibility Pattern for Login Risk Management in Java

This article explains the Chain of Responsibility design pattern and demonstrates how to apply it in a Java backend to evaluate login risk factors such as password errors, unusual login times, IP whitelist violations, and abnormal login locations, providing full code examples and execution flow.

Chain of ResponsibilityDesign PatternJava
0 likes · 16 min read
Implementing the Chain of Responsibility Pattern for Login Risk Management in Java
Su San Talks Tech
Su San Talks Tech
Nov 12, 2023 · Backend Development

Unlocking Complex Business Logic with LiteFlow’s Component‑Based Workflow Engine

This article introduces LiteFlow, a lightweight and fast component‑based rule engine that decouples complex business logic, explains its design principles, demonstrates usage in both non‑Spring and SpringBoot environments with Maven dependencies and XML configurations, and delves into its core components and execution flow through detailed source code analysis.

JavaLiteFlowWorkflow
0 likes · 18 min read
Unlocking Complex Business Logic with LiteFlow’s Component‑Based Workflow Engine
Java Architect Essentials
Java Architect Essentials
Nov 12, 2023 · Backend Development

Request Merging in Java: Concept, Pros & Cons, and Implementation with ScheduledExecutorService

This article explains the concept of request merging for high‑concurrency web services, outlines its advantages and drawbacks, and provides a complete Java implementation using ScheduledExecutorService, a memory queue, and a generic BatchCollapser utility with usage examples.

JavaPerformance OptimizationScheduledExecutorService
0 likes · 8 min read
Request Merging in Java: Concept, Pros & Cons, and Implementation with ScheduledExecutorService
Java Captain
Java Captain
Nov 11, 2023 · Backend Development

Analyzing and Reproducing OutOfMemoryError in MyBatis-based Java Services

This article examines the causes of Java OutOfMemoryError in a distributed backend service, analyzes MyBatis-related memory leaks, demonstrates a reproducible scenario with large SQL concatenations and multithreading, and offers practical mitigation strategies to prevent heap and metaspace overflow.

JavaMyBatisOutOfMemoryError
0 likes · 6 min read
Analyzing and Reproducing OutOfMemoryError in MyBatis-based Java Services
Top Architect
Top Architect
Nov 9, 2023 · Backend Development

Understanding Service Gateways: Concepts, Benefits, and Technical Selection

This article explains what a service gateway is, why it is needed in microservice architectures, its core functions such as routing, authentication, monitoring and rate limiting, and provides practical technology choices like Java, Spring Boot, Zuul, Consul, JWT, Prometheus, Grafana, ELK and JMeter.

Zuularchitecturebackend
0 likes · 8 min read
Understanding Service Gateways: Concepts, Benefits, and Technical Selection
Architecture Digest
Architecture Digest
Nov 9, 2023 · Backend Development

Elegant Unified Exception Handling in Spring Using Assertions and Enums

This article explains how to replace repetitive try‑catch blocks in Spring applications with a clean, assertion‑based approach combined with @ControllerAdvice and enum‑driven error codes, providing a unified way to handle service‑layer, controller‑layer, and unknown exceptions while keeping responses consistent and internationalized.

ControllerAdviceEnumsJava
0 likes · 20 min read
Elegant Unified Exception Handling in Spring Using Assertions and Enums
dbaplus Community
dbaplus Community
Nov 8, 2023 · Backend Development

How Qunar Cut Half Its Codebase: A Practical Guide to Service and Code Slimming

This article details Qunar's systematic approach to reducing service complexity and code volume by half, covering background challenges, two‑phase planning, criteria for merging or deleting services, tooling such as Serviceability Agent for method‑level analysis, automated and semi‑automated deletion workflows, verification steps, and the measurable performance gains achieved.

JVMServiceabilityAgentbackend
0 likes · 23 min read
How Qunar Cut Half Its Codebase: A Practical Guide to Service and Code Slimming
Selected Java Interview Questions
Selected Java Interview Questions
Nov 8, 2023 · Fundamentals

Most Popular Java Features Added Since Java 8 (Up to Java 20)

This article reviews the most widely adopted Java language enhancements introduced after Java 8, covering features such as local variable type inference, switch expressions, text blocks, records, pattern matching for instanceof, sealed classes, and improved NullPointerException messages, helping developers decide which upgrades to adopt.

JavaJava 8Language Features
0 likes · 6 min read
Most Popular Java Features Added Since Java 8 (Up to Java 20)
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 7, 2023 · Operations

How NetEase Cloud Music Built Pylon APM: A Deep Dive into Tracing, Metrics, and Automated Diagnosis

This article details the design and implementation of the Pylon APM monitoring platform for NetEase Cloud Music, covering background challenges, the choice of Pinpoint, extensions to trace models, tail‑based exception sampling, Prometheus integration, automated JStack collection, and the resulting APM product features.

APMJava AgentTracing
0 likes · 12 min read
How NetEase Cloud Music Built Pylon APM: A Deep Dive into Tracing, Metrics, and Automated Diagnosis
Su San Talks Tech
Su San Talks Tech
Nov 7, 2023 · Backend Development

Why Adding Thread Pools in Business Logic Often Hurts Performance

Although many developers avoid using thread pools in business code, this article explains how thread pools already exist in web containers and RPC frameworks, why inserting custom pools can backfire, and when proper tuning or message queues are the better solution for improving throughput.

DubboJavabackend
0 likes · 10 min read
Why Adding Thread Pools in Business Logic Often Hurts Performance
Pupu Technology
Pupu Technology
Nov 6, 2023 · Backend Development

Insights from the 12th Pupu Server‑Side Tech Salon in Shenzhen

The Shenzhen recap of Pupu's 12th server‑side tech salon presents three technical talks covering order transaction system design, community comment‑moderation architecture, and customer‑service platform engineering, highlighting practical challenges, solution strategies, and key architectural decisions.

Customer ServiceShenzhenSystem Architecture
0 likes · 4 min read
Insights from the 12th Pupu Server‑Side Tech Salon in Shenzhen
Architect
Architect
Nov 5, 2023 · Backend Development

The Complete Backend Development Roadmap: From Fundamentals to Expert Architecture

This article presents a comprehensive, step‑by‑step roadmap for backend engineers, covering everything from basic Go language concepts, data structures, and OS fundamentals to advanced microservice design, high‑performance networking, scalability, reliability, security, DevOps practices, team and product management, and real‑world project execution.

DevOpsRoadmapSecurity
0 likes · 28 min read
The Complete Backend Development Roadmap: From Fundamentals to Expert Architecture
Python Programming Learning Circle
Python Programming Learning Circle
Nov 3, 2023 · Backend Development

Curated Collection of Python Web Scraping Tools and Tutorials

This article compiles a variety of Python web‑scraping utilities—including file download assistants, video downloaders, proxy IP pool builders, captcha bypass scripts, and game data extractors—providing descriptions, installation commands, usage examples, download links, and reference links for each tool.

Web Scrapingbackenddata extraction
0 likes · 6 min read
Curated Collection of Python Web Scraping Tools and Tutorials
Ctrip Technology
Ctrip Technology
Nov 2, 2023 · Backend Development

Design and Implementation of the PGClowcode Low‑Code Platform at Ctrip

The article details the motivation, design, architecture, key features, deployment workflow, and future roadmap of Ctrip's PGClowcode low‑code platform, which enables rapid visual development of backend pages through a front‑end React UI and a Spring WebFlux backend, addressing common challenges in large‑scale internal tool development.

CtripPlatformbackend
0 likes · 21 min read
Design and Implementation of the PGClowcode Low‑Code Platform at Ctrip
php Courses
php Courses
Nov 2, 2023 · Backend Development

PHP Performance Optimization Techniques and Best Practices

This article explains how to improve PHP application response speed and throughput through code, configuration, and server optimizations, covering caching strategies, precompilation, efficient data structures, loop reduction, high‑performance servers, and profiling tools such as XHProf and Blackfire.

PHPPerformance Optimizationbackend
0 likes · 5 min read
PHP Performance Optimization Techniques and Best Practices
58 Tech
58 Tech
Nov 2, 2023 · Backend Development

Design and Implementation of a Low‑Code Data Platform for Testing and Data Operations

This article describes the background, goals, architecture, and implementation details of a low‑code data platform that enables fast creation, configuration, and execution of data‑related tools for testing, development, and operations, highlighting its component library, rule engine, security, version control, and measurable efficiency gains.

Automationarchitecturebackend
0 likes · 17 min read
Design and Implementation of a Low‑Code Data Platform for Testing and Data Operations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 2, 2023 · Backend Development

Rethinking Global Exception Handling in SpringBoot Applications

This article examines the pitfalls of using SpringBoot's @ControllerAdvice and @ExceptionHandler for global exception handling, illustrates common issues across controller, service, and data layers, and proposes more precise logging and debugging strategies to improve error traceability and maintainability.

DebuggingExceptionHandlingJava
0 likes · 7 min read
Rethinking Global Exception Handling in SpringBoot Applications
Java Architecture Diary
Java Architecture Diary
Nov 1, 2023 · Backend Development

Boost Your IoT Apps with mica-mqtt: A Low‑Latency Java AIO MQTT Engine

The article introduces mica-mqtt, a Java AIO‑based open‑source MQTT component offering simple, low‑latency, high‑performance IoT messaging, outlines its extensive feature set, typical use cases, recent updates, and provides detailed configuration examples for custom business thread pools and Spring Boot integration.

AIOIoTJava
0 likes · 6 min read
Boost Your IoT Apps with mica-mqtt: A Low‑Latency Java AIO MQTT Engine
Programmer DD
Programmer DD
Oct 31, 2023 · Backend Development

Mastering tldb Distributed Locks in Go and Java: A Practical Guide

This article explains how tldb implements distributed locks, details the lock, tryLock, and unlock APIs, and provides step‑by‑step Go and Java code examples—including blocking, non‑blocking, and spin‑lock patterns—plus test results to illustrate correct usage.

backendtldb
0 likes · 8 min read
Mastering tldb Distributed Locks in Go and Java: A Practical Guide
php Courses
php Courses
Oct 31, 2023 · Backend Development

Implementing Pagination in PHP with Custom Functions

This article explains the principle of pagination and provides three reusable PHP functions—get_total_pages, get_offset, and generate_pagination—along with example code to calculate total pages, determine record offsets, and render a navigation bar for efficient web page data paging.

PHPPaginationbackend
0 likes · 6 min read
Implementing Pagination in PHP with Custom Functions
JD Tech
JD Tech
Oct 31, 2023 · Backend Development

Using JaCoCo to Analyze Online Java Code Coverage and Eliminate Zombie Code

This article explains how to use JaCoCo probes to analyze online Java code execution, identify and remove zombie code, and improve development efficiency through detailed steps including Maven dependencies, a REST dump endpoint, javaagent configuration, script automation, and coverage analysis results.

JaCoCobackendcode coverage
0 likes · 12 min read
Using JaCoCo to Analyze Online Java Code Coverage and Eliminate Zombie Code
macrozheng
macrozheng
Oct 31, 2023 · Backend Development

Mastering Nginx Session Affinity: How ip_hash Ensures Sticky Sessions

This article explains how Nginx's ip_hash directive implements session affinity by routing all requests from the same client IP to a single backend server, provides configuration examples, discusses practical pitfalls, and shares real‑world test results.

IP Hashbackendload balancing
0 likes · 9 min read
Mastering Nginx Session Affinity: How ip_hash Ensures Sticky Sessions
Baidu Geek Talk
Baidu Geek Talk
Oct 30, 2023 · Backend Development

Design and Practice of the tanGo Search Presentation Framework

The article presents Baidu’s Aladdin vertical search product and introduces the tanGo framework, which abstracts search pipelines into resources, cards, and scenes, enabling configuration‑driven, graph‑based resource scheduling for single results, demand clusters, and groups, while measuring scale, efficiency, and user satisfaction.

ConfigurationDAGarchitecture
0 likes · 10 min read
Design and Practice of the tanGo Search Presentation Framework
php Courses
php Courses
Oct 28, 2023 · Backend Development

Understanding PHP Callback Functions: Definitions, Usage, and Examples

This article explains PHP callback functions, covering their definition, types such as regular, anonymous, and static methods, typical use cases like event handling, asynchronous and functional programming, and provides clear code examples with important precautions and advantages.

PHPbackendevent handling
0 likes · 5 min read
Understanding PHP Callback Functions: Definitions, Usage, and Examples
php Courses
php Courses
Oct 28, 2023 · Backend Development

Understanding PHP Closure Functions: Definition, Usage, and Examples

This article explains PHP closure functions, covering their definition, typical use cases such as event handling, asynchronous and functional programming, detailed syntax examples, usage patterns, precautions, advantages, and a practical example of handling asynchronous results.

PHPbackendclosure
0 likes · 4 min read
Understanding PHP Closure Functions: Definition, Usage, and Examples
Architect
Architect
Oct 27, 2023 · Fundamentals

Can Clean Architecture Transform Your Codebase? A Deep Dive into Design

This article explains why software architecture matters, defines the essence of Clean Architecture, compares it with Hexagonal and DDD layered models, and walks through a practical, step‑by‑step process—from business analysis and domain modeling to layer implementation and code examples—showing how to reduce complexity and maintenance cost.

Clean ArchitectureDDDDomain-Driven Design
0 likes · 21 min read
Can Clean Architecture Transform Your Codebase? A Deep Dive into Design
JD Tech
JD Tech
Oct 27, 2023 · Backend Development

Design and Implementation of JD's Unified Header/Footer Management System

The article describes the design background, overall architecture, management backend, and header/footer client implementations (Nginx and Java) of JD's unified header/footer management system, explaining how it enables rapid, centralized updates of site-wide header and footer content across hundreds of services.

JavaSSIbackend
0 likes · 14 min read
Design and Implementation of JD's Unified Header/Footer Management System
php Courses
php Courses
Oct 27, 2023 · Backend Development

Implementing WeChat Mini Program Recharge Functionality with PHP

This article explains how to develop a recharge feature for WeChat Mini Programs using PHP, covering the setup of payment parameters, generating prepay orders, invoking wx.requestPayment, and handling payment callbacks with example code.

Mini ProgramPHPPayment Integration
0 likes · 6 min read
Implementing WeChat Mini Program Recharge Functionality with PHP
php Courses
php Courses
Oct 26, 2023 · Backend Development

Building a ChatGPT-Powered Chatbot with PHP

This tutorial explains how to build a PHP‑based ChatGPT chatbot, covering environment setup, API key acquisition, library installation, core code implementation, a simple web interface, and steps to run and extend the application.

APIChatGPTPHP
0 likes · 4 min read
Building a ChatGPT-Powered Chatbot with PHP
Bilibili Tech
Bilibili Tech
Oct 25, 2023 · Backend Development

Performance Optimization Practices in Bilibili's Risk Control Engine

To overcome storage, compute, and I/O bottlenecks in Bilibili’s risk‑control engine, the team combined pre‑fetching with Redis caching, batch retrieval, asynchronous writes via Railgun, aggressive log compression, and a multi‑level cache plus Bloom filter, cutting latency to sub‑100 ms, reducing Redis QPS by over 90 % and storage by ~38 %, while supporting million‑level query throughput.

Batch ProcessingPerformancePrefetch
0 likes · 22 min read
Performance Optimization Practices in Bilibili's Risk Control Engine
JD Retail Technology
JD Retail Technology
Oct 23, 2023 · Backend Development

Understanding Java Exceptions and Custom Assertions for Elegant Error Handling

This article explains Java's Error and Exception hierarchy, differentiates compile-time and runtime exceptions, demonstrates standard try‑catch handling, shows how to throw custom exceptions, and introduces custom assertion interfaces that combine readable assertions with tailored exception types for cleaner backend code.

Custom AssertionExceptionJava
0 likes · 9 min read
Understanding Java Exceptions and Custom Assertions for Elegant Error Handling
php Courses
php Courses
Oct 23, 2023 · Backend Development

Using PHP 8 Attributes to Manage Code Metadata

This article explains PHP 8’s new Attributes feature, describing what attributes are, how to attach custom attributes such as @Table and @Route to classes and methods, and demonstrates retrieving attribute values via reflection, providing clear code examples for backend developers.

PHPattributesbackend
0 likes · 5 min read
Using PHP 8 Attributes to Manage Code Metadata
Su San Talks Tech
Su San Talks Tech
Oct 22, 2023 · Backend Development

Mastering Rate Limiting: Algorithms, Scenarios, and Practical Implementations

Rate limiting controls request flow to protect system stability, covering its definition, motivations, common algorithms such as token bucket, leaky bucket, fixed and sliding windows, their pros and cons, single‑machine vs distributed implementations, and practical component choices for backend services.

Algorithmbackenddistributed systems
0 likes · 17 min read
Mastering Rate Limiting: Algorithms, Scenarios, and Practical Implementations
php Courses
php Courses
Oct 21, 2023 · Backend Development

Using the Stringable Interface in PHP 8 for Simplified String Operations

This article introduces PHP 8’s new Stringable interface, explains its purpose, shows how to implement it with example code, and demonstrates its seamless integration with common string functions such as str_replace, strlen, and substr for more concise string handling.

PHPString OperationsStringable
0 likes · 5 min read
Using the Stringable Interface in PHP 8 for Simplified String Operations
Liangxu Linux
Liangxu Linux
Oct 21, 2023 · Backend Development

Why Nginx Doesn’t Fall Victim to the Thundering Herd Problem

This article explains the thundering herd phenomenon in multi‑process servers, walks through Nginx’s master‑worker architecture and its use of epoll, and compares three practical mitigation techniques—accept_mutex, EPOLLEXCLUSIVE, and SO_REUSEPORT—complete with code excerpts and configuration examples.

SO_REUSEPORTaccept_mutexbackend
0 likes · 9 min read
Why Nginx Doesn’t Fall Victim to the Thundering Herd Problem
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 21, 2023 · Backend Development

Comprehensive Spring Boot Tutorial: Configuration, Logging, MVC, Data Access, Docker, and Custom Starters

This tutorial provides an in‑depth guide to Spring Boot covering core concepts such as project setup, configuration files, logging frameworks, MVC architecture, CRUD examples, error handling, embedded servlet containers, Docker integration, JDBC/MyBatis/JPA data access, startup process, and how to create custom starter modules.

ConfigurationDockerJPA
0 likes · 47 min read
Comprehensive Spring Boot Tutorial: Configuration, Logging, MVC, Data Access, Docker, and Custom Starters
Architecture Digest
Architecture Digest
Oct 20, 2023 · Backend Development

Simplified Seckill Project: Architecture, Core Implementations, and Code Overview

This article introduces a simplified Seckill (flash‑sale) system built with SpringBoot, detailing its overall architecture, key backend techniques such as distributed sessions, Redis caching, RabbitMQ asynchronous ordering, security measures, oversell prevention, rate limiting, and provides essential code snippets and deployment screenshots.

JavaRedisSeckill
0 likes · 8 min read
Simplified Seckill Project: Architecture, Core Implementations, and Code Overview
Open Source Tech Hub
Open Source Tech Hub
Oct 20, 2023 · Backend Development

Master PHP Exception Handling with Tinywan: Install, Configure, and Customize Errors

This guide explains the distinction between exceptions and errors in PHP, shows how to install the Tinywan exception‑handler package, configure it for Webman, use built‑in and custom exception classes, customize JSON responses, and extend the handler for advanced scenarios such as DingTalk notifications.

backenderror-managementexception handling
0 likes · 9 min read
Master PHP Exception Handling with Tinywan: Install, Configure, and Customize Errors
macrozheng
macrozheng
Oct 19, 2023 · Information Security

How to Perform Fuzzy Search on Encrypted Phone Numbers in MySQL

This article explores multiple strategies for enabling fuzzy search on encrypted phone numbers, including in‑memory caching, database decryption functions, segment‑wise storage, and dedicated fuzzy‑search fields, comparing their trade‑offs in performance, memory usage, and data consistency.

EncryptionFuzzy SearchMySQL
0 likes · 10 min read
How to Perform Fuzzy Search on Encrypted Phone Numbers in MySQL
LouZai
LouZai
Oct 19, 2023 · Backend Development

How to Diagnose and Fix 502 Bad Gateway Errors

This article explains what a 502 Bad Gateway error means, why it is usually generated by a reverse‑proxy like nginx, and provides step‑by‑step methods to identify common causes such as backend timeouts, process crashes, and misconfigured upstream servers.

502 Bad GatewayDebuggingHTTP status codes
0 likes · 15 min read
How to Diagnose and Fix 502 Bad Gateway Errors
php Courses
php Courses
Oct 17, 2023 · Databases

Choosing and Optimizing Indexes in PHP and MySQL

This article explains the fundamentals and types of MySQL indexes, provides guidelines for selecting appropriate indexes based on query frequency, uniqueness and complexity, and presents PHP code examples for adding and using indexes, along with optimization strategies such as proper schema design, data types, and index maintenance.

IndexingMySQLPHP
0 likes · 5 min read
Choosing and Optimizing Indexes in PHP and MySQL
Architecture Digest
Architecture Digest
Oct 16, 2023 · Backend Development

Comparison of Delayed Task Implementation Strategies in Java: Database Polling, JDK DelayQueue, Time Wheel, Redis, and RabbitMQ

The article examines various delayed‑task solutions for order timeout handling in Java, including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted‑set and key‑space notifications, and RabbitMQ delayed queues, analyzing their implementation steps, advantages, and drawbacks.

JavaRedisbackend
0 likes · 18 min read
Comparison of Delayed Task Implementation Strategies in Java: Database Polling, JDK DelayQueue, Time Wheel, Redis, and RabbitMQ
Code Ape Tech Column
Code Ape Tech Column
Oct 14, 2023 · Backend Development

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

This article explains how to use Redis BitMap to build a memory‑efficient sign‑in feature and continuous‑sign‑in statistics in a Spring Boot microservice, covering basic BitMap commands, key design, core Java code, testing steps, and a bitmap‑based solution for cache‑penetration protection.

BitMapSpring Bootbackend
0 likes · 10 min read
Implementing Sign‑In and Statistics with Redis BitMap in Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 13, 2023 · Fundamentals

Understanding Java Annotations and Custom Annotation Usage with Spring AOP

This article explains Java annotations, their purposes such as providing compiler metadata, generating code, runtime processing, and documentation, introduces built‑in and meta‑annotations, and demonstrates how to create and use custom annotations both via reflection and with Spring AOP for logging, including full code examples.

AOPCustomAnnotationJava
0 likes · 7 min read
Understanding Java Annotations and Custom Annotation Usage with Spring AOP
Top Architect
Top Architect
Oct 12, 2023 · Backend Development

Cache Strategies: Consistency Issues, Penetration, Avalanche and Mitigation Techniques

The article explains why high‑frequency disk reads can become a performance bottleneck, introduces common caching patterns such as Cache‑Aside, Read‑Through, Write‑Through and Write‑Behind, discusses consistency problems, cache penetration and avalanche, and presents practical solutions like null‑caching, Bloom filters, distributed locks, staggered TTLs, Redis‑Cluster and Hystrix.

Cache Avalanchebackendcache-consistency
0 likes · 10 min read
Cache Strategies: Consistency Issues, Penetration, Avalanche and Mitigation Techniques
Selected Java Interview Questions
Selected Java Interview Questions
Oct 12, 2023 · Backend Development

Spring Framework Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, AopUtils

This article provides a comprehensive overview of Spring Framework utility classes—including Assert, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, and AopUtils—explaining their purpose, key methods, and usage examples with code snippets for backend developers.

IOJavaassertions
0 likes · 14 min read
Spring Framework Utility Classes Overview: Assertions, ObjectUtils, StringUtils, CollectionUtils, FileCopyUtils, ResourceUtils, StreamUtils, ReflectionUtils, AopUtils
Ctrip Technology
Ctrip Technology
Oct 12, 2023 · Backend Development

Evolution and Optimization of Ticket Product Structure at Trip.com

This article examines the evolution of Trip.com’s ticket product structure, detailing its transition from low to high‑level schema, the technical challenges faced across user, merchant, platform and R&D perspectives, and the systematic solutions—including structure integration, sales‑attribute standardization, and description‑attribute layering—that improved efficiency, data quality, and internationalization.

Data MigrationE‑commerceSystem integration
0 likes · 17 min read
Evolution and Optimization of Ticket Product Structure at Trip.com
ByteDance Data Platform
ByteDance Data Platform
Oct 11, 2023 · Backend Development

How Volcano Engine Rebuilt Its Ad‑Testing Platform for Scalability and Reliability

This article explains how Volcano Engine identified the tangled authorization, data‑fetching, and performance problems of its advertising AB‑testing platform and refactored it by splitting services, redesigning the data model with MySQL and ClickHouse, applying DAG scheduling, time‑wheel algorithms, Domain‑Driven Design, and rigorous unit testing to achieve a more stable, extensible backend solution.

AB testingAdvertisingDAG
0 likes · 16 min read
How Volcano Engine Rebuilt Its Ad‑Testing Platform for Scalability and Reliability
Shepherd Advanced Notes
Shepherd Advanced Notes
Oct 10, 2023 · Backend Development

Master 16 SpringBoot Extension Interfaces for Cleaner, More Elegant Code

This article enumerates and explains sixteen Spring and SpringBoot extension interfaces, illustrates their positions in the bean lifecycle with a call‑order diagram, and provides concrete usage scenarios and code samples so developers can harness these hooks to write more elegant and maintainable applications.

Bean Lifecyclebackenddependency injection
0 likes · 19 min read
Master 16 SpringBoot Extension Interfaces for Cleaner, More Elegant Code
Architect
Architect
Oct 9, 2023 · Backend Development

Netty TCP Long‑Connection Demo with Spring Boot, Redis, and Message‑Queue Simulation

This article presents a complete Netty TCP long‑connection demo built with Spring Boot 2.2.0 and Redis, explains the project architecture, module layout, business flow using a local BlockingQueue instead of RocketMQ, and provides detailed source code for the queue holder, processing logic, client implementation, handler, and test controllers.

JavaNettySpring Boot
0 likes · 17 min read
Netty TCP Long‑Connection Demo with Spring Boot, Redis, and Message‑Queue Simulation
Selected Java Interview Questions
Selected Java Interview Questions
Oct 4, 2023 · Backend Development

Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application

This article demonstrates how to implement a captcha‑based login mechanism in a Spring Boot application with a front‑end/back‑end separation, detailing the traditional session‑based approach, the new Redis‑backed token solution, and providing complete code examples for configuration, service, controller, and data objects.

CAPTCHARedisSpring Boot
0 likes · 12 min read
Implementing Captcha‑Based Login in a Frontend‑Backend Separated Spring Boot Application
ITPUB
ITPUB
Oct 3, 2023 · Backend Development

How to Build a 100% Test‑Coverage Automated Backend Testing System

This article presents a self‑developed automated testing platform for backend services that achieves full test‑case coverage with low maintenance cost by unifying HTTP and RPC access, introducing a parameter‑pool, integrating JSON Schema and JSONPath validation, and leveraging traffic‑driven test‑case generation and scheduling.

CoverageJSON SchemaParameter Pool
0 likes · 23 min read
How to Build a 100% Test‑Coverage Automated Backend Testing System
Architect
Architect
Oct 3, 2023 · Backend Development

Understanding RocketMQ Scheduled Tasks and Their Implementation

This article explains the various scheduled tasks in RocketMQ, covering architecture overview, producer and consumer periodic operations, broker maintenance jobs, and NameServer housekeeping, while providing concrete Java code examples to illustrate how each task contributes to message handling, monitoring, and system reliability.

JavaRocketMQScheduled Tasks
0 likes · 25 min read
Understanding RocketMQ Scheduled Tasks and Their Implementation
Architect
Architect
Sep 30, 2023 · Backend Development

Mastering Nginx ip_hash for Session Affinity and Its Common Pitfalls

This article explains how Nginx's ip_hash directive implements session affinity by routing all requests from the same client IP to a single backend server, demonstrates configuration examples, analyzes behavior when servers go down, and discusses the method's limitations such as load imbalance and dynamic IP issues.

ConfigurationIP HashPerformance
0 likes · 11 min read
Mastering Nginx ip_hash for Session Affinity and Its Common Pitfalls