findAndModify won’t be causing the delay. Have you looked through the strategies outlined here: https://www.mongodb.com/docs/manual/tutorial/troubleshoot-replica-sets/