Katkat

Design distributed transactions protocol

GoogleSoftware Engineer · Technical Screen

Last updated

This question evaluates a candidate's understanding of distributed transactions, coordination protocols, fault tolerance, consistency, and reliability across microservices and databases.

Design a distributed transactions protocol to coordinate updates across multiple services or databases. Compare two-phase commit, three-phase commit, and Saga patterns; specify message flows, failure handling, idempotency, timeouts, and exactly-once versus at-least-once guarantees.