Asynchronous VS Synchronous Replication
Explore the differences between asynchronous and synchronous replication in Kafka. Understand how the leader replicates data to followers, the trade-offs in data durability, and the impact on write performance to help manage scalable data pipelines.
We'll cover the following...
We'll cover the following...
Asynchronous vs Synchronous Replication
There are broadly two strategies that can be adopted for replicating changes from the leader to its followers. These are:
Asynchronous Replication
Synchronous Replication
The two can be combined to form a hybrid strategy, sometimes called semi-synchronous replication.
Asynchronous Replication
In the leader-based replication model, there is a spectrum that defines how replication from the leader to the followers takes place. On one end ...