Распределенные транзакции

In this video, I talk about distributed transactions. I'll cover approaches like Transactional Outbox, 2-phase commit, and SAGA. I'll describe how these approaches work and when to use each. I'll mention the following technologies: AWS Step Functions Temporal Clickhouse, YugabyteDB, YandexDB, Google Spanner Telegram channel (chat available): https://t.me/distributed_system_design System design roadmap: https://system-design-roadmap.ru For other questions: [email protected] Timecodes: 00:00 Regular transactions 01:56 Distributed transactions 02:45 Transactional Outbox 05:03 When Transactional Outbox isn't enough 07:09 2-phase commit - a common example 10:13 2-phase commit - how it works in databases 12:54 2-phase commit - how strong consistency is achieved 15:21 Problems with 2-phase commit 22:10 SAGA 22:37 Choreographic SAGA 31:48 Orchestral SAGA 36:15 Conclusion and examples of orchestral SAGA