Hi! I moved here since mLab was bought out and they wanted to move users to Atlas. Everything was going fine until a week or two ago when something strange happened - I get a lot of lag around some DB-related operations. Previously, my login process was fairly instant, but now I’m seeing a lot of lag around an operation (35.5 seconds to complete, and it gets worse as time goes on):
Note that when this issue originated, I have made no changes to my codebase - previously it was fine. I figured this was related to a slow DB query so I checked the profiler, but:
It seems like there are no slow queries, which I’m not so sure about. I’ve went and added a few additional indexes but it hasn’t really helped anything. I’m pretty much out of ideas - is there anything that could have caused this recently on the Atlas side? FWIW, my local DB/codebase operates fine, it’s just prod that’s breaking.
I’ve tried upgrading my Atlas cluster, that didn’t seem to change anything. I’ve also tried upgrading my VPS and that didn’t change anything. I’m genuinely at a loss of what I can do to troubleshoot this further… any ideas would help, thanks.