~/talk

Reliability features in Postgres Pro

Talkat PGConf India 2025 · 2025-03-05..03-07· [databases]
links:none on file
slides:none on file

PostgresPro ships an integrated HA layer called beha that uses raft consensus and a custom BCP protocol with a beha_worker process to perform automatic failovers, manual switchovers and a 2+1 referee topology; it requires no external DCS, stores cluster state in PG and elects the node with the newest LSN as leader. Backup is handled by PG Pro Backup (integrity checks, compressed incremental, parallel jobs, remote mode without SSH, a PG Pro Backup catchup mode and a FUSE mount), and libpq/HAProxy callbacks are used for client routing; deployments report hundreds–thousands TPS and successful automatic failovers.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:56Postgres Pro reliability features
  3. 2:57Physical replication overview
  4. 5:49Built-in HA solution BHA
  5. 11:30BHA architecture and setup
  6. 16:12BHA cluster components
  7. 19:07Raft protocol and Quorum
  8. 23:50Manual switch over in BHA
  9. 25:58Automatic failover in BHA
  10. 27:52BHA benefits and summary
  11. 28:13Client connection to BHA cluster
  12. 30:27LIBPQ connection handling
  13. 30:47HAProxy for load balancing
  14. 33:41Custom solutions for connections
  15. 36:55Backup tools for BHA cluster
  16. 38:03PG Pro Backup features
  17. 43:12PG Pro Backup new version
  18. 44:59Backing up BHA cluster
  19. 47:29Key takeaways and conclusion
  20. 48:34Q&A session
~/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.