Skip to content
Tagged articles

Order Service

13 articles · Page 1 of 1
Cloud Architecture
Cloud Architecture
Oct 21, 2026 · Backend Development

Beyond Handlers: Reliable Order Services with Kratos — Layering, Idempotency, Consistency & Capacity Governance

This article details how to build a production-grade order service using Kratos v2, MySQL, Kafka, and Kubernetes, covering idempotency keys, outbox pattern, inventory reservation, state machines, context/timeouts, middleware, observability, Kubernetes probes, capacity planning for 8000 QPS, and automated fault-injection tests.

IdempotencyInventory ReservationKratos
0 likes · 63 min read
Beyond Handlers: Reliable Order Services with Kratos — Layering, Idempotency, Consistency & Capacity Governance
LuTiao Programming
LuTiao Programming
Sep 22, 2026 · Backend Development

Beyond Distributed Locks: Three-Layer Idempotency for Spring Boot Order APIs

The article demonstrates why distributed locks alone fail to guarantee idempotency in Spring Boot order APIs, and presents a three-layer solution combining Idempotency-Key with request fingerprinting, Redis SET NX for fast duplicate interception, and a database unique constraint as the ultimate safeguard against duplicate orders even after crashes or Redis failures.

API DesignDistributed LocksIdempotency
0 likes · 25 min read
Beyond Distributed Locks: Three-Layer Idempotency for Spring Boot Order APIs
Java Captain
Java Captain
Jun 3, 2025 · Backend Development

Implementation of Order Service with Distributed Transactions, Locks, and Asynchronous Processing in Java

This article explains how to build a robust order service using Seata distributed transactions, Redisson distributed locks, CompletableFuture for asynchronous operations, token-based duplicate‑submission prevention, and RabbitMQ delayed queues for automatic order cancellation, with full Java code examples.

Distributed LockOrder ServiceSeata
0 likes · 21 min read
Implementation of Order Service with Distributed Transactions, Locks, and Asynchronous Processing in Java
Architect
Architect
Mar 14, 2025 · Backend Development

How a Modular Transaction System Drives Scalable Membership Services

This article provides a comprehensive technical deep‑dive into a modular transaction system for large‑scale membership services, covering its architecture, core workflow, component design, configuration details, order and signing services, product handling, settlement process, and stability mechanisms.

Order Servicebackend designclearing settlement
0 likes · 18 min read
How a Modular Transaction System Drives Scalable Membership Services
Architecture Digest
Architecture Digest
Dec 12, 2023 · Backend Development

Ensuring Idempotency and Solving the ABA Problem in Order Services

This article explains how to achieve idempotent order creation and updates in backend services by using database transactions, unique request identifiers, Redis flags, and optimistic locking with a version column to prevent duplicate submissions and solve the ABA problem.

ABA problemIdempotencyOrder Service
0 likes · 10 min read
Ensuring Idempotency and Solving the ABA Problem in Order Services
Java Backend Technology
Java Backend Technology
Aug 15, 2023 · Backend Development

How to Ensure Order Service Idempotency and Prevent Duplicate Orders

This article explains how to achieve idempotent order creation and updates in backend services by using unique request identifiers, database unique constraints, Redis flags, and optimistic locking with version columns, while also addressing the ABA problem with practical code examples and diagrams.

ABA problemIdempotencyOrder Service
0 likes · 10 min read
How to Ensure Order Service Idempotency and Prevent Duplicate Orders
Ctrip Technology
Ctrip Technology
Jul 30, 2020 · Backend Development

Design and Implementation of a Distributed Ticket Order Cache System at Ctrip

This article describes how Ctrip's ticket order post‑service team identified scaling bottlenecks, selected Redis, designed a two‑level cache architecture, implemented active and passive caching strategies, tackled consistency and failure issues, and applied various optimizations to achieve over 90% cache hit rate and dramatically reduce database load.

CacheCtripOrder Service
0 likes · 14 min read
Design and Implementation of a Distributed Ticket Order Cache System at Ctrip