Postgres SQLAlchemy Textbook Ch. 10 — Replication, Failover, and pgvector
Streaming replication, read replica routing, failover handling in SQLAlchemy, and using pgvector for embeddings.
Streaming replication, read replica routing, failover handling in SQLAlchemy, and using pgvector for embeddings.
Cheatsheet: streaming vs logical replication, Patroni, multi-host failover URLs, read replicas.
Choosing a Postgres replication topology: streaming for HA, logical for upgrades / cross-cluster, cascading for fanout, and pitfalls in each.
Production HA for Postgres in 2026. Streaming vs logical replication, Patroni vs pg_auto_failover vs Stolon, RPO/RTO tradeoffs, and the patterns that keep a primary alive.