~/talk

Replication based Multi-Master solutions and design patterns

Talkat PostgresOpen Silicon Valley 2017 · 2017-09-06..09-08· [databases]
links:none on file
slides:none on file

Describes a WAL‑based mesh that implements BDR logical replication to keep regional Postgres nodes (Tokyo, New York, Sydney) in sync, using node‑independent primary keys (timestamp+nodeID+local sequence), supporting different Postgres versions per node, and allowing partial replication for low latency (local reads ~5ms vs cross‑country ~100ms). Replication is eventually consistent with last‑update‑wins by default, uses replication slots, logs conflicts for testing, and is production‑used by carriers and disconnected fleets—works with zero‑downtime failover.

AI-written summary · about

  1. 0:00Start
  2. 8:07Shared Nothing Architecture
  3. 10:33Recap
  4. 12:38Stock Postgres Availability Solutions
  5. 19:16Zero Downtime Failover
  6. 19:35The Beauties of Logical Replication
  7. 22:35Design Principles
  8. 23:27Primary Key Generation
  9. 26:10Node Independent Algorithm
  10. 30:50Master Architecture
  11. 32:27Conflicts
  12. 35:29Test for Conflicts
~/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.