How long does it takes data to be replicated to secondaries?

So thats the question, How long does it takes new data received by the primary node to reach the secondaries? Its a fixed amount of time? Its when the oplog reaches the oplogSizeMB?

Hey @Rafael_Andres_49072

Largely it would depend on the latency between the two servers running the mongod processes that make up your replica set.

yeah of course, but I mean, whats the interval of time for the primary to send the data? like, it sends (or the secondaries retrieve, dont know at this points how it works) the oplog every minute? every 30 seconds? everytime oplog gets updated?

Sorry if the question wasnt very clear

Maybe this could help answer the question.

1 Like

I got to try that, thanks!