Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Principal Engineer, Google Backend
·
Module 5
Advanced Distributed Transactions
1
Understanding the Two-Phase Commit Protocol: Blocking and Failures
Analyze the two-phase commit (2PC) protocol, its blocking nature, and common failure modes.
Distributed Transaction Approaches: 2PC, Paxos Commit, and SAGA
Compare distributed transaction approaches: 2PC, Paxos Commit, and the SAGA pattern.
3
Two-Phase Locking and Distributed Serializability
Analyze the role of two-phase locking in achieving serializability in distributed databases.
4
TrueTime's Role in Externally Consistent Transactions
Explain the role of a high-precision clock source like TrueTime in enabling externally consistent transactions.
5
Spanner's Globally Distributed Transactions
Analyze how Spanner implements globally distributed transactions using TrueTime, Paxos, and two-phase locking.
6
Cross-Shard Transactions Beyond Spanner
Analyze strategies for handling cross-shard transactions in a non-Spanner-like database.
Distributed Locking for Exclusive Task Execution
Design a coordination strategy for ensuring exclusive execution of a critical task using a distributed lock.
8
Distributed Transactions vs. Eventual Consistency
Evaluate when to use distributed transactions versus eventual consistency for a given business process.
Previous module
Google-Scale Distributed Databases
Next module
Large-Scale Data Processing Paradigms