Tag

Saga

1 views collected around this technical thread.

Architects Research Society
Architects Research Society
Dec 29, 2023 · Backend Development

Understanding the Saga Pattern for Distributed Transactions in Microservices

The article explains the challenges of distributed transactions in microservices, introduces the Saga pattern as a solution, compares choreography and orchestration implementations, and outlines their benefits, drawbacks, and rollback mechanisms using an e‑commerce order processing example.

ChoreographyOrchestrationSaga
0 likes · 7 min read
Understanding the Saga Pattern for Distributed Transactions in Microservices
Shopee Tech Team
Shopee Tech Team
Jul 13, 2023 · Backend Development

Design and Implementation of seadt-SAGA Distributed Transaction Framework

The article details Shopee’s seadt‑SAGA framework—a Go‑based distributed transaction solution that implements the SAGA pattern via two modes, orchestration with a central coordinator and collaboration with embedded logic, explains their state‑machine designs, compares rollback ordering using vector clocks versus sequence numbers, and discusses each mode’s trade‑offs.

GoOrchestrationSaga
0 likes · 23 min read
Design and Implementation of seadt-SAGA Distributed Transaction Framework
360 Tech Engineering
360 Tech Engineering
May 30, 2023 · Backend Development

Distributed Transaction Solutions: XA, TCC, and SAGA with DTM Implementation

This article analyzes the challenges of distributed transactions in a micro‑service order system, compares XA, TCC, and SAGA patterns, and details how the open‑source DTM framework is applied to achieve reliable order creation while handling crashes, rollbacks, idempotency, and network anomalies.

BackendSagaXA
0 likes · 15 min read
Distributed Transaction Solutions: XA, TCC, and SAGA with DTM Implementation
Architecture Digest
Architecture Digest
Feb 8, 2023 · Backend Development

Distributed Transaction Solutions with Seata: ACID, CAP, BASE and Implementation Modes

This article explains the challenges of distributed transactions in micro‑service architectures and presents Seata's various solutions—including two‑phase commit, XA, AT, TCC, Saga and message‑based approaches—while covering fundamental concepts such as ACID, CAP and BASE.

2PCSagaXA
0 likes · 24 min read
Distributed Transaction Solutions with Seata: ACID, CAP, BASE and Implementation Modes
Architects Research Society
Architects Research Society
Dec 11, 2022 · Backend Development

Understanding the Saga Pattern for Distributed Transactions in Microservices

The article explains how the Saga pattern—using either choreography or orchestration—enables reliable distributed transactions across microservices by coordinating local ACID operations, handling compensating actions, and addressing the challenges of consistency, rollback, and scalability.

ChoreographyOrchestrationSaga
0 likes · 9 min read
Understanding the Saga Pattern for Distributed Transactions in Microservices
Architects Research Society
Architects Research Society
Dec 9, 2022 · Cloud Native

Common Pitfalls in Microservice Integration and How to Mitigate Them

The article examines three common microservice integration pitfalls—complex communication, asynchronous challenges, and distributed transaction difficulties—and proposes resilient solutions using fast‑fail patterns, timeout handling, and stateful compensation via lightweight workflow engines to simplify architecture and improve reliability.

AsynchronousFailure HandlingSaga
0 likes · 17 min read
Common Pitfalls in Microservice Integration and How to Mitigate Them
Sanyou's Java Diary
Sanyou's Java Diary
Oct 27, 2022 · Backend Development

Seata Distributed Transactions Explained: Compensation, 2PC, AT, TCC, XA, Saga

This article introduces Seata's approach to distributed transactions, covering the concept of reverse compensation, core components (TC, TM, RM), the two‑phase commit protocol, and detailed walkthroughs of Seata's AT, TCC, XA, and Saga modes with practical examples and diagrams.

AT ModeSagaTwo-Phase Commit
0 likes · 14 min read
Seata Distributed Transactions Explained: Compensation, 2PC, AT, TCC, XA, Saga
Baidu Geek Talk
Baidu Geek Talk
May 11, 2022 · Backend Development

Distributed Transactions: Concepts, TCC and Saga Patterns, and Practical Implementation

The article explains how micro‑service architectures create data‑consistency challenges that require distributed transaction strategies, compares strong‑consistency protocols like 2PC/3PC with eventual‑consistency approaches such as TCC and Saga patterns, and discusses their trade‑offs, implementation complexity, and suitability for real‑world scenarios like a points‑based sign‑in system.

Sagadatabase consistencydistributed transactions
0 likes · 11 min read
Distributed Transactions: Concepts, TCC and Saga Patterns, and Practical Implementation
IT Architects Alliance
IT Architects Alliance
Oct 27, 2021 · Backend Development

Common Mistakes When Building Microservices and Lessons Learned

The article reviews the most frequent errors encountered while adopting microservice architecture—excessive customization, uncontrolled complexity, and vague definitions—illustrating each with real‑world experiences, a saga implementation using Redis streams and Go, and practical advice to avoid similar pitfalls.

GoRedisSaga
0 likes · 6 min read
Common Mistakes When Building Microservices and Lessons Learned
Top Architect
Top Architect
Oct 23, 2021 · Backend Development

Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations

This article explains the fundamentals of distributed transactions, compares classic solutions such as two‑phase commit (XA), SAGA, TCC, local message tables, transaction messages, and maximum‑effort notifications, and presents a sub‑transaction barrier technique to handle network anomalies and ensure idempotency, isolation, and rollback safety.

BackendSagaXA
0 likes · 15 min read
Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations
Top Architect
Top Architect
Oct 17, 2021 · Cloud Native

How Redis Simplifies Microservice Design Patterns, Distributed Transactions, and Observability

This article explains how Redis can be used to implement and simplify a wide range of microservice design patterns—including bounded contexts, asynchronous messaging, orchestrated sagas, transaction inboxes, telemetry, event sourcing, CQRS, and shared data—while improving performance, scalability, and observability in cloud‑native architectures.

CQRSDesign PatternsObservability
0 likes · 16 min read
How Redis Simplifies Microservice Design Patterns, Distributed Transactions, and Observability
Top Architect
Top Architect
Sep 23, 2021 · Backend Development

Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations

This article explains the fundamentals of distributed transactions, illustrates classic solutions such as two‑phase commit (XA), SAGA, TCC, local message tables, transactional messaging, and maximum‑effort notifications, and introduces a sub‑transaction barrier technique to handle network anomalies in microservice architectures.

BackendSagaXA
0 likes · 19 min read
Distributed Transaction Solutions: Theory, Patterns, and Practical Implementations
Architecture Digest
Architecture Digest
Sep 21, 2021 · Fundamentals

Classic Solutions for Distributed Transactions: Theory and Practical Patterns

This article introduces the fundamental concepts of distributed transactions, explains ACID and BASE properties, and systematically presents classic solutions such as two‑phase commit, SAGA, TCC, local message tables, transaction messages, maximum‑effort notifications, and sub‑transaction barriers for reliable microservice architectures.

SagaTwo-Phase Commitdistributed transactions
0 likes · 16 min read
Classic Solutions for Distributed Transactions: Theory and Practical Patterns
Top Architect
Top Architect
Sep 16, 2021 · Backend Development

Understanding Distributed Transaction Protocols: XA, 2PC, 3PC, TCC, Saga, and Reliable Message Consistency

This article explains the principles, advantages, and drawbacks of various distributed transaction solutions—including XA two‑phase commit, three‑phase commit, TCC, Saga, and message‑based eventual consistency—while showing how they are implemented in Java/Spring environments and when each should be used.

3PCBackendSaga
0 likes · 16 min read
Understanding Distributed Transaction Protocols: XA, 2PC, 3PC, TCC, Saga, and Reliable Message Consistency
Code Ape Tech Column
Code Ape Tech Column
Sep 10, 2021 · Fundamentals

What Is a Distributed Transaction? Theory, Challenges, and Common Solutions

The article explains the concept of distributed transactions, why they are needed in micro‑service architectures, presents the CAP and BASE theories, and reviews major solutions such as two‑phase commit, three‑phase commit, TCC, local message tables, message‑based transactions, max‑effort notifications, Sagas and the Seata framework.

2PC3PCCAP theorem
0 likes · 15 min read
What Is a Distributed Transaction? Theory, Challenges, and Common Solutions
IT Architects Alliance
IT Architects Alliance
Aug 26, 2021 · Backend Development

Business Classification and Distributed Transaction Solutions with DTM, SEATA, and RocketMQ

The article classifies common microservice business scenarios, matches each with suitable distributed transaction patterns such as reliable messages, TCC, SAGA, and XA, and demonstrates practical implementations using DTM, SEATA, and RocketMQ with code examples and a feature comparison table.

Sagadistributed transactionsdtm
0 likes · 8 min read
Business Classification and Distributed Transaction Solutions with DTM, SEATA, and RocketMQ
Architects Research Society
Architects Research Society
Jun 18, 2021 · Backend Development

Understanding the Saga Pattern for Distributed Transactions in Microservices

The article explains why traditional two‑phase commit fails in microservice architectures, introduces the Saga pattern as a solution, compares choreography and orchestration implementations, illustrates a step‑by‑step e‑commerce example, and discusses rollback handling, benefits, and drawbacks.

ChoreographyOrchestrationSaga
0 likes · 7 min read
Understanding the Saga Pattern for Distributed Transactions in Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Jun 17, 2021 · Backend Development

Design Patterns for Microservice Architecture

This article explains key microservice design patterns—including Database per Service, Event Sourcing, CQRS, BFF, API Gateway, Strangler, Circuit Breaker, Externalized Configuration, and Consumer‑Driven Contract Testing—detailing their advantages, disadvantages, suitable scenarios, and example technologies for building scalable, resilient backend systems.

CQRSDesign PatternsEvent Sourcing
0 likes · 26 min read
Design Patterns for Microservice Architecture