Skip to content
Theory · PostgreSQL Replication and Scaling · lesson 3 of 12

Synchronous and asynchronous replicas

A customer asks to raise the price of an Americano. The head clerk notes the correction in the dictation log and tells the customer "done" right away. He will dictate it to the second office in a minute. If a pipe bursts at the head office between "done" and the call, the correction is lost, although the customer heard "done".

In this lesson

  • Asynchronous replica
  • Synchronous replica
  • The price of being synchronous
  • Read-your-writes
  • Common mistake
  • Key points