Tag

saga pattern

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Jul 7, 2020 · Databases

Database Design Principles for Microservices: Independent Databases, Data Sharing Strategies, Backward‑Compatible Updates, and Saga Transactions

This article explains why each microservice should own its own database, outlines four data‑sharing approaches, describes how to perform backward‑compatible schema changes, and introduces the Saga pattern for cross‑service transactions, providing practical guidance for building robust microservice architectures.

Backward CompatibilityData SharingDatabase Design
0 likes · 14 min read
Database Design Principles for Microservices: Independent Databases, Data Sharing Strategies, Backward‑Compatible Updates, and Saga Transactions
Architects Research Society
Architects Research Society
Mar 6, 2020 · Backend Development

Ensuring Data Consistency Across Microservices: Saga, Reconciliation, Event Sourcing, and Change Data Capture

The article explains why achieving data consistency across multiple microservices is challenging, reviews the limitations of two‑phase commit, and presents practical techniques such as the Saga pattern, reconciliation, event logs, orchestration vs. choreography, and change‑data‑capture to keep distributed systems eventually consistent.

CDCEvent Sourcingdata consistency
0 likes · 12 min read
Ensuring Data Consistency Across Microservices: Saga, Reconciliation, Event Sourcing, and Change Data Capture
Architects Research Society
Architects Research Society
Jan 21, 2019 · Backend Development

Understanding the Saga Pattern for Distributed Transactions in Microservices

The article explains the Saga pattern as a solution for managing distributed transactions in microservice architectures, comparing event‑driven choreography and command‑oriented orchestration approaches, and discusses their benefits, drawbacks, and rollback strategies.

Event ChoreographyOrchestrationcompensation
0 likes · 9 min read
Understanding the Saga Pattern for Distributed Transactions in Microservices
Architecture Digest
Architecture Digest
Sep 7, 2018 · Databases

Understanding Distributed Transactions: From XA to CAP, BASE, 2PC, 3PC, TCC, and Saga

The article explains the necessity of transactions, traces their origins from database XA specifications to modern distributed systems, compares CAP and BASE theories, and reviews mainstream solutions such as two‑phase commit, three‑phase commit, TCC, asynchronous messaging, and the Saga pattern.

BASE theoryCAP theoremTwo-Phase Commit
0 likes · 14 min read
Understanding Distributed Transactions: From XA to CAP, BASE, 2PC, 3PC, TCC, and Saga