Tagged articles

backend

5000 articles · Page 34 of 50
Laravel Tech Community
Laravel Tech Community
Sep 7, 2022 · Backend Development

Common PHP File and Directory Utility Functions

This article provides a collection of reusable PHP functions for checking, creating, listing, copying, and deleting files and directories, offering developers ready‑to‑use code snippets that simplify common filesystem operations in backend projects.

PHPbackenddirectory operations
0 likes · 5 min read
Common PHP File and Directory Utility Functions
Top Architect
Top Architect
Sep 7, 2022 · Backend Development

Cache Consistency Challenges and Update Strategies in Backend Systems

This article explains why caching is essential for high‑traffic services, describes the inherent consistency problems between Redis and MySQL, analyzes four cache‑update strategies with concrete concurrency scenarios, and provides practical recommendations such as using delete‑after‑update, delayed double‑delete, expiration, MQ, and binlog subscription to achieve eventual consistency.

backendconsistencystrategy
0 likes · 22 min read
Cache Consistency Challenges and Update Strategies in Backend Systems
Su San Talks Tech
Su San Talks Tech
Sep 7, 2022 · Backend Development

Demystifying Spring Bean Lifecycle: From Creation to Destruction

This article explains the Spring Bean lifecycle in depth, covering IoC fundamentals, each lifecycle stage, extension points such as Aware interfaces and BeanPostProcessor, and provides a step‑by‑step code walkthrough that maps the execution flow from bean creation to destruction.

Bean LifecycleIoCJava
0 likes · 12 min read
Demystifying Spring Bean Lifecycle: From Creation to Destruction
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Sep 5, 2022 · Backend Development

How to Prevent Payment Order Loss (Drop Orders) in E‑Commerce Systems

This article explains why payment orders can disappear after a successful wallet transaction, outlines the complete payment flow, distinguishes internal and external drop‑order scenarios, and provides practical server‑side and client‑side strategies—including retry mechanisms, reliable async messaging, scheduled queries, and delayed‑message approaches—to reliably prevent such issues.

Message QueueReliabilitybackend
0 likes · 13 min read
How to Prevent Payment Order Loss (Drop Orders) in E‑Commerce Systems
Wukong Talks Architecture
Wukong Talks Architecture
Sep 5, 2022 · Backend Development

Microservice Architecture: Evolution, Challenges, and Best Practices

This article explains the transition from monolithic to microservice architecture using an online supermarket example, highlights the problems caused by rapid, unplanned scaling, and presents systematic solutions such as service decomposition, database sharding, monitoring, tracing, gateway, service discovery, circuit breaking, testing, and service mesh adoption.

MonitoringService Mesharchitecture
0 likes · 21 min read
Microservice Architecture: Evolution, Challenges, and Best Practices
dbaplus Community
dbaplus Community
Sep 3, 2022 · Backend Development

Can Redis Streams Replace Kafka for Your Messaging Needs?

The article explains how Redis Streams offers a lightweight, memory‑based alternative to Kafka, detailing its features, consumer‑group model, performance advantages, and suitable use cases while acknowledging scenarios where a full‑featured message queue remains preferable.

KafkaMessage QueueRedis
0 likes · 7 min read
Can Redis Streams Replace Kafka for Your Messaging Needs?
DaTaobao Tech
DaTaobao Tech
Sep 2, 2022 · Backend Development

Debugging Cloud Storage Middleware Migration Issues in Backend Development

The team resolved export failures caused by a deprecated cloud‑storage middleware by adding a new method that generates user‑specific sub‑paths and saves files, but recognized security, configurability, and maintainability issues, recommending configurable buckets, thorough permission reviews, and reusable design when migrating third‑party dependencies.

backendcloud storagecode review
0 likes · 7 min read
Debugging Cloud Storage Middleware Migration Issues in Backend Development
Top Architect
Top Architect
Sep 2, 2022 · Backend Development

Debugging Slow Update Calls in a Microservice Backend: Analysis and Fixes

After a recent deployment a backend update operation became extremely slow, revealing RPC retry, thread‑pool misconfiguration, and row‑lock contention between services, which were analyzed and resolved through thread‑pool tuning and transaction separation.

DebuggingPerformancebackend
0 likes · 7 min read
Debugging Slow Update Calls in a Microservice Backend: Analysis and Fixes
Selected Java Interview Questions
Selected Java Interview Questions
Sep 1, 2022 · Backend Development

Designing Distributed Global Unique ID Generation: Snowflake Algorithm and Practical Implementations

This article explains the need for globally unique, trend‑increasing IDs in distributed systems, evaluates common solutions such as UUIDs, database auto‑increment, Redis counters, and presents a detailed Java implementation of Twitter's Snowflake algorithm with code examples, deployment tips, and a discussion of its advantages and drawbacks.

backenddistributed IDsnowflake
0 likes · 15 min read
Designing Distributed Global Unique ID Generation: Snowflake Algorithm and Practical Implementations
JavaScript
JavaScript
Sep 1, 2022 · Backend Development

What Makes Bun the Next‑Generation JavaScript Runtime?

Bun is a modern JavaScript runtime built on WebKit’s JavaScriptCore instead of V8, backed by $7 million funding, and its creators aim to release a stable version within six months, positioning it as a potential alternative to Node and Deno.

BunJavaScriptNode alternative
0 likes · 1 min read
What Makes Bun the Next‑Generation JavaScript Runtime?
Baidu Geek Talk
Baidu Geek Talk
Aug 29, 2022 · Backend Development

Optimizing Front‑Back End Collaboration with Interface Platform and Data Direct Access at Baidu

Baidu’s commercial front‑end team integrated an interface platform with a data‑direct capability—leveraging BFF layers, Redis‑based offline data injection, stub services, data grading, and fragment‑based batch editing—to enable true parallel front‑back end development, eliminate separate test environments, and cut average project delivery time by more than half across thousands of projects.

BFFData PipelinePlatform Engineering
0 likes · 9 min read
Optimizing Front‑Back End Collaboration with Interface Platform and Data Direct Access at Baidu
IT Services Circle
IT Services Circle
Aug 28, 2022 · Backend Development

How to Prevent Duplicate Payments in E‑commerce Orders

This article explains the complete e‑commerce payment workflow, identifies the causes of duplicate payments such as missing deduplication, order loss and multi‑channel issues, and presents practical backend solutions including distributed locking, result caching, payment‑flow cancellation, active polling, and sync‑async notification strategies to ensure order consistency and improve payment success rates.

E‑commercebackenddistributed lock
0 likes · 13 min read
How to Prevent Duplicate Payments in E‑commerce Orders
21CTO
21CTO
Aug 28, 2022 · Backend Development

Ruby vs Python for Web Development: Which Framework Wins?

This article compares Ruby and Python as high‑level, object‑oriented languages for web development, outlining their histories, core features, popular frameworks, performance statistics, and suitability for different project needs to help developers choose the right tool.

PythonRubybackend
0 likes · 8 min read
Ruby vs Python for Web Development: Which Framework Wins?
macrozheng
macrozheng
Aug 26, 2022 · Backend Development

How to Simplify Complex Business Logic with CompileFlow Workflow Engine

Learn how to replace tangled if‑else code with a visual workflow engine using CompileFlow, from setting up the designer and BPM files to binding data, methods, conditions, and executing a sample chicken‑training process, while understanding the underlying principles and practical tips.

Workflowbackendcompileflow
0 likes · 10 min read
How to Simplify Complex Business Logic with CompileFlow Workflow Engine
Su San Talks Tech
Su San Talks Tech
Aug 25, 2022 · Backend Development

Mastering Spring Transactions: From Basics to Advanced Propagation Types

This article explains the origins and purpose of Spring transactions, demonstrates how to quickly set them up with code examples, explores key features and common pitfalls, and provides an in‑depth comparison of the REQUIRED, REQUIRES_NEW, and NESTED propagation types for robust backend development.

AOPJavaMyBatis
0 likes · 21 min read
Mastering Spring Transactions: From Basics to Advanced Propagation Types
Sohu Tech Products
Sohu Tech Products
Aug 24, 2022 · Backend Development

What Is Reactive Programming and Its Application in Backend Development

This article explains the fundamentals of reactive programming as a declarative, data‑stream‑based paradigm, describes its core concepts such as streams, events, and operators, and demonstrates how to replace traditional imperative Java code with RxJava‑based reactive implementations for a backend service that processes MQ messages, fetches data, and updates a cache while handling errors, request deduplication, and rate limiting.

Reactive ProgrammingRxJavaStream
0 likes · 19 min read
What Is Reactive Programming and Its Application in Backend Development
Xingsheng Youxuan Technology Community
Xingsheng Youxuan Technology Community
Aug 24, 2022 · Backend Development

Mastering Sliding Window Rate Limiting: Sentinel Implementation Explained

This article explains the sliding window rate‑limiting algorithm, its advantages over fixed windows, and provides a detailed step‑by‑step implementation using Sentinel’s data structures, including window partitioning, bucket management, concurrency handling, and calculation of request counts within a moving time interval.

SentinelSliding Windowbackend
0 likes · 8 min read
Mastering Sliding Window Rate Limiting: Sentinel Implementation Explained
Java High-Performance Architecture
Java High-Performance Architecture
Aug 22, 2022 · Backend Development

Why Resource Isolation Matters: Thread, Process, and Cluster Strategies in Backend Systems

This article explains how isolating resources such as CPU, network, and disk through thread, process, cluster, and other techniques improves utilization, prevents cascading failures, and enhances stability in distributed backend architectures, illustrated with Netty, Dubbo, Tomcat, and Hystrix examples.

Resource Isolationbackendprocess isolation
0 likes · 14 min read
Why Resource Isolation Matters: Thread, Process, and Cluster Strategies in Backend Systems
Top Architect
Top Architect
Aug 22, 2022 · Backend Development

Comprehensive Guide to Microservice Architecture, Spring Cloud, Dubbo, and Distributed System Practices

This article provides an in‑depth overview of microservice architecture, covering concepts such as RPC, serialization, CAP and BASE theories, distributed transaction patterns like TCC, service monitoring with Sleuth and ELK, high‑availability strategies, load balancing, configuration management, Dubbo fault‑tolerance clusters, timeout handling, service registration and discovery, communication protocols, AOP fundamentals, Spring annotations, JdbcTemplate and RestTemplate usage, transaction management, and the inner workings of Spring Boot starters.

Dubbobackenddistributed-systems
0 likes · 39 min read
Comprehensive Guide to Microservice Architecture, Spring Cloud, Dubbo, and Distributed System Practices
Dada Group Technology
Dada Group Technology
Aug 19, 2022 · Backend Development

Improving High‑Concurrency System Performance with Coroutines and the Quasar Framework

The article analyzes the high load and low CPU utilization problems of a Java service, compares various I/O models, introduces coroutine fundamentals and the Quasar library, demonstrates practical migration steps with code examples, and evaluates the performance gains and risks of adopting coroutine‑based concurrency.

Quasarbackendconcurrency
0 likes · 19 min read
Improving High‑Concurrency System Performance with Coroutines and the Quasar Framework
Shepherd Advanced Notes
Shepherd Advanced Notes
Aug 19, 2022 · Backend Development

Java IP Geolocation: Retrieve Client Location Using ip2region

This guide explains how to obtain a client’s IP address behind proxies in Java, choose appropriate HTTP headers, and use the open‑source ip2region library to query offline databases for accurate, millisecond‑level IP geolocation, including code examples for Spring Boot integration.

IP GeolocationJavaSpring Boot
0 likes · 15 min read
Java IP Geolocation: Retrieve Client Location Using ip2region
Zuoyebang Tech Team
Zuoyebang Tech Team
Aug 18, 2022 · Backend Development

Why Zuoyebang Switched to Go: Inside the Zgin Backend Framework

Zuoyebang replaced its PHP monolith with the Go‑based Zgin framework to overcome microservice, performance, and cloud‑native limitations, delivering a modular, high‑performance backend that supports service governance, efficient logging, and seamless deployment across thousands of services.

Gobackend
0 likes · 17 min read
Why Zuoyebang Switched to Go: Inside the Zgin Backend Framework
Top Architect
Top Architect
Aug 18, 2022 · Backend Development

Common Causes of Backend Interface Performance Issues and Their Optimization Strategies

The article systematically analyzes why backend APIs become slow—covering database slow queries, complex business logic, thread‑pool misconfiguration, lock design flaws, and machine problems—and presents practical Java‑based optimization techniques such as pagination fixes, index tuning, multithreading, proper thread‑pool sizing, lock refinement, caching, and asynchronous callbacks.

DatabasePerformancebackend
0 likes · 18 min read
Common Causes of Backend Interface Performance Issues and Their Optimization Strategies
Programmer DD
Programmer DD
Aug 18, 2022 · Backend Development

How to Build a Clean, Robust Spring Controller Layer with Unified Responses and Validation

This article explains why the Controller layer is essential, identifies common pitfalls such as tangled validation and inconsistent responses, and demonstrates how to refactor Spring MVC controllers using a unified Result wrapper, ResponseBodyAdvice, proper String handling, JSR‑303 validation, custom validators, and global exception handling to produce clean, maintainable backend code.

ControllerResponseBodyAdviceSpring
0 likes · 21 min read
How to Build a Clean, Robust Spring Controller Layer with Unified Responses and Validation
Continuous Delivery 2.0
Continuous Delivery 2.0
Aug 18, 2022 · Backend Development

Why Code Review Matters and How to Apply Engineering Best Practices in Backend Development

The article argues that code review is essential for software quality, critiques common shortcomings in engineering practice, and presents principles such as simplicity, composition, transparency, and disciplined logging, illustrated with Go code examples, to guide developers toward maintainable, scalable backend systems.

backendgolangsoftware design
0 likes · 39 min read
Why Code Review Matters and How to Apply Engineering Best Practices in Backend Development
ITPUB
ITPUB
Aug 17, 2022 · Backend Development

Mastering RabbitMQ: Core Concepts, Setup, and Advanced Java Usage

This comprehensive guide explains message‑queue fundamentals, RabbitMQ architecture, exchange types, and key performance metrics, then walks through macOS installation, Java client configuration, and detailed code examples for producers, consumers, and utility wrappers covering direct, fanout, and topic patterns, plus durability and ACK strategies.

AMQPbackend
0 likes · 31 min read
Mastering RabbitMQ: Core Concepts, Setup, and Advanced Java Usage
Selected Java Interview Questions
Selected Java Interview Questions
Aug 17, 2022 · Backend Development

Microservice Architecture and Its Most Important Design Patterns

This article explains the evolution of software complexity, introduces microservice architecture as a modern solution, and details ten essential design patterns—including database per service, event sourcing, CQRS, Saga, BFF, API gateway, Strangler, circuit breaker, externalized configuration, and consumer‑driven contract testing—while outlining their advantages, disadvantages, and appropriate usage scenarios.

architecturebackenddistributed systems
0 likes · 22 min read
Microservice Architecture and Its Most Important Design Patterns
Java Baker
Java Baker
Aug 13, 2022 · Fundamentals

Unlock Java’s Power: Mastering Reflection for Dynamic Code

This article explains Java reflection’s core concepts, how the JVM dynamically loads Class objects, and provides practical examples—including field retrieval, caching strategies, and integration with Spring—to help developers harness reflection for dynamic code manipulation while avoiding common pitfalls.

JavaSpringbackend
0 likes · 12 min read
Unlock Java’s Power: Mastering Reflection for Dynamic Code
IT Architects Alliance
IT Architects Alliance
Aug 13, 2022 · Backend Development

Understanding VO, DTO, DO, and PO: Concepts and Their Application in Three‑Tier Architecture

This article explains the definitions, differences, and practical usage of View Object (VO), Data Transfer Object (DTO), Domain Object (DO), and Persistent Object (PO) within a three‑layer architecture, offering design guidelines, conversion flows, and considerations for when to merge or separate these objects.

DODTODesign Patterns
0 likes · 13 min read
Understanding VO, DTO, DO, and PO: Concepts and Their Application in Three‑Tier Architecture
Java Architect Essentials
Java Architect Essentials
Aug 11, 2022 · Backend Development

Mastering Spring Events: Synchronous & Asynchronous Usage with Code Samples

This article explains how to use Spring ApplicationEvent to decouple business logic, showing step‑by‑step code for defining custom events, creating listeners with both ApplicationListener and @EventListener, publishing events synchronously and asynchronously, enabling async processing, and verifying behavior with unit tests.

ApplicationEventAsynchronousJava
0 likes · 10 min read
Mastering Spring Events: Synchronous & Asynchronous Usage with Code Samples
Architect's Guide
Architect's Guide
Aug 11, 2022 · Backend Development

Design and Implementation of a Redis-Based Delayed Queue Service

The article explains the need for delayed processing in business scenarios, compares various delayed queue solutions such as Java DelayQueue, RocketMQ, and RabbitMQ, and details a Redis-based implementation with message storage, ZSET queues, pull jobs, workers, and Zookeeper coordination for high availability.

Delayed QueueRedisbackend
0 likes · 6 min read
Design and Implementation of a Redis-Based Delayed Queue Service
Top Architect
Top Architect
Aug 10, 2022 · Backend Development

Cache Consistency: Challenges and Strategies for Backend Systems

This article examines why cache consistency cannot be fully guaranteed, analyzes common inconsistency scenarios between Redis and MySQL, compares four update strategies, and offers practical recommendations such as updating the database before deleting cache, using short expiration times, delayed double‑delete, MQ or binlog approaches to achieve eventual consistency.

Caching Strategiesbackendconsistency
0 likes · 19 min read
Cache Consistency: Challenges and Strategies for Backend Systems
Java Architect Essentials
Java Architect Essentials
Aug 9, 2022 · Backend Development

Master MyBatis-Plus in Spring Boot: Quick Start, Configuration, and Advanced Features

This guide walks through integrating MyBatis-Plus with Spring Boot, covering environment setup, Maven dependencies, configuration of data sources, entity annotations, CRUD services, pagination, logical deletion, enum handling, automatic field filling, multi‑data‑source strategies, and testing with full code examples.

DatabaseJavaORM
0 likes · 20 min read
Master MyBatis-Plus in Spring Boot: Quick Start, Configuration, and Advanced Features
ITPUB
ITPUB
Aug 9, 2022 · Backend Development

Mastering Cache Strategies: From Local to Multi‑Level for High‑Performance Systems

This article walks through practical cache designs—local page caching, object caching with Ehcache, distributed caches like Redis and Memcached, and multi‑level cache architectures—showing real‑world code, refresh policies, and pitfalls to help engineers boost performance and stability in high‑traffic applications.

Multi-Level Cachebackendcaching
0 likes · 13 min read
Mastering Cache Strategies: From Local to Multi‑Level for High‑Performance Systems
php Courses
php Courses
Aug 9, 2022 · Backend Development

Applying Custom Patches to Composer Packages Using a Post‑Autoload‑Dump Script

This guide explains a simple method to apply custom modifications to Composer packages by copying the needed files into a patches directory and configuring the post‑autoload‑dump script to automatically overwrite the original files during installation or update, avoiding the need for external tools.

Dependency Managementbackendpatches
0 likes · 2 min read
Applying Custom Patches to Composer Packages Using a Post‑Autoload‑Dump Script
政采云技术
政采云技术
Aug 9, 2022 · Backend Development

Handling Data Surge in a Data Push Platform: JVM Tuning, Flow Control, and Performance Optimization

This article analyzes the challenges of data‑burst scenarios in a data‑push platform, evaluates traditional throttling methods, presents JVM‑level tuning and a custom heap‑usage based flow‑control mechanism, and validates the solution through extensive pressure testing, demonstrating significant reductions in full GC frequency and overall push latency.

Flow ControlGCJVM
0 likes · 22 min read
Handling Data Surge in a Data Push Platform: JVM Tuning, Flow Control, and Performance Optimization
Code Ape Tech Column
Code Ape Tech Column
Aug 9, 2022 · Backend Development

Java Distributed Task Scheduling Frameworks: Overview, Comparison, and Best Practices

This article examines the need for scheduled tasks in various business scenarios, reviews single‑machine and distributed Java scheduling frameworks such as Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, elastic‑job, Saturn, and XXL‑Job, and provides a detailed comparative analysis to guide framework selection.

Elastic-JobJavaQuartz
0 likes · 12 min read
Java Distributed Task Scheduling Frameworks: Overview, Comparison, and Best Practices
Liangxu Linux
Liangxu Linux
Aug 8, 2022 · Backend Development

Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC

This article explains the fundamentals of TCP sockets, why raw TCP lacks message boundaries, how custom protocols add headers to solve the sticky‑packet problem, and compares HTTP and RPC as application‑layer protocols, highlighting their histories, use‑cases, and performance trade‑offs.

NetworkingRPCTCP
0 likes · 13 min read
Why RPC Still Matters When HTTP Exists: A Deep Dive into TCP, HTTP, and RPC
21CTO
21CTO
Aug 8, 2022 · Backend Development

What's New in Django 4.1? Explore Async ORM, Improved Forms, and Upgrade Guides

Django 4.1 has been officially released, introducing asynchronous ORM interfaces, class‑based view async handlers, database‑level model validation, and enhanced form rendering accessibility, while also marking the end of mainstream support for Django 4.0, which will receive only security fixes until April 2023; the article also provides pip and Git commands for installing the latest stable or development versions and a brief overview of Django’s core principles.

Async ORMDjangoPython
0 likes · 3 min read
What's New in Django 4.1? Explore Async ORM, Improved Forms, and Upgrade Guides
Sanyou's Java Diary
Sanyou's Java Diary
Aug 8, 2022 · Backend Development

How RocketMQ Achieves Smart Push Consumption with Long Polling

This article explains RocketMQ's push and pull consumption modes, shows how its pseudo‑push implementation uses long polling to balance real‑time delivery and consumer pressure, and walks through the core source‑code mechanisms that hold and resume pull requests.

RocketMQbackendconsumer pressure
0 likes · 10 min read
How RocketMQ Achieves Smart Push Consumption with Long Polling
Top Architect
Top Architect
Aug 8, 2022 · Backend Development

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

This article examines common business scenarios that require timed tasks, explains why scheduling is essential, reviews single‑machine and distributed Java scheduling frameworks—including Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, elastic‑job, Saturn, and xxl‑job—then provides a detailed feature comparison, deployment considerations, and practical recommendations.

Elastic-JobJavaQuartz
0 likes · 13 min read
Comparison of Distributed Scheduling Frameworks: Elastic‑Job vs X‑Job and Other Java Solutions
Architecture Digest
Architecture Digest
Aug 8, 2022 · Operations

Log Shrinking Techniques and Case Study for Reducing Log Size

This article explains why oversized logs hurt system performance, presents three practical log‑shrinking strategies—printing only necessary logs, merging duplicate entries, and simplifying content—illustrates them with Java code snippets, and evaluates their impact through a real‑world case that cuts daily log volume from 5 GB to under 1 GB.

LoggingPerformancebackend
0 likes · 7 min read
Log Shrinking Techniques and Case Study for Reducing Log Size
Architect's Guide
Architect's Guide
Aug 8, 2022 · Backend Development

Cache Consistency Strategies: Updating Database and Cache, Deleting Cache, and Handling Inconsistencies

The article explains why caching is essential for high‑traffic read‑heavy services, analyzes the consistency problems that arise when data exists simultaneously in MySQL and Redis, compares four cache‑update strategies, and provides practical recommendations such as using expiration, delayed double‑delete, message queues, and binlog subscription to achieve eventual consistency.

Cache ConsistencyMySQLRedis
0 likes · 18 min read
Cache Consistency Strategies: Updating Database and Cache, Deleting Cache, and Handling Inconsistencies
Java Backend Technology
Java Backend Technology
Aug 6, 2022 · Backend Development

How to Prevent Coupon Over‑Issuing in High‑Concurrency Scenarios

The article analyzes why a coupon‑distribution feature can issue more coupons than available under heavy load, explains the root cause of concurrent stock deductions, and presents four practical solutions—including Java synchronized blocks, SQL row‑level locking, Redis distributed locks, and Redisson—to reliably prevent over‑issuance.

JavaMySQLRedis
0 likes · 11 min read
How to Prevent Coupon Over‑Issuing in High‑Concurrency Scenarios
Selected Java Interview Questions
Selected Java Interview Questions
Aug 5, 2022 · Backend Development

Understanding Interface Call Idempotency and Practical Solutions for Backend Systems

The article explains the concept of interface call idempotency in distributed micro‑service architectures, outlines scenarios that cause idempotency problems, and presents practical solutions such as token mechanisms, various lock strategies, unique constraints, deduplication tables, and global request IDs, with code examples in Java and Redis.

JavaLocksRedis
0 likes · 13 min read
Understanding Interface Call Idempotency and Practical Solutions for Backend Systems
Top Architect
Top Architect
Aug 4, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Business Logic

This article explains how Spring Application Events can decouple complex business logic, demonstrates creating custom events, listeners, and publishers, shows both synchronous and asynchronous handling with @EventListener and @Async, and provides complete code examples and test results for a Spring Boot application.

AsynchronousEventapplication-event
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Business Logic
Ctrip Technology
Ctrip Technology
Aug 4, 2022 · Backend Development

Design and Evolution of Ctrip Ticket Frontend Trace System for Efficient Debugging

The article describes how Ctrip built and continuously improved a Trace system for its ticket‑front‑end microservices, detailing the challenges of distributed logs, the architecture of the solution, and the functional features such as friendly search, multi‑platform aggregation, page replay, and one‑click mock that together boost debugging efficiency for both developers and non‑technical operators.

Log analysisbackendmicroservices
0 likes · 13 min read
Design and Evolution of Ctrip Ticket Frontend Trace System for Efficient Debugging
Su San Talks Tech
Su San Talks Tech
Aug 1, 2022 · Backend Development

Master Tomcat Performance: Key Components and Tuning Tips for Max Throughput

This article explains Tomcat’s internal component architecture, walks through the request‑processing flow, and details three crucial configuration parameters—maxThreads, maxConnections, and acceptCount—offering practical formulas and tuning guidelines to improve throughput without adding hardware.

ConnectorJavaPerformance Tuning
0 likes · 12 min read
Master Tomcat Performance: Key Components and Tuning Tips for Max Throughput
Architect's Guide
Architect's Guide
Aug 1, 2022 · Backend Development

Understanding Rate Limiting: Concepts, Algorithms, and Practical Implementations

This article explains why rate limiting is essential for both physical venues and online services, describes common strategies such as circuit breaking, service degradation, delay handling, and privilege handling, compares caching, degradation, and limiting, and details counter, leaky‑bucket, and token‑bucket algorithms with concrete Guava and Nginx‑Lua implementations.

AlgorithmGuavabackend
0 likes · 15 min read
Understanding Rate Limiting: Concepts, Algorithms, and Practical Implementations
Java Architect Essentials
Java Architect Essentials
Jul 31, 2022 · Backend Development

Comprehensive Guide to Backend Interface Performance Optimization

This article summarizes the author's experience optimizing backend interface performance, covering common causes such as slow MySQL queries, complex business logic, thread‑pool and lock design flaws, and offers practical solutions including pagination tricks, indexing, caching, multithreading, and asynchronous callbacks.

OptimizationPerformancebackend
0 likes · 17 min read
Comprehensive Guide to Backend Interface Performance Optimization
Selected Java Interview Questions
Selected Java Interview Questions
Jul 29, 2022 · Backend Development

Seven Directions of Code Performance Optimization for Java Backend

This article outlines seven major areas of Java backend performance optimization—including reuse, computation, result‑set, resource‑conflict, algorithm, efficient implementation, and JVM tuning—explaining concepts, techniques, and practical examples to help developers improve application speed and resource utilization.

AlgorithmJavaOptimization
0 likes · 11 min read
Seven Directions of Code Performance Optimization for Java Backend
Java Backend Technology
Java Backend Technology
Jul 29, 2022 · Backend Development

Avoid the Top 5 BigDecimal Pitfalls in Java Money Calculations

This article explains five common BigDecimal traps—including constructor precision loss, equals vs compareTo, division exceptions, string conversion quirks, and operation order—provides code examples, and recommends using the JSR‑354 Money API with Maven for safer monetary calculations in Java backend development.

BigDecimalJSR 354Java
0 likes · 8 min read
Avoid the Top 5 BigDecimal Pitfalls in Java Money Calculations
Java High-Performance Architecture
Java High-Performance Architecture
Jul 28, 2022 · Backend Development

How to Accelerate Complex Search Queries with Redis Caching and SQL Optimization

This article walks through three progressive implementations for handling intricate e‑commerce search filters—starting with a raw SQL approach, then optimizing with indexed queries and split statements, and finally leveraging Redis sets and sorted sets for caching, pagination, and high‑performance query execution.

Redisbackendcaching
0 likes · 8 min read
How to Accelerate Complex Search Queries with Redis Caching and SQL Optimization
Laravel Tech Community
Laravel Tech Community
Jul 26, 2022 · Backend Development

Netty 5.0.0.Alpha4 Released with API Cleanup and Unix Domain Socket Support

Netty 5.0.0.Alpha4 has been released, removing duplicated code, cleaning up the API, adding ProtocolFamily‑based socket creation, renaming options, supporting JDK Unix Domain Sockets, improving EventLoop registration, fixing macOS disconnect, and replacing synchronized blocks with Java Locks for better Loom compatibility.

JavaNettyNetworking
0 likes · 3 min read
Netty 5.0.0.Alpha4 Released with API Cleanup and Unix Domain Socket Support
Sanyou's Java Diary
Sanyou's Java Diary
Jul 25, 2022 · Backend Development

Unlock Spring’s Hidden Extension Points: From FactoryBean to Custom Namespaces

Explore the core extension mechanisms of Spring, including FactoryBean, @Import, BeanPostProcessor, BeanFactoryPostProcessor, SPI, SpringBoot startup hooks, event handling, and custom XML namespaces, with detailed code demos and practical examples that reveal how to integrate and extend Spring in real-world applications.

Javabackenddependency-injection
0 likes · 40 min read
Unlock Spring’s Hidden Extension Points: From FactoryBean to Custom Namespaces
DeWu Technology
DeWu Technology
Jul 25, 2022 · Backend Development

Cache Redesign and Performance Optimization for Community Collection Service

By consolidating each user’s collected content into a single Redis hash, replacing per‑item SISMEMBER checks with a batch HMGET, and limiting cached IDs to the most recent 5,000, the redesign cut API latency by threefold, slashed Redis and MySQL query rates dramatically, and reduced memory and connection usage.

CacheOptimizationbackend
0 likes · 9 min read
Cache Redesign and Performance Optimization for Community Collection Service
Selected Java Interview Questions
Selected Java Interview Questions
Jul 25, 2022 · Backend Development

Four Approaches to Solving Session Management in Distributed Environments

This article examines four strategies for handling session data in distributed backend systems—session replication, client-side storage, hash-based load balancing, and centralized storage with Redis—detailing their principles, advantages, disadvantages, and practical recommendations for different deployment scales.

Redisbackenddistributed systems
0 likes · 9 min read
Four Approaches to Solving Session Management in Distributed Environments
Architecture Digest
Architecture Digest
Jul 24, 2022 · Backend Development

Logging Best Practices and Log4j Log Levels in Software Development

This article explains the importance of proper logging in software, outlines common logging requirements such as readability, performance, disk usage, and timeliness, and details Log4j components, log level definitions, hierarchy, recommended usage, and provides concrete macro and log‑statement examples.

Loggingbackendbest practices
0 likes · 15 min read
Logging Best Practices and Log4j Log Levels in Software Development
Selected Java Interview Questions
Selected Java Interview Questions
Jul 23, 2022 · Backend Development

Log Reduction Techniques for Backend Systems

This article discusses practical methods for reducing log volume in backend applications, including printing only necessary logs, merging log entries, simplifying messages, and applying these techniques in a real-world Java case to shrink daily log size from several gigabytes to under one gigabyte while preserving debugging capability.

InFOJavaLogging
0 likes · 7 min read
Log Reduction Techniques for Backend Systems
Top Architect
Top Architect
Jul 23, 2022 · Backend Development

Four Methods to Traverse a Java Map Using keySet, entrySet and Iterators

This article demonstrates four practical ways to iterate over a Java HashMap—including enhanced for loops with keySet(), iterator-based loops with keySet(), enhanced for loops with entrySet(), and iterator-based loops with entrySet()—and provides a complete example that filters employee objects by salary, complete with full source code.

CollectionsHashMapIterator
0 likes · 10 min read
Four Methods to Traverse a Java Map Using keySet, entrySet and Iterators
Meituan Technology Team
Meituan Technology Team
Jul 21, 2022 · Backend Development

Visualized Full‑Chain Log Tracing for Complex Business Systems

The article analyzes the shortcomings of traditional ELK and distributed tracing for complex business systems, proposes a visualized full‑chain log tracing solution that organizes and dynamically links logs by business chain, and demonstrates its implementation and performance gains at Meituan’s content platform.

DSLMeituanObservability
0 likes · 26 min read
Visualized Full‑Chain Log Tracing for Complex Business Systems
Top Architect
Top Architect
Jul 21, 2022 · Backend Development

Performance Monitoring and Optimization Practices for Backend Systems

The article outlines practical approaches to monitor and resolve performance bottlenecks in backend applications, covering database slow‑query logs, interface latency, message‑queue backlogs, segmentation timing, caching, batch calls, multithreading, and database tuning techniques such as indexing and transaction isolation.

MonitoringOptimizationPerformance
0 likes · 9 min read
Performance Monitoring and Optimization Practices for Backend Systems
Architect's Guide
Architect's Guide
Jul 21, 2022 · Backend Development

Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes

This article chronicles the step‑by‑step evolution of a workflow engine, detailing how simple sequential approvers were expanded into hierarchical trees supporting parallel, multi‑sign, conditional, proxy, and scripted nodes, while introducing state management, rejection handling, and progress metrics.

Software ArchitectureState ManagementWorkflow
0 likes · 9 min read
Designing a Flexible Workflow Engine: From Simple Chains to Complex Nested Nodes
Zhuanzhuan Tech
Zhuanzhuan Tech
Jul 20, 2022 · Backend Development

Design and Evolution of the Price‑Increase Coupon Service for a C2B Recycling Platform

This article details the design, evolution, and scaling strategies of a price‑increase coupon system for a C2B digital product recycling platform, covering its initial experimental phase, platformization, sharding‑JDBC implementation, intelligent coupon recommendation, Elasticsearch integration, and operational optimizations for high‑throughput stability.

Scalingbackendcoupon
0 likes · 11 min read
Design and Evolution of the Price‑Increase Coupon Service for a C2B Recycling Platform
Su San Talks Tech
Su San Talks Tech
Jul 20, 2022 · Backend Development

30 Practical Java Code Optimization Tips to Supercharge Your Applications

This article presents a comprehensive collection of thirty Java performance‑tuning techniques—from using String.format and buffered I/O streams to avoiding large transactions, leveraging enums, and handling thread‑local resources—each illustrated with clear code examples and best‑practice recommendations for modern backend development.

Javabackend
0 likes · 47 min read
30 Practical Java Code Optimization Tips to Supercharge Your Applications
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2022 · Backend Development

Build a Go‑Based SMS Verification Login with Gin and Viper

This guide walks through creating a phone‑number SMS verification login system in Go using Gin, Viper, and Tencent Cloud SMS, covering service registration, configuration loading, client implementation with functional options, code generation, sending, and Redis‑based verification.

Ginbackendsms
0 likes · 8 min read
Build a Go‑Based SMS Verification Login with Gin and Viper
Selected Java Interview Questions
Selected Java Interview Questions
Jul 19, 2022 · Backend Development

Comprehensive Guide to Identifying and Solving Backend Interface Performance Issues

This article recounts a backend team's experience of addressing numerous slow API endpoints, detailing root causes such as MySQL slow queries, complex business logic, thread‑pool and lock misconfigurations, and offers practical solutions including pagination fixes, indexing, query refactoring, concurrency improvements, and caching strategies.

MySQLOptimizationPerformance
0 likes · 16 min read
Comprehensive Guide to Identifying and Solving Backend Interface Performance Issues
Java Backend Technology
Java Backend Technology
Jul 19, 2022 · Backend Development

How to Diagnose and Fix Common API Performance Bottlenecks in Java Backend

This article walks through real‑world API performance complaints, identifies root causes such as slow MySQL queries, thread‑pool misconfiguration, lock contention and machine issues, and presents practical solutions ranging from pagination rewrites and index tuning to multithreading, caching and async callbacks.

OptimizationPerformancebackend
0 likes · 17 min read
How to Diagnose and Fix Common API Performance Bottlenecks in Java Backend
Open Source Linux
Open Source Linux
Jul 19, 2022 · Backend Development

Master Kafka Basics: Visual Guide to Topics, Partitions, and Architecture

This article visually explains Kafka's core concepts—including producers, consumers, topics, partitions, consumer groups, and cluster architecture—so readers can clearly understand how messages flow, are stored, and remain fault‑tolerant within a distributed streaming system.

KafkaMessage QueueStreaming
0 likes · 6 min read
Master Kafka Basics: Visual Guide to Topics, Partitions, and Architecture
Top Architect
Top Architect
Jul 18, 2022 · Backend Development

Common Load Balancing Algorithms and Their Java Implementations

This article explains the principles behind popular load‑balancing strategies such as round‑robin, weighted round‑robin, smooth weighted round‑robin, consistent hashing, least‑active, and best‑response, and provides clear Java code examples for each method.

Algorithmsbackenddistributed systems
0 likes · 34 min read
Common Load Balancing Algorithms and Their Java Implementations
ITPUB
ITPUB
Jul 17, 2022 · Backend Development

36 Essential Tips for Designing Robust Backend APIs

This comprehensive guide presents 36 practical recommendations for backend engineers, covering parameter validation, compatibility, extensibility, idempotency, error handling, logging, performance optimization, caching, rate limiting, security, transaction management, and clear communication to help design reliable, maintainable, and scalable service interfaces.

API designValidationbackend
0 likes · 27 min read
36 Essential Tips for Designing Robust Backend APIs
Architecture Digest
Architecture Digest
Jul 16, 2022 · Fundamentals

Design and Implementation of a Lightweight Workflow Engine

This article analyzes the business challenges of marketing automation, introduces workflow concepts and models, compares workflow engines with state machines, presents popular open‑source engines, and details the design, core modules, interfaces, and practical considerations of a self‑built lightweight workflow engine.

DesignEnginebackend
0 likes · 11 min read
Design and Implementation of a Lightweight Workflow Engine
Dada Group Technology
Dada Group Technology
Jul 16, 2022 · Backend Development

Optimizing Rider Withdrawal Payments at Dada Express: Asynchronous Concurrency, Extended Timeouts, Idempotent Retries, and Security Enhancements

This article details how Dada Express improved the efficiency of rider withdrawal payments by redesigning the clearing and disbursement workflow, introducing asynchronous thread‑pool concurrency, extending API timeouts, implementing idempotent retry logic, and adding safeguards to ensure fund security, resulting in a three‑fold reduction in processing time during peak periods.

System Designbackendconcurrency
0 likes · 9 min read
Optimizing Rider Withdrawal Payments at Dada Express: Asynchronous Concurrency, Extended Timeouts, Idempotent Retries, and Security Enhancements
ITPUB
ITPUB
Jul 15, 2022 · Backend Development

How I Cut a 20‑Second API Call to Sub‑Second with Three Simple Optimizations

A backend engineer shares a step‑by‑step case study of reducing a batch‑score query API from 20 seconds to under 500 ms by analyzing the problem, adding a composite index, introducing multithreaded CompletableFuture calls, and limiting batch size with pagination and thread‑pool tuning.

API performanceJavabackend
0 likes · 11 min read
How I Cut a 20‑Second API Call to Sub‑Second with Three Simple Optimizations