Patroni 3.0: What's New and Future Plans
summary
Patroni 3.0 adds concrete behavior: a new distributed leader election and discovery protocol using external stores (Consul/etcd) with periodic updates and TTL, tighter handling of replication slots so replicas can keep slots across failover, and support for multiple synchronous replicas (sync standbys) with configurable wait policies. It improves connection handling (long TCP timeouts, fewer client disconnects), exposes Prometheus metrics, adds pre/post-promote hooks and file fetch/restore for WAL/config recovery, and drops legacy Python2 support.
AI-written summary · about
chapters (29)
- 0:00Introduction to Patroni 3.0
- 1:19Major features overview
- 3:18Protocol and cluster support
- 6:01Leader election and failover
- 8:18New primary election process
- 10:28Cluster proxy and request handling
- 13:00Major features implementation
- 15:15Connection management improvements
- 18:05Synchronous replication support
- 21:15Security enhancements
- 22:52Monitoring and health checks
- 24:23WAL file handling changes
- 25:58Backup and restore improvements
- 27:13Complete backup basics
- 30:28Connection configuration tips
- 31:44Performance optimizations
- 32:59User hooks and promotion scripts
- 34:23Tools and replication protocol
- 35:29Connection management fixes
- 36:30Long-running connections issues
- 37:28System stress and performance
- 38:58Timeout and connection stability
- 40:48Mitigating node shutdown problems
- 41:49Demo and future plans
- 43:25Replication factor and ordering
- 44:58Logical replication challenges
- 47:12Cross-region cluster automation
- 49:00Master node and label selection
- 50:35Live demo and closing remarks
related talks
22mWhat is Patroni, really?
50mPatroni Deployment Patterns
41mEnsuring High Availability in Self-Managed PostgreSQL with Patroni
49mPatroni: what the blog posts don't tell you...
33mCitus & Patroni: The Key to Scalable and Fault-Tolerant PostgreSQL
31mEverything You Need to Know About Prometheus 3.0
41mProtecting your data with Patroni and pgBackRest
50mThe Immortal Postgres Web
