This repository was archived by the owner on May 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
source/reference/mongosync Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -369,6 +369,26 @@ progress.
369369For more information on DDL operations, see
370370:ref:`txn-prod-considerations-ddl`.
371371
372+ Network Latency
373+ ~~~~~~~~~~~~~~~
374+
375+ Network latency or long physical distances between migration components
376+ can negatively affect sync speed. mongosync is able to send a request and
377+ get a response.
378+
379+ Latency between ``mongosync`` and destination shards
380+ For each change event that ``mongosync`` applies, ``mongosync`` does
381+ an extra roundtrip to its metadata stored on the destination.
382+
383+ Latency between destination shards.
384+ For each change event that ``mongosync`` applies, it has to access a
385+ document that may live on a different shard. This results in many i
386+ cross-shard transactions.
387+
388+ Latency between a given destination shards’ nodes.
389+ ``mongosync`` must use majority writes, which require acknowledgement
390+ from multiple nodes within a shard.
391+
372392Learn More
373393----------
374394
You can’t perform that action at this time.
0 commit comments