asynchronous replication

Replication in which a write is acknowledged first and copied to other machines afterwards.

In more detail

It is faster and allows distant copies, but a crash of the leader can lose writes that were acknowledged and not yet copied. It is also the source of replication lag.

Examples

if t.minute % 15 == 0: ship(primary, far)   # asynchronous: every fifteen minutes
Primary fails at 14:37: the asynchronous replica stops at 14:30, three orders short.

Related terms

Taught in

References