~/talk

Patroni Deployment Patterns

Talkat PostgreSQL Conference Europe 2024 · 2024-10-22..10-25· [databases]
links:none on file
slides:none on file

Patroni manages Postgres high availability using a distributed consensus store (etcd/Consul/ZooKeeper or the deprecated pync raft) plus a REST API and integrates with Kubernetes operators and HAProxy. Recommended deployments use 3 DCS nodes, keep key TTL (~30s) and loop/retry settings tuned, and expect pg_rewind on rejoin and automatic replication slot TTL (~30min). For multi‑region either run one stretched cluster (needs three regions for safe auto failover) or separate standby clusters; fail‑safe mode lets a primary continue when DCS is unreachable; synchronous quorum supports stricter commit guarantees.

AI-written summary · about

  1. 0:00Introduction to Patroni
  2. 2:09Patroni features and setup
  3. 10:05Architecture and leader election
  4. 17:48Deployment topologies
  5. 25:21Advanced management and configuration
  6. 42:43Multi-datacenter deployments
  7. 46:20DCS resilience and best practices
  8. 49:44Conclusion
~/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.