filmov
tv
Implementing Distributed Transactions using Two Phase Commit Protocol
Показать описание
Build Your Own Redis / DNS / BitTorrent / SQLite - with CodeCrafters.
In the previous video, I explained the theoretical aspects of a distributed transaction using a two-phase commit protocol. In this video, I implemented the protocol locally using Zometro's 10-minute food delivery scenario. I detailed the components needed, database schema understanding, and how the two-phase commit protocol ensures atomicity. By splitting the process into preparation and commitment phases, we achieved atomic transactions. The key focus was on user experience and avoiding resource contention in a distributed setup. The architecture involved order, store, and delivery services communicating to ensure seamless transactional experiences.
# Recommended videos and playlists
If you liked this video, you will find the following videos and playlists helpful
# Things you will find amusing
# Other socials
I keep writing and sharing my practical experience and learnings every day, so if you resonate then follow along. I keep it no fluff.
Thank you for watching and supporting! it means a ton.
I am on a mission to bring out the best engineering stories from around the world and make you all fall in
love with engineering. If you resonate with this then follow along, I always keep it no-fluff.
Комментарии