Caffeinated Coder
Book an appointment
Lesson 18 · At scale

Replication

One database server is a single point of failure. Follow PostgreSQL streaming replication step by step: every change becomes write-ahead log (WAL) records, a WAL sender streams them to a standby, and the standby replays them into its own copy. See reads served by the standby, writes refused there, replication lag, synchronous commit, and a failover with pg_promote().

14 min10 steps5 questionsAdvanced
Fig 18 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.