~/talk

Governor: Postgres HA Orchestator

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

Governor is a Postgres HA orchestrator that originally uses etcd + Python Governor to store WAL positions, run initialization races, and provide automatic leader election, failover and refollow; it works but scales poorly because HTTP retries to a central etcd create brief mass outages. The new design bakes Raft into each node using Go and canoe (Go raft wrapper) combining etcd‑raft and HashiCorp raft, shifting from polling to a subscription model and improving failover from 30 seconds vs near‑instant while adding quorum and operational complexity.

AI-written summary · about

  1. 0:00Start
  2. 8:48Josh Deare
  3. 9:03What is Governor?
  4. 23:42Where are the weak points?
  5. 24:18Demonstration of Failure
  6. 25:58Failure starts when you can't trust the response from etcd
  7. 31:29Tradeoff: complexity
  8. 32:22Step one: research the RAFT world
  9. 33:55Step two: prototype with some RAFT libraries
  10. 34:54Step three: decide the best route from RAFT libraries
  11. 36:24Step five: use that abstraction to move Postgres through the logic flow
~/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.