~/talk

Multi master replication for painless fault tolerance

Talkat PGConf Silicon Valley 2016 · 2016-11-14..11-16· [distributed-systems]
links:none on file
slides:none on file

A multimaster system built as a Postgres Pro extension runs on a Postgres 9.6 patch and turns every commit into a prepare, uses a modified logical replication / pgl client plus an Arbiter background worker to count votes, and implements Clock-SI style snapshot isolation so cluster-wide transactions are atomic while majority of nodes remain up. DDL is replicated at statement level, tests run in Docker (banking transfer test with injected partitions), catchup stops after a configurable ~10MB window, and commit latency needs two network round trips so geo‑replication is costly.

AI-written summary · about

  1. 0:00Start
  2. 3:47TLDR: replica recovery
  3. 5:45Design objectives: OLAP vs. OLTP
  4. 6:51Design objectives: replication
  5. 8:00Posgres Design objectives: transaction manager
  6. 8:48Design objectives: liveness
  7. 11:10Implementation
  8. 22:32Configuration
  9. 25:18Testing
  10. 29:49Roadmap
~/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.