PrepCity

Synchronous replication

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 8 pages · about 5 min

Synchronous replication

The primary waits until a standby confirms it has the commit on disk. Each write pays a round trip; a failover loses nothing that was acknowledged.

Words you’ll learn

  • Primary
  • Commit
  • Read replica (standby)
  • Disk
  • synchronous_standby_names
  • Stream
  • Millisecond
  • Failover
  • synchronous_commit
  • Row

Page by page