Tagged articles
11 articles
Page 1 of 1
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.

Seatadistributed-lockdistributed-transaction
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.

Microservicesbackend designclearing settlement
0 likes · 18 min read
How a Modular Transaction System Drives Scalable Membership Services
Architect
Architect
Sep 23, 2024 · Backend Development

Ensuring Idempotency in Order Services: Preventing Duplicate Orders and Solving the ABA Problem

This article explains how to achieve idempotent order creation and updates by using unique request identifiers, database primary‑key constraints, Redis flags, and optimistic locking with version columns, thereby preventing duplicate orders and solving the ABA problem in distributed backend systems.

ABA problemIdempotencyoptimistic locking
0 likes · 11 min read
Ensuring Idempotency in Order Services: Preventing Duplicate Orders and Solving the ABA Problem
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 problemIdempotencyoptimistic locking
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 problemIdempotencyoptimistic locking
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