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

> Episode of [The Backend Engineering Show with Hussein Nasser](https://podistic.com/podcast/the-backend-engineering-show-with-hussein-nasser.md) · Published May 11, 2022 · Duration 16:23

- **Listen on Podistic:** https://podistic.com/episode/distributed-transactions-are-hard-how-two-phase-commit-works
- **Audio:** https://traffic.megaphone.fm/APO4087137144.mp3 (audio/mpeg)

## About this episode

In this video I explain how we can use two-phase commit protocol works to achieve atomic distributed transaction.   0:00 What is atomicity  3:00 Distributed Transaction 6:00 Two phase commit protocol 13:00 Limitations of Two phase commit protocol    Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon) https://network.husseinnasser.com Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon) https://database.husseinnasser.com
