Backend Development

Showing 100 articles max
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 18, 2026 · Backend Development

How Alipay Ensures Payment Idempotency in High‑Concurrency Systems

The article explains why idempotency is critical for Alipay’s high‑concurrency, high‑reliability payment platform and outlines four key reasons—funds safety, handling network uncertainty, user experience, and distributed architecture—followed by concrete solutions such as unique business identifiers, database unique constraints, state‑machine control, and idempotent API design.

Distributed Systemsbackend designdatabase constraints
0 likes · 6 min read
How Alipay Ensures Payment Idempotency in High‑Concurrency Systems
Java Architect Handbook
Java Architect Handbook
Aug 18, 2026 · Backend Development

Why Misusing Spring Event Can Destroy Your Service Performance

The article analyzes common pitfalls of Spring Event—such as publishing during shutdown or early startup, unsuitability for strong‑consistency use cases, and the need for graceful shutdown, idempotent listeners, and extra reliability measures—while comparing it with message‑queue solutions.

Eventual ConsistencyPublish‑SubscribeSpring
0 likes · 12 min read
Why Misusing Spring Event Can Destroy Your Service Performance
Yumin Fish Harvest
Yumin Fish Harvest
Aug 18, 2026 · Backend Development

Distributed Snowflake ID Generation in Java: Hutool and MyBatis-Plus Demo

This article walks through the Snowflake algorithm for distributed ID generation, detailing its timestamp, workerId and sequence fields, handling clock rollback and sequence overflow, and provides a complete Java implementation with integration examples for Hutool and MyBatis‑Plus, including configuration and test code.

Distributed SystemsHutoolJava
0 likes · 28 min read
Distributed Snowflake ID Generation in Java: Hutool and MyBatis-Plus Demo
Open Source Tech Hub
Open Source Tech Hub
Aug 18, 2026 · Backend Development

Can PHP Finally Be Compiled to Native Code? Inside the TypePHP AOT Compiler

TypePHP translates PHP source to C++ and then to native binaries, eliminating interpreter overhead and delivering up to 135× speed‑up on compute‑heavy benchmarks, while remaining free, open‑source, and targeting CPU‑bound workloads such as image processing, finance, and scientific calculations.

AOT compilationJIT comparisonPHP
0 likes · 10 min read
Can PHP Finally Be Compiled to Native Code? Inside the TypePHP AOT Compiler
Architecture Digest
Architecture Digest
Aug 18, 2026 · Backend Development

How to Design a ThreadPool to Send 10 Million SMS in One Hour – Interview Insights

Sending 10 million marketing SMS within an hour forces careful thread‑pool design: avoid unbounded queues that cause OOM, choose a bounded ThreadPoolExecutor, dynamically tune core/max sizes, use CallerRunsPolicy for natural back‑pressure, and add persistence and compensation mechanisms to guarantee reliability.

High ConcurrencyJava concurrencyOOM prevention
0 likes · 8 min read
How to Design a ThreadPool to Send 10 Million SMS in One Hour – Interview Insights
java1234
java1234
Aug 18, 2026 · Backend Development

Why Is Jakarta EE Gaining Traction in Enterprise Java?

Jakarta EE, the rebranded Java EE now governed by the Eclipse Foundation, offers open standards, built‑in enterprise capabilities, cloud‑native improvements, a smooth upgrade path for legacy systems, and familiar APIs, making it an attractive alternative to Spring for long‑term, maintainable applications.

CDICloud NativeEnterprise Java
0 likes · 9 min read
Why Is Jakarta EE Gaining Traction in Enterprise Java?
Architect's Guide
Architect's Guide
Aug 18, 2026 · Backend Development

Boost CRUD Development Speed 100× with This Open‑Source Code Generator

Manually creating entity classes, CRUD interfaces and SQL for dozens of tables can consume dozens of hours, so the author built an open‑source tool that automatically generates the full backend stack—from table definition to Java models, MyBatis mappers, services and controllers—dramatically accelerating development.

AutomationBackendCRUD
0 likes · 17 min read
Boost CRUD Development Speed 100× with This Open‑Source Code Generator
Java Tech Workshop
Java Tech Workshop
Aug 18, 2026 · Backend Development

Beyond Adding Indexes: From Disk Pages to B+Tree – Master MySQL Index Design and Operation

This article explains why indexes speed up queries by reducing disk I/O, dives into MySQL's page structure and B+Tree evolution, compares clustered and secondary indexes, clarifies composite index rules, lists common index‑misuse scenarios, and provides seven practical guidelines for designing efficient MySQL indexes.

B+TreeComposite IndexDatabase Performance
0 likes · 20 min read
Beyond Adding Indexes: From Disk Pages to B+Tree – Master MySQL Index Design and Operation
Cloud Architecture
Cloud Architecture
Aug 17, 2026 · Backend Development

Go Microservice Stability: Rate Limiting, Circuit Breaking, Degradation and K8s Production Architecture

The article walks through a real‑world traffic spike in an e‑commerce order service, explains why isolated techniques like rate limiting, circuit breaking or degradation are insufficient, and presents a complete, layered stability‑governance solution for Go microservices running on Kubernetes, complete with code, configuration, observability and testing guidance.

GoKubernetesRate Limiting
0 likes · 42 min read
Go Microservice Stability: Rate Limiting, Circuit Breaking, Degradation and K8s Production Architecture
Cloud Architecture
Cloud Architecture
Aug 17, 2026 · Backend Development

Comprehensive Guide to Building an Enterprise‑Grade Distributed ID System in Go

This article walks through the full design and production‑ready implementation of a Go‑based distributed ID service, comparing Snowflake and Leaf Segment algorithms, detailing a dual‑engine architecture, SDK caching, scaling on Kubernetes, observability, deployment, and performance testing for high‑throughput enterprise applications.

GoKubernetesLeaf Segment
0 likes · 36 min read
Comprehensive Guide to Building an Enterprise‑Grade Distributed ID System in Go
Ray's Galactic Tech
Ray's Galactic Tech
Aug 17, 2026 · Backend Development

From DB Row Locks to Redis + Lua: Evolving Flash‑Sale Inventory Deduction

The article walks through the evolution of a flash‑sale inventory‑deduction system, starting with simple database row‑locking SQL, exposing its scalability limits, and progressively adding transaction trimming, Redis pre‑deduction, Lua atomic scripts, async pipelines, idempotency, reconciliation and robust engineering practices to handle extreme concurrency.

AsyncProcessingHighConcurrencyInventoryDeduction
0 likes · 40 min read
From DB Row Locks to Redis + Lua: Evolving Flash‑Sale Inventory Deduction
Java Architect Handbook
Java Architect Handbook
Aug 17, 2026 · Backend Development

Interview Question: What Is Flash‑Sale Warmup and Why Does It Matter?

The article explains warmup (prewarm) as the practice of moving a Java system from a cold to a hot state before traffic arrives, covering JVM JIT compilation, cache preloading, connection‑pool and thread‑pool initialization, service gray‑release, and how these steps prevent cold‑start failures in high‑concurrency scenarios.

Connection PoolHigh ConcurrencyJVM
0 likes · 13 min read
Interview Question: What Is Flash‑Sale Warmup and Why Does It Matter?
Yumin Fish Harvest
Yumin Fish Harvest
Aug 17, 2026 · Backend Development

How to Implement Distributed ID Generation with Segment Mode? A Double‑Buffer Issuer in Practice

The article analyses lock contention caused by per‑request ID generation, derives a segment‑based solution that batches IDs using a configurable step, defines a left‑closed/right‑open interval schema in MySQL, and builds a double‑buffer Java issuer with asynchronous pre‑loading, thorough concurrency handling, testing, and configuration guidelines.

JavaMySQLconcurrency
0 likes · 21 min read
How to Implement Distributed ID Generation with Segment Mode? A Double‑Buffer Issuer in Practice
Architecture Digest
Architecture Digest
Aug 17, 2026 · Backend Development

From a Naïve Scheduled Task to Scalable Delayed‑Task Solutions for 10M+ Orders

The article dissects a common interview question about automatically canceling unpaid orders, explains why a simple cron job fails at massive scale, and presents three robust designs—Redis expiration, Redis ZSet polling, and MQ/time‑wheel approaches—plus pitfalls and a ready‑to‑use answer template.

Delayed TaskDistributed SystemsMessage Queue
0 likes · 11 min read
From a Naïve Scheduled Task to Scalable Delayed‑Task Solutions for 10M+ Orders
Su San Talks Tech
Su San Talks Tech
Aug 17, 2026 · Backend Development

Why Is kkFileView Gaining Popularity Among Developers?

The article analyzes why kkFileView, an open‑source Spring Boot microservice that leverages LibreOffice for document conversion, has become the go‑to solution for browser‑based file preview by examining its architecture, workflow, feature set, deployment options, performance tweaks, and comparisons with other approaches.

DockerLibreOfficeRESTful API
0 likes · 16 min read
Why Is kkFileView Gaining Popularity Among Developers?
Java Tech Workshop
Java Tech Workshop
Aug 17, 2026 · Backend Development

How to Keep Redis and MySQL Consistent? Update DB First or Delete Cache First?

This article analyzes why cache and database can become inconsistent, compares four basic cache‑update patterns, explains the delayed double‑delete technique, shows how to use MQ for retrying cache deletions, and evaluates Canal binlog subscription as a zero‑intrusion solution for strong eventual consistency.

Cache AsideCache ConsistencyCanal Binlog
0 likes · 28 min read
How to Keep Redis and MySQL Consistent? Update DB First or Delete Cache First?
Eric Tech Circle
Eric Tech Circle
Aug 17, 2026 · Backend Development

WeChat Mini Program Virtual Payment Integration: Lessons Learned and Common Pitfalls

This article walks through switching a Mini Program’s membership, subscription, and virtual‑goods purchases to WeChat’s virtual payment system, detailing the differences from V3 payment, the three‑stage flow (initiation, confirmation, refund), and dozens of concrete pitfalls such as order‑ID reuse, push reliability, iOS refund limits, sandbox charging, and configuration latency.

Payment IntegrationSandbox TestingVirtual Payment
0 likes · 11 min read
WeChat Mini Program Virtual Payment Integration: Lessons Learned and Common Pitfalls
LuTiao Programming
LuTiao Programming
Aug 17, 2026 · Backend Development

Implementing a Net‑Disk‑Style 10 GB File Upload with Spring Boot: No Restart After Interrupt

The article explains why the standard MultipartFile upload fails for multi‑gigabyte files, then details a Spring Boot solution that splits files into 10 MB chunks, uses SHA‑256 hashes for identification, supports resumable and instant uploads, and safely merges chunks on the server.

Backend DevelopmentChunked UploadInstant Upload
0 likes · 11 min read
Implementing a Net‑Disk‑Style 10 GB File Upload with Spring Boot: No Restart After Interrupt