Distributed Transactions
Everything on SkillVeris tagged Distributed Transactions — collected across the glossary, study notes, blog, and cheat sheets.
11 resources across 2 libraries
Study Notes(1)
Interview Questions(10)
What is Two-Phase Commit for Distributed Transactions?
Two-phase commit (2PC) is a protocol that lets a coordinator get multiple independent database participants to agree on committing or aborting a single distrib…
What is the Saga Pattern in Microservices?
The Saga pattern manages a business transaction that spans multiple microservices by breaking it into a sequence of local transactions, where each step publish…
How Would You Design a Payment System?
A payment system is designed around an idempotent, append-only ledger where every state transition (authorize, capture, settle, refund) is recorded as an immut…
How Would You Design a Hotel Booking System?
A hotel booking system is designed around a date-ranged inventory model where each room type’s availability is tracked per night, reservations acquire a short-…
How to Design an Airline Reservation System?
An airline reservation system is designed around a strongly consistent seat-inventory service that uses optimistic locking or short-lived holds to prevent doub…
What is Two-Phase Commit (2PC)?
Two-phase commit (2PC) is a distributed transaction protocol where a coordinator asks every participant to vote on whether it can commit a transaction (the pre…
What is the Saga Pattern?
The saga pattern breaks a distributed transaction into a sequence of local transactions, each owned by a different service, where every step has a correspondin…
What are Distributed Transactions and How Do They Work?
A distributed transaction is a set of operations spanning multiple independent services or databases that must all succeed or all fail together, typically coor…
Orchestration vs Choreography in Microservices: What is the Difference?
Orchestration coordinates a multi-service workflow through a central controller that explicitly tells each service what to do and in what order, while choreogr…
What Is the Saga Pattern in Distributed Transactions?
The saga pattern manages a business transaction that spans multiple services by breaking it into a sequence of local transactions, each with a corresponding co…