~/talk

Distributed transactions implementation trade-offs

Talkat Hydra 2022 · 2022-06-02..06-26· [databases, distributed-systems]
links:none on file
slides:none on file

Explains why ACID needs careful engineering in sharded, replicated systems: two-phase commit blocks on coordinator failure and requires manual recovery; leader-based replication forces writes through a leader and leader election can take ~10s, causing brief unavailability; Spanner-style designs use a TrueTime commit-wait (GPS/clock sync plus wait) to get external consistency but add 100ms+ cross-datacenter latency; hotspots and global indexes blow up performance (benchmarks move from ~100ms to multiple seconds). Advises configuring durability, testing with real peak workloads, and reading DB docs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50What is a transaction
  3. 8:28Transaction isolation levels
  4. 15:04Commit log role
  5. 21:49Distributed sum calculation issues
  6. 27:28High availability and replication
  7. 38:38Two-phase commit
  8. 44:17Time sync problems
  9. 51:16Performance versus consistency
  10. 57:36Database tuning for transactions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.