
Distributed Transactions are Hard (How Two-Phase Commit works)
The Backend Engineering Show with Hussein Nasser
00:00
Getting Consistent Consistency With Two-Phase Commits
The bad thing about the two phase commit protocol is that it's not perfect like any other distributed protocol. The moment you break down your sharded databases, you have eventual consistency, right? It's very, very hard to have strong consistency and listen to very certain situations, right? Where you have very strong guarantees about these situations, right?"
Transcript
Play full episode