Tagged articles

message consistency

4 articles · Page 1 of 1
Top Architect
Top Architect
Aug 8, 2021 · Databases

Understanding XA, 2PC, 3PC, JTA, TCC and Reliable Message Consistency in Distributed Transactions

This article explains the principles, workflows, advantages and drawbacks of various distributed transaction solutions—including XA two‑phase commit, Java Transaction API, chained transaction managers, three‑phase commit, TCC, reliable message‑based eventual consistency and maximum‑effort notification—while comparing ACID and BASE theories for modern backend systems.

2PC3PCJTA
0 likes · 13 min read
Understanding XA, 2PC, 3PC, JTA, TCC and Reliable Message Consistency in Distributed Transactions
Amap Tech
Amap Tech
May 11, 2021 · Backend Development

Design and Implementation of a Scalable Order State Machine for Complex Multi‑Dimensional Order Processing

The article presents a scalable, two‑dimensional order state machine architecture that separates vertical business isolation via annotated StateProcessor classes from horizontal logic reuse through modular checkers and plugins, employing distributed locks, optimistic DB locking, and a registry to ensure extensible, consistent multi‑dimensional order processing.

State Machineconcurrencydesign patterns
0 likes · 30 min read
Design and Implementation of a Scalable Order State Machine for Complex Multi‑Dimensional Order Processing