← Questions

Design a protocol for distributed transactions

0
GoogleSystem designLast asked Sep 2025

A transaction must update data held by several independent services or shards, so that either all changes happen or none do. Design the protocol: how participants agree to commit, what happens when the coordinator or a participant crashes mid-way, timeouts and recovery, and when a saga with compensating steps is a better fit.

Your canvas
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing