Slower API responses after shifting to atlas

Hi all,

We recently migrated our mongoDB workload to Atlas M2 Shared tier cluster. Migration was smooth.
We connected atlas cluster to our application using the following connection URL:
mongodb+srv://<username>:<password>@cluster0.an2qs.mongodb.net/myFirstDatabase?retryWrites=true&w=majority

After doing this, when we refreshed our docker containers and APIs were taking way beyond 1 minute to give responses. We checked the logs but found nothing.

Screenshot of API response times:

Can someone please guide us that exactly what is going wrong here?

Thank you

Hi Do you have a support case open? The team would be happy to help–this definitely sounds out of the ordinary. Might you be running a large un-indexed query?

2 Likes

Hey Andrew,

Yes, will open a support case ASAP.