~/talk

Behind the Scenes of a Highly Available Infrastructure

TalkinFrenchat PG Day France 2019 · on Wednesday, 2019-06-19· [infrastructure-as-code, devops-and-delivery]
links:none on file
slides:none on file

A production PostgreSQL architecture using Patroni with Consul or Zookeeper for automatic leader election, plus per-node HAProxy, VIPs and keepalived to route read/write and read-only pools. A dedicated backup replica uses ZFS snapshots sent offsite and to developer VMs for tested restores; logical decoding feeds Kafka for analytics; cluster upgrades are scripted (9.6 → 10/12). Results include fewer alerts and much faster recovery, with remaining migration risks such as charsets, sequences and logical-replication quirks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06High availability needs
  3. 3:59Database cluster topology
  4. 5:03Automated failover with Patroni
  5. 8:39Traffic redirection with HAProxy
  6. 10:48Service discovery with Consul
  7. 13:55Load balancing and VIP management
  8. 17:27Transparent proxy protocol
  9. 19:35Backup and restore strategies
  10. 22:51Business intelligence infrastructure
  11. 25:40Database update challenges
  12. 27:06Manual update process
  13. 30:23Automated migration methods
  14. 34:43Lessons learned
  15. 36:08Automation and service offering
  16. 37:34Future plans and PostgreSQL 12
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.