// TOPIC
#transactions
2 articles
◆◆◆AdvancedGoogleUber
01Design a Globally-Distributed SQL Database (Spanner / CockroachDB)
SQL transactions that are ACID across continents. How Spanner shards into Paxos groups, runs 2PC on top, and uses TrueTime to give you external consistency — the CP counterpart to Dynamo.
#interview#distributed-systems#databases
13 min◆◆◆AdvancedAmazonUber
02The Saga Pattern & Distributed Transactions
How do you keep data consistent across services with no shared database? Sagas, compensating transactions, orchestration vs choreography, and why 2PC fails at scale.
#distributed-systems#transactions#microservices
17 min