← Back to Labs
Database Replication Pipeline
Walk one commit from primary WAL to standby receive, remote flush, replay, lag, and failover.
Step 1 / 6The primary commits from its own WAL first
The write becomes durable on the primary when its WAL reaches disk. At this instant the standby still has no copy of the change, so asynchronous failover would still lose it.
Commit contract
async commit: wait for local flush only
Replica replay point
old replay point
Read behaviour
replica still returns the old row version
Arrow keys to navigate · R to reset
Tap dots to jump to any step