having these delayed replicas would be helpful for our staging and testing environments. We see in practice that our prod environment has a replication lag of between 1-3 seconds, but our staging and dev environments have a replication lag near zero seconds all the time.
The difference was recently the cause of a bug that we did not catch until production. We used the delayed replicas now in our local dev environments, but it would be useful to be able to have delayed replicas in our live staging and dev environments as well, which use mongo atlas. This would ensure our dev and staging environments operate as similar to prod as possible, and would prevent future bugs of this type from occuring again.
having these delayed replicas would be helpful for our staging and testing environments. We see in practice that our prod environment has a replication lag of between 1-3 seconds, but our staging and dev environments have a replication lag near zero seconds all the time.
The difference was recently the cause of a bug that we did not catch until production. We used the delayed replicas now in our local dev environments, but it would be useful to be able to have delayed replicas in our live staging and dev environments as well, which use mongo atlas. This would ensure our dev and staging environments operate as similar to prod as possible, and would prevent future bugs of this type from occuring again.