Securing Postgres with streaming replication
summary
Covers concrete setup steps: enable WAL (write-ahead logging), add a replica, and choose async vs sync with the recommended pattern of local synchronous and remote asynchronous to balance durability and latency; describes a 3-sync-standby, wait-for-2 max-availability pattern, cascading replicas and continuous WAL streaming for point-in-time recovery, and discusses RTO/RPO tradeoffs. Mentions practical tooling like Patroni, PgBouncer and HAProxy and claims streaming replication is rock‑solid and binary compatible.
AI-written summary · about
chapters (11)
- 0:00Introduction and agenda
- 2:08What is streaming replication?
- 4:53Transaction log
- 5:59Characteristics
- 7:22Scaling PostgreSQL safely (nearly) to infinity
- 9:47Primary and replica
- 10:27Async and sync
- 16:01Primary and Cascading replicas
- 17:55Solid foundation
- 18:55Corollaries
- 21:05Conclusion
related talks
48mReplication Refresh
49mPostgreSQL Replication - The Most Exciting Technology on Earth
50mMoving from MSSQL to pgSQL – High Availability and Disaster Recovery
48mPostgreSQL Replication: 20 Pitfalls and Solutions
02h 26mTutorial
22mPostgreSQL Disaster Recovery Fundamentals
51mPostgreSQL Replication Conflicts: Avoiding Pitfalls
42mPostgreSQL Replication Conflicts: Avoiding Pitfalls
