Tagged articles
5000 articles
Page 26 of 50
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.

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

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

BackendCloud NativeWASI
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.

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

Backenddisk usagejava
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.

BackendDesign PatternsFunctional Interface
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.

BackendMicroservicesc++
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.

BackendChatGPTFramework
0 likes · 9 min read
Using ChatGPT to Build a Simple Java Enum Mapping Framework
Architecture Digest
Architecture Digest
Aug 31, 2023 · Backend Development

Understanding AOP: Interface Design, Joinpoint, and Weaving Mechanisms

This article explains the background of Aspect‑Oriented Programming, how to identify and describe join points through interface design, the structure of the AOP Alliance Joinpoint API, and the static and dynamic weaving techniques used by frameworks such as Spring.

Aspect Oriented ProgrammingBackendJoinpoint
0 likes · 7 min read
Understanding AOP: Interface Design, Joinpoint, and Weaving Mechanisms
政采云技术
政采云技术
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.

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

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

BackendBitmapSign-in
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.

BackendData ManagementMidgard
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.

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

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

BackendObject MappingSimple Object Copy
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.

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

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

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

BackendCacheHot Key
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.

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

BackendData RecoveryPHP
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.

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

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

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

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

Backenddistributed-lockjava
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.

BackendGobug fix
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 modeBackendXB 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.

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

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

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

BackendGC tuningGarbage Collection
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.

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

Backendbest practicescoding standards
0 likes · 18 min read
Java Performance Optimization Tips: 34 Best Practices for Faster, Cleaner Code
Programmer DD
Programmer DD
Aug 19, 2023 · Backend Development

What’s New in Spring Framework 6.1 Milestone 4? Key Features and Virtual Thread Support

Spring Framework 6.1 Milestone 4 brings a host of backend enhancements such as the new JdbcClient, JMS observability, @HttpExchange support, CompletableFuture caching, refined bean configuration, expanded test property sources, and full compatibility with Virtual Threads and JDK 21, while previewing the upcoming Spring Boot 3.2 milestone.

Backend
0 likes · 4 min read
What’s New in Spring Framework 6.1 Milestone 4? Key Features and Virtual Thread Support
Java Captain
Java Captain
Aug 18, 2023 · Backend Development

JVM GC Optimization: Reducing FullGC Frequency and Resolving Memory Leaks

This article documents a month‑long JVM garbage‑collection tuning effort that lowered FullGC from around 40 daily occurrences to one every ten days, halved YoungGC time, identified and fixed a memory‑leak caused by anonymous inner‑class listeners, and refined heap and metaspace settings to improve overall server throughput.

BackendGarbage CollectionJVM
0 likes · 10 min read
JVM GC Optimization: Reducing FullGC Frequency and Resolving Memory Leaks
Architect's Guide
Architect's Guide
Aug 18, 2023 · Backend Development

Introducing Hutool: A Comprehensive Java Utility Library

This article introduces Hutool, a Java utility library that consolidates common enterprise‑level tools such as file handling, encryption, date manipulation, and data conversion, explains its main modules, shows how to add it via Maven, and provides practical code examples for quick integration.

BackendLibraryhutool
0 likes · 9 min read
Introducing Hutool: A Comprehensive Java Utility Library
Liangxu Linux
Liangxu Linux
Aug 17, 2023 · Backend Development

GET vs POST: The Real Truth Behind Their Differences

This article explains the basic concepts of GET and POST, debunks common interview answers, reveals that both methods are fundamentally TCP connections, discusses browser and server limits, and highlights the practical impact of their packet‑level differences.

BackendHTTPPOST
0 likes · 8 min read
GET vs POST: The Real Truth Behind Their Differences
dbaplus Community
dbaplus Community
Aug 17, 2023 · Databases

Mastering Redis Set Operations for Scalable Statistics and Aggregations

This article explains how to leverage Redis data structures such as Set, Sorted Set, Bitmap, and HyperLogLog to perform aggregation, sorted, binary‑state, and cardinality statistics efficiently in large‑scale applications, while addressing performance considerations and practical implementation details.

BackendHyperLogLogSet
0 likes · 10 min read
Mastering Redis Set Operations for Scalable Statistics and Aggregations
Architect
Architect
Aug 17, 2023 · Backend Development

Design and Implementation of Bilibili's New Customer Service System

This article details Bilibili's transition from a purchased customer‑service platform to a self‑developed system, describing the background, architectural design, core modules such as intelligent QA, seat scheduling, workbench, permission management, the use of Faiss for vector search, and future explorations with large language models, highlighting the technical challenges and solutions across backend development and AI integration.

AIBackendFAISS
0 likes · 22 min read
Design and Implementation of Bilibili's New Customer Service System
Top Architect
Top Architect
Aug 17, 2023 · Artificial Intelligence

Implementing Face Registration and Login with Baidu Cloud AI: A Full‑Stack Demo

This tutorial walks through building a face‑registration and face‑login system using Baidu Cloud AI, covering requirement analysis, front‑end video capture, base64 image handling, back‑end Java Spring endpoints, and integration of the Baidu AipFace SDK to achieve secure biometric authentication.

BackendBaidu AIJava Spring
0 likes · 12 min read
Implementing Face Registration and Login with Baidu Cloud AI: A Full‑Stack Demo
Beijing SF i-TECH City Technology Team
Beijing SF i-TECH City Technology Team
Aug 17, 2023 · Backend Development

Understanding and Troubleshooting PIE Service Interface Timeout in PHP/FPM

This article explains the three main configuration parameters—fastcgi_read_timeout, max_execution_time, and request_terminate_timeout—that affect PIE service interface timeout, demonstrates how each influences HTTP response codes and PHP execution, and provides step‑by‑step debugging and fixes for Nginx, PHP, and PHP‑FPM settings.

BackendTimeoutphp-fpm
0 likes · 9 min read
Understanding and Troubleshooting PIE Service Interface Timeout in PHP/FPM
Su San Talks Tech
Su San Talks Tech
Aug 17, 2023 · Backend Development

Ensuring API Idempotency with Spring, Redis, and Custom Annotations

This article explains the concept of idempotency, identifies which HTTP methods are naturally idempotent, and demonstrates a complete Java Spring solution—including custom annotations, AOP handling, token generation, and Redis storage—to guarantee safe retry and duplicate‑request protection.

BackendIdempotencyannotation
0 likes · 11 min read
Ensuring API Idempotency with Spring, Redis, and Custom Annotations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 17, 2023 · Backend Development

Understanding Jackson vs Fastjson Serialization of Circular References and Global Exception Handling in Spring Boot

The article examines how Spring Boot handles circular reference serialization with Jackson and Fastjson, demonstrates the role of @ControllerAdvice for global exception capture, explains why Jackson may emit both 200 and 500 responses, and provides practical solutions using annotations and configuration.

BackendJacksoncircular reference
0 likes · 18 min read
Understanding Jackson vs Fastjson Serialization of Circular References and Global Exception Handling in Spring Boot
php Courses
php Courses
Aug 16, 2023 · Backend Development

Implementing Alipay Asynchronous and Synchronous Callbacks in PHP

This article explains the roles of Alipay's asynchronous and synchronous callbacks in PHP integration, outlines step‑by‑step processing procedures, and provides complete example code for verifying signatures, updating order status, and handling both server‑side notifications and front‑end return pages.

AlipayBackendPHP
0 likes · 7 min read
Implementing Alipay Asynchronous and Synchronous Callbacks in PHP
Continuous Delivery 2.0
Continuous Delivery 2.0
Aug 14, 2023 · Backend Development

Principles and Practices of Code Review: Insights from a Tencent Backend Engineer

This article shares a Tencent backend engineer's extensive experience with code review, outlining why engineers and leaders should practice it, identifying common pitfalls such as duplicated code and premature optimization, and presenting concrete principles, model design advice, and Go code examples to improve software quality.

BackendGolang
0 likes · 40 min read
Principles and Practices of Code Review: Insights from a Tencent Backend Engineer
Top Architect
Top Architect
Aug 13, 2023 · Backend Development

Implementing Idempotency in Spring Boot with Custom Annotations and Redis

This article explains the concept of idempotency, identifies naturally idempotent HTTP methods, discusses why idempotency is essential for retries, async callbacks, and message queues, and provides a complete Spring Boot implementation using a custom @Idempotent annotation, AOP, and Redis for token storage.

BackendIdempotencyannotation
0 likes · 12 min read
Implementing Idempotency in Spring Boot with Custom Annotations and Redis
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 12, 2023 · Backend Development

JVM Performance Tuning: Six-Step Process and Key Parameters

This article explains why JVM memory tuning is essential for high‑pay roles, outlines six practical steps—including GC monitoring, heap dump generation, analysis, and parameter adjustments—and provides detailed guidance on heap size, generation ratios, GC types, and thread stack settings to reduce Full GC frequency and improve application performance.

BackendFull GCGarbage Collection
0 likes · 7 min read
JVM Performance Tuning: Six-Step Process and Key Parameters
php Courses
php Courses
Aug 12, 2023 · Backend Development

Encrypting and Decrypting Form Data with PHP

This article explains how to securely encrypt and decrypt user‑submitted form data in PHP using the AES‑256‑CBC algorithm, providing step‑by‑step code examples for creating encryption/decryption functions, applying them to form inputs, and emphasizing key safety and HTTPS.

BackendForm SecurityPHP
0 likes · 4 min read
Encrypting and Decrypting Form Data with PHP
Java Interview Crash Guide
Java Interview Crash Guide
Aug 11, 2023 · Backend Development

How to Refactor Spring Controllers for Unified Responses and Validation

This article explains how to redesign Spring MVC controllers by introducing a unified response structure, leveraging ResponseBodyAdvice for automatic wrapping, handling String conversion issues, applying JSR‑303 validation, creating custom validators, and centralizing exception handling to produce cleaner, more maintainable backend code.

Backendjavaresponsebodyadvice
0 likes · 20 min read
How to Refactor Spring Controllers for Unified Responses and Validation
Bilibili Tech
Bilibili Tech
Aug 11, 2023 · Backend Development

Designing a High‑Performance Asynchronous Event System for Bilibili’s Like Service

Bilibili’s railgun platform transforms its high‑traffic like service into a scalable, fault‑tolerant system by moving writes to an asynchronous, Kafka‑driven pipeline, applying CQRS, partitioned processing, idempotency, hot‑key isolation, rate‑limiting, and unified SDKs, dramatically reducing database load and achieving ten‑fold throughput gains.

AsynchronousBackendCQRS
0 likes · 21 min read
Designing a High‑Performance Asynchronous Event System for Bilibili’s Like Service
JD Tech
JD Tech
Aug 9, 2023 · Databases

MyBatis SQL Analysis Component for Slow Query Prevention and Real‑time Alerting

This article introduces a MyBatis‑based SQL analysis component that detects and prevents slow queries before they impact production by performing real‑time EXPLAIN analysis, offering optimization suggestions, and enabling dynamic SQL replacement, while detailing its design, configuration, performance testing, and practical advantages.

BackendMyBatisSQL Analysis
0 likes · 12 min read
MyBatis SQL Analysis Component for Slow Query Prevention and Real‑time Alerting
Test Development Learning Exchange
Test Development Learning Exchange
Aug 8, 2023 · Fundamentals

Master Python Metaprogramming: Metaclasses, Decorators, and Property Accessors Explained

Learn how Python's metaprogramming lets you dynamically create, modify, and control classes and functions at runtime, covering metaclasses for singleton patterns and class registration, decorators for caching, timing, and logging, and property accessors for validation and computed attributes, each illustrated with concrete code examples.

BackendPythonTutorial
0 likes · 7 min read
Master Python Metaprogramming: Metaclasses, Decorators, and Property Accessors Explained
Top Architect
Top Architect
Aug 8, 2023 · Backend Development

High‑Availability Architecture and Optimization Strategies for a Large‑Scale Membership System

This article describes the design, high‑availability solutions, traffic isolation, deep performance optimizations, caching strategies, dual‑center MySQL partitioning, seamless migration, and future fine‑grained flow‑control and degradation techniques employed to keep a billion‑user membership system stable and performant under extreme load.

BackendScalabilityhigh-availability
0 likes · 20 min read
High‑Availability Architecture and Optimization Strategies for a Large‑Scale Membership System
Java High-Performance Architecture
Java High-Performance Architecture
Aug 8, 2023 · Information Security

Designing a Scalable Multi‑Account Login System: From Phone Verification to Third‑Party OAuth

This article examines the design of a flexible multi‑account authentication system, covering native phone‑code login, optimized password‑optional flows, third‑party OAuth integration, database schema separation, and one‑click carrier‑based login to improve extensibility and user experience.

BackendDatabase designOAuth
0 likes · 14 min read
Designing a Scalable Multi‑Account Login System: From Phone Verification to Third‑Party OAuth
Architect
Architect
Aug 7, 2023 · Backend Development

How to Build a Clean Unified Exception Handling System in Spring Boot

This article walks through the problem of scattered try‑catch blocks in Java back‑ends, explains the use of Spring's @ControllerAdvice together with a custom Assert‑based validation and error‑code enum, and demonstrates a complete unified exception handling solution with production‑ready response formatting and extensive code examples.

AssertBackendException Handling
0 likes · 25 min read
How to Build a Clean Unified Exception Handling System in Spring Boot
Cognitive Technology Team
Cognitive Technology Team
Aug 6, 2023 · Fundamentals

Common Pitfalls When Using Go Slices and How to Avoid Them

This article explains three typical pitfalls of Go slices—ignoring the slice returned by append, unintentionally sharing the underlying array which can cause memory leaks, and the value‑copy behavior of for‑range loops—while also showing how to inspect slice internals using unsafe pointers.

BackendGoappend
0 likes · 5 min read
Common Pitfalls When Using Go Slices and How to Avoid Them
Alibaba Cloud Native
Alibaba Cloud Native
Aug 4, 2023 · Backend Development

Unlocking Dubbo3’s Cloud‑Native Observability: A Complete Guide

This article explains how Dubbo3’s new observability starter provides visual cluster metrics, full‑link tracing, multi‑dimensional monitoring, Prometheus/Grafana integration, and log management, offering practical steps and configurations for building a robust cloud‑native microservice observability platform.

BackendCloud NativeMetrics
0 likes · 10 min read
Unlocking Dubbo3’s Cloud‑Native Observability: A Complete Guide
Architecture Digest
Architecture Digest
Aug 4, 2023 · Backend Development

Unified Exception Handling in Spring: Using @ControllerAdvice, Assertions, and Enums for Clean Error Management

The article explains how to replace repetitive try‑catch blocks in Java Spring applications with a unified exception handling mechanism that leverages @ControllerAdvice, custom BaseException, Assert utilities, and enum‑based error codes to produce consistent, environment‑aware error responses.

BackendEnumsassertions
0 likes · 20 min read
Unified Exception Handling in Spring: Using @ControllerAdvice, Assertions, and Enums for Clean Error Management
JD Cloud Developers
JD Cloud Developers
Aug 3, 2023 · Backend Development

Mastering State Machines: From Theory to Spring and COLA Implementations

This article introduces the fundamentals of state machines, explains the four core concepts, explores domain‑specific languages (DSL) and their classifications, and provides practical Java examples using Spring Statemachine and the COLA framework, ending with a comparison and adoption guidance.

BackendCOLADSL
0 likes · 18 min read
Mastering State Machines: From Theory to Spring and COLA Implementations
Code Ape Tech Column
Code Ape Tech Column
Aug 2, 2023 · Backend Development

Implementing Timed Tasks in RPC Using a Timing Wheel

This article explains how to use a timing wheel to efficiently handle RPC timeout processing, startup timeouts, and heartbeat tasks, reducing thread proliferation and CPU waste by organizing timed tasks into hierarchical time slots.

BackendRPCTimeout
0 likes · 10 min read
Implementing Timed Tasks in RPC Using a Timing Wheel
Architect
Architect
Jul 30, 2023 · Backend Development

Spring Boot Integration with Spring Batch: A Comprehensive Tutorial

This article provides a step‑by‑step guide on integrating Spring Batch with Spring Boot, covering configuration, job and step setup, ItemReader/Processor/Writer implementations, database interactions, handling CSV and database sources, and troubleshooting common issues such as connection‑pool compatibility.

BackendBatch ProcessingSpring Batch
0 likes · 22 min read
Spring Boot Integration with Spring Batch: A Comprehensive Tutorial
php Courses
php Courses
Jul 28, 2023 · Backend Development

Using PHP's http_build_query() to Build URL Query Strings

This article explains how PHP's http_build_query() function converts associative arrays or objects into properly encoded URL query strings, covering basic usage, handling of multidimensional arrays, objects, and special characters with clear code examples.

BackendPHPURL
0 likes · 4 min read
Using PHP's http_build_query() to Build URL Query Strings
php Courses
php Courses
Jul 28, 2023 · Backend Development

Developing Stable and Reliable API Interfaces with ThinkPHP6

This tutorial explains how to design request/response structures, configure routing, implement controllers, perform parameter validation, and handle exceptions when building robust API endpoints using the ThinkPHP6 framework, complete with practical code examples.

APIBackendException Handling
0 likes · 6 min read
Developing Stable and Reliable API Interfaces with ThinkPHP6
Architect
Architect
Jul 27, 2023 · Backend Development

Comprehensive Overview of Java and Enterprise Architecture Diagrams

This article provides a detailed collection of architecture diagrams covering Java classloader, JVM, Java technology stack, threading, compilation, JMS, JMX, Spring, Hibernate, iBATIS, Struts, EJB, portal, J2EE, SmartClient Ajax, Oracle, MySQL, Android, cloud computing, Linux kernel, VMware, SAP, portal blueprint, SOA, MIS, APUSIC ESB, GIS ESB, CRM, and OA, offering valuable insights for backend developers and architects.

BackendEnterpriseframeworks
0 likes · 6 min read
Comprehensive Overview of Java and Enterprise Architecture Diagrams
Top Architect
Top Architect
Jul 27, 2023 · Backend Development

Preventing Order Loss and Duplicate Submissions in Payment Systems: Best Practices

This article explains the typical order‑payment flow, identifies external and internal causes of lost orders, and provides concrete backend strategies—such as adding a "payment‑in‑progress" state, timeout‑based query retries, idempotent handling, and Redis‑based duplicate‑submission protection—to ensure reliable order processing and avoid duplicate payments.

BackendIdempotencyWeChat Pay
0 likes · 6 min read
Preventing Order Loss and Duplicate Submissions in Payment Systems: Best Practices
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 27, 2023 · Backend Development

How Gaode’s GBF Framework Eliminates Glue Code with Domain‑Driven Design

This article explains how Gaode's Information Business team tackled fragmented portal implementations across multiple industries by adopting the Gaode Business Framework (GBF) and domain‑driven design, achieving unified architecture, reduced duplication, improved reusability, and enhanced system stability and maintainability.

BackendDomain-Driven DesignFramework
0 likes · 17 min read
How Gaode’s GBF Framework Eliminates Glue Code with Domain‑Driven Design
Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 26, 2023 · Backend Development

Applying CompletableFuture for Asynchronous Programming in Java: A ZhiZhi Store Detail Page Case Study

This article explains the limitations of Java Future, introduces CompletableFuture's asynchronous and compositional capabilities, and demonstrates how to refactor a store detail page service using CompletableFuture, custom thread pools, and design patterns to achieve parallel execution, reduced latency, and better code maintainability.

AsynchronousBackendCompletableFuture
0 likes · 14 min read
Applying CompletableFuture for Asynchronous Programming in Java: A ZhiZhi Store Detail Page Case Study
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 26, 2023 · Backend Development

How a New Cache Design Boosted Logistics Pricing QPS Five‑Fold

This article reviews the performance challenges of the logistics pricing engine, explains the limitations of the previous 1.0 optimizations, and details the design and implementation of a new 2.0 cache strategy using Tair and local caches, key‑value modeling, pre‑heating, updates, and bottleneck mitigation, achieving the required QPS.

BackendDistributed SystemsTair
0 likes · 19 min read
How a New Cache Design Boosted Logistics Pricing QPS Five‑Fold
Architecture Digest
Architecture Digest
Jul 25, 2023 · Backend Development

Understanding Java 8 Optional: API Overview, Core Methods, and Practical Usage

This article explains the NullPointerException problem, shows traditional null‑checking code, introduces Java 8's Optional class with its constructors and key methods such as of, ofNullable, orElse, orElseGet, orElseThrow, map, flatMap, isPresent, ifPresent, and filter, and provides several real‑world examples illustrating how to replace verbose null checks with elegant Optional‑based code.

BackendFunctionalProgrammingjava
0 likes · 10 min read
Understanding Java 8 Optional: API Overview, Core Methods, and Practical Usage
Su San Talks Tech
Su San Talks Tech
Jul 22, 2023 · Backend Development

How Bilibili Scaled Its Relationship Chain Service from MySQL to KV and Redis

This article details how Bilibili’s relationship‑chain service evolved from a MySQL‑based design to a KV‑store with asynchronous writes, introduced multi‑layer caching with memcached, Redis hash and KV, added bloom‑filter optimization, and implemented hotspot mitigation to support millions of QPS.

BackendDistributed SystemsScalability
0 likes · 16 min read
How Bilibili Scaled Its Relationship Chain Service from MySQL to KV and Redis
Architects Research Society
Architects Research Society
Jul 22, 2023 · Backend Development

Understanding JSON API: Benefits, Features, and a FitBit Case Study

This article explains what JSON API is, outlines its key advantages such as compound documents, sparse fieldsets, optional features, pagination and caching, compares it with GraphQL, and illustrates its practical use through a FitBit case study, helping readers decide if it fits their API design needs.

BackendHTTPJSON API
0 likes · 12 min read
Understanding JSON API: Benefits, Features, and a FitBit Case Study