Tagged articles

Backend

5000 articles · Page 28 of 50
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.

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

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

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

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

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

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

BackendGoPerformance
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 modeBackendRetry Mechanism
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.

BackendMySQLOnline Quiz
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.

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

APIBackendJava
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 TuningJDK
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.

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

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

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

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

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

AIBackendCustomer Service
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.

BackendPHP-FPMtimeout
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.

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

BackendFastjsonGlobal Exception Handling
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.

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

BackendJavaRedis
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 GCJVM
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.

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

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

Backendhigh-availabilityscalability
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.

BackendMulti-AccountOAuth
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.

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

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

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

BackendPerformanceRPC
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 ProcessingJava
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.

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

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

BackendDuplicate SubmissionWeChat 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 DesignMicroservices
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.

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

BackendPerformance OptimizationTair
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.

Backendcachingdatabase migration
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.

API DesignBackendHTTP
0 likes · 12 min read
Understanding JSON API: Benefits, Features, and a FitBit Case Study
Sanyou's Java Diary
Sanyou's Java Diary
Jul 20, 2023 · Backend Development

18 Proven Strategies to Supercharge Backend API Performance

This article shares eighteen practical techniques—including batch database operations, asynchronous processing, caching, prefetching, pooling, event callbacks, parallel remote calls, lock granularity, file‑based storage, indexing, SQL tuning, transaction management, deep pagination fixes, compression, NoSQL alternatives, thread‑pool design, and machine‑level optimizations—to dramatically reduce API latency from seconds to milliseconds.

API optimizationBackendJava
0 likes · 19 min read
18 Proven Strategies to Supercharge Backend API Performance
JD Cloud Developers
JD Cloud Developers
Jul 20, 2023 · Backend Development

Taming 20M Daily Calls: Bloom Filters & Redis Power JD Logistics’ Contract Center

This article examines how JD Logistics’ Contract Center manages millions of daily contract queries by analyzing call patterns, identifying high rates of empty results, and implementing a three‑layer protection strategy using Bloom filters, Redis caching, and database safeguards to ensure high‑availability and data consistency.

BackendBloom FilterSystem Design
0 likes · 12 min read
Taming 20M Daily Calls: Bloom Filters & Redis Power JD Logistics’ Contract Center
Architecture Digest
Architecture Digest
Jul 20, 2023 · Backend Development

Comprehensive Guide to Using Caffeine Cache in Java and Spring Boot

This article provides an in‑depth overview of the Caffeine local cache library for Java, covering its concepts, configuration options, loading strategies, eviction policies, asynchronous usage, statistics collection, and step‑by‑step integration with Spring Boot including annotations and practical code examples.

BackendCaffeineJava
0 likes · 15 min read
Comprehensive Guide to Using Caffeine Cache in Java and Spring Boot
Python Programming Learning Circle
Python Programming Learning Circle
Jul 18, 2023 · Backend Development

Frameworks and Tools that Inspired FastAPI

This article examines the various Python web frameworks, libraries, and standards—such as Django, Flask, Django REST Framework, Requests, Swagger/OpenAPI, Marshmallow, Pydantic, Starlette, and Uvicorn—that inspired FastAPI's design, highlighting their key features and how they contributed to FastAPI's capabilities.

APIBackendPydantic
0 likes · 10 min read
Frameworks and Tools that Inspired FastAPI
Su San Talks Tech
Su San Talks Tech
Jul 16, 2023 · Backend Development

Mastering CORS: Real‑World Backend Configurations and Chrome Private‑Network Fixes

This article shares a hands‑on journey of solving cross‑origin issues in a multi‑domain education product, covering CORS fundamentals, simple and preflight requests, Nginx and SpringBoot configurations, response‑code choices, and Chrome’s insecure private‑network restrictions, with practical solutions and lessons learned.

BackendCORSChrome
0 likes · 18 min read
Mastering CORS: Real‑World Backend Configurations and Chrome Private‑Network Fixes
21CTO
21CTO
Jul 15, 2023 · Backend Development

From ActiveMQ to Pulsar: The Evolution of Message Queues Explained

This article traces the development of message queues from early decoupling solutions like ActiveMQ and RabbitMQ, through high‑throughput designs such as Kafka and RocketMQ, to modern platform‑centric systems like Pulsar, while detailing core concepts, architecture diagrams, storage mechanisms and trade‑offs.

BackendKafkaPulsar
0 likes · 15 min read
From ActiveMQ to Pulsar: The Evolution of Message Queues Explained
Senior Brother's Insights
Senior Brother's Insights
Jul 15, 2023 · Backend Development

What Real Golang Interview Questions Reveal About Candidate Skills

The article recounts a recent Golang interview, highlighting the candidate’s background, the specific technical questions asked—such as payment channel encryption, image‑search implementation, HTTP vs gRPC, pointer versus value passing, and slice behavior—and provides the interviewer’s feedback and advice for improving interview performance.

BackendInterview Tipstechnical interview
0 likes · 9 min read
What Real Golang Interview Questions Reveal About Candidate Skills
Laravel Tech Community
Laravel Tech Community
Jul 13, 2023 · Backend Development

Laravel XlsWriter: High‑Performance Excel Read/Write Extension Guide

This article introduces the Laravel‑XlsWriter package, explains its high‑performance PHP‑C extension features for writing and reading Excel files, and provides step‑by‑step installation, configuration, and usage instructions including service provider registration, facade aliasing, publishing, and mode options.

BackendExcel
0 likes · 4 min read
Laravel XlsWriter: High‑Performance Excel Read/Write Extension Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jul 13, 2023 · Frontend Development

Guidelines for Frontend‑Backend Separation and API Specification (V1.0.0)

This article discusses the evolution from MVC‑based backend‑centric development to modern frontend‑backend separation, explains the benefits of clear responsibility division, outlines the SPA era with Ajax, and provides a detailed V1.0.0 API specification including request/response formats, pagination, and special field conventions.

APIBackendSPA
0 likes · 11 min read
Guidelines for Frontend‑Backend Separation and API Specification (V1.0.0)
php Courses
php Courses
Jul 12, 2023 · Backend Development

PHP Functions for Recursively Deleting Files and Directories

This article provides PHP code examples for recursively removing files and folders, explains the use of unlink() and rmdir() functions, and demonstrates how to delete all ".svn" directories along with their contents.

BackendFile SystemPHP
0 likes · 3 min read
PHP Functions for Recursively Deleting Files and Directories
php Courses
php Courses
Jul 12, 2023 · Backend Development

Prevent Duplicate Remote Image Saving in PHP by Generating Unique Filenames

To prevent storing duplicate remote images on a PHP server, this guide explains two techniques—generating a unique filename from the image URL or from the image content using MD5 hashing—along with complete PHP code examples that check for existing files before saving.

BackendPHPduplicate prevention
0 likes · 5 min read
Prevent Duplicate Remote Image Saving in PHP by Generating Unique Filenames
Architect
Architect
Jul 11, 2023 · Backend Development

Why Database Connection Pools Do Not Use IO Multiplexing

The article explains that database connection pools remain based on blocking I/O because JDBC was designed for BIO, managing session state per connection, and the ecosystem lacks a unified non‑blocking driver, making IO multiplexing technically possible but practically complex and rarely needed.

BackendIO MultiplexingJDBC
0 likes · 9 min read
Why Database Connection Pools Do Not Use IO Multiplexing
Laravel Tech Community
Laravel Tech Community
Jul 10, 2023 · Backend Development

Implementing Random Double Color Ball Selection in PHP Using Arrays

This article explains how to implement a random Double Color Ball (Shuangseqiu) lottery number generator using PHP arrays, detailing the definition of red and blue ball arrays, random selection with array_rand(), and outputting the results via foreach loops, along with the complete source code.

BackendLotteryarray
0 likes · 6 min read
Implementing Random Double Color Ball Selection in PHP Using Arrays
Efficient Ops
Efficient Ops
Jul 10, 2023 · Backend Development

How a Hidden gcache Memory Leak Undermined 99.9% Service Availability

A high‑traffic Go service suffered intermittent availability drops below 99.9% due to timeouts, and after extensive profiling, tracing, and heap analysis the root cause was identified as a memory‑leak bug in the third‑party gcache LFU implementation, which was fixed by upgrading the library.

BackendGCProfiling
0 likes · 10 min read
How a Hidden gcache Memory Leak Undermined 99.9% Service Availability
Top Architect
Top Architect
Jul 10, 2023 · Backend Development

Best Practices for Application Layering in Backend Development

This article explains the importance of clear application layering, describes Alibaba's recommended layer structure, proposes an optimized layering model, discusses domain model conversions across layers, and summarizes how proper layering improves code maintainability and reuse in backend systems.

BackendDAOService
0 likes · 11 min read
Best Practices for Application Layering in Backend Development
Selected Java Interview Questions
Selected Java Interview Questions
Jul 10, 2023 · Backend Development

Designing a Unified Multi‑Account Login System with Phone, Password, and Third‑Party Authentication

This article outlines a comprehensive approach to building a scalable multi‑account login system that supports phone‑number/password, phone‑number/verification‑code, and various third‑party OAuth providers, detailing workflow steps, database schema, advantages, drawbacks, and a one‑click login integration.

AuthenticationBackendThird-Party Login
0 likes · 15 min read
Designing a Unified Multi‑Account Login System with Phone, Password, and Third‑Party Authentication
21CTO
21CTO
Jul 10, 2023 · Backend Development

Inside Threads: How Meta Built Its New Social App’s Backend Stack

The article examines Meta’s Threads app, comparing its features and user experience with Twitter, and dives deep into the backend technologies—including Python 3.10, a custom Cinder JIT, Django customizations, and supporting services—that power the rapidly growing platform.

BackendCinderDjango
0 likes · 9 min read
Inside Threads: How Meta Built Its New Social App’s Backend Stack
php Courses
php Courses
Jul 10, 2023 · Backend Development

How to Parse JSON Data in PHP: Encoding and Decoding Guide

This article explains what JSON is and demonstrates how to encode and decode JSON data in PHP using json_encode() and json_decode(), including examples with associative arrays, indexed arrays, JSON_FORCE_OBJECT, and iteration over decoded structures.

BackendData ParsingJSON
0 likes · 7 min read
How to Parse JSON Data in PHP: Encoding and Decoding Guide
php Courses
php Courses
Jul 10, 2023 · Backend Development

Embedding HTML in PHP: Common Methods and Code Examples

This article explains several common techniques for embedding HTML within PHP code, including echo statements, mixing PHP inside HTML files, using heredoc syntax, and including external HTML files via the include() function, each illustrated with clear code examples.

BackendEmbeddingHeredoc
0 likes · 3 min read
Embedding HTML in PHP: Common Methods and Code Examples
Architects Research Society
Architects Research Society
Jul 9, 2023 · Backend Development

Top 10 Backend Frameworks for Web Development in 2023

This article reviews the ten most popular backend frameworks for 2023—including Spring Boot, Django, Express.js, ASP.NET Core, Laravel, Ruby on Rails, Fiber, CakePHP, Flask, and Play—explaining their key features, language ecosystems, and recommended learning resources for developers of all levels.

BackendFrameworksJava
0 likes · 12 min read
Top 10 Backend Frameworks for Web Development in 2023
php Courses
php Courses
Jul 9, 2023 · Backend Development

How to Daemonize PHP-FPM Using systemd and Supervisor

This article explains common reasons why PHP-FPM processes may terminate unexpectedly and provides step‑by‑step instructions for configuring systemd and Supervisor to supervise PHP‑FPM, ensuring continuous and reliable operation on Linux servers.

BackendLinuxPHP-FPM
0 likes · 4 min read
How to Daemonize PHP-FPM Using systemd and Supervisor
php Courses
php Courses
Jul 9, 2023 · Backend Development

Readonly Classes in PHP 8.2: Purpose, Benefits, and Example

This article explains PHP 8.2’s readonly classes, describing their purpose, advantages such as maintainability, security and performance, and provides a complete code example that demonstrates defining a class with readonly properties and the resulting behavior when attempting modifications.

BackendClassescode-example
0 likes · 4 min read
Readonly Classes in PHP 8.2: Purpose, Benefits, and Example