Sobes.tech
Junior — Middle

What are the advantages and disadvantages of using asynchronous data replication?

sobes.tech AI

Answer from AI

Asynchronous data replication means that changes on the primary server are not necessarily immediately applied to replicas.

Advantages:

  • High performance of the primary server, as there is no need to wait for confirmation from replicas.
  • Lower latency during data writing.

Disadvantages:

  • Data loss may occur in case of primary server failure, as the latest changes may not have been replicated yet.
  • Replicas may be outdated at the time of reading, which affects data consistency.

Thus, asynchronous replication is suitable for scenarios where write speed is important, and some delay in data freshness is acceptable.