Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Replication
Description
It is likely that batches are smaller since the primary can write with higher concurrency and lower latency causing replicating member to return smaller batches of documents during replication.
If this is true this will lead to lower latency in replication "eventual consistency" but increased network traffic and larger load, both in cpu and contention, on both members.
There are other reasons that the batches may be smaller including:
- Change in lock acquisition (fairness)
- Yielding and interleave behavior
- Replication changes during re-write
In order to better analyze this behavior we should be able to look at the replication network metrics (metrics.repl.network.getmores/ops) which record the reader side of replication.