The Backend Engineering Show with Hussein Nasser cover image

Distributed Transactions are Hard (How Two-Phase Commit works)

The Backend Engineering Show with Hussein Nasser

00:00

Ensure Atomicity in a Distributed Transaction

An atomic transaction is a process where the states and data that I'm changing are completely different machines. How do I ensure atomicity? Now this is a big problem, right? And now what you have partitioning in your database, then there is no longer guarantees consistency. You cannot get a guarantee consistency. But that's pretty much it. Because you're now physically separating the end, there is a link that tolerable for failure.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app