How can i make cluster faster in prod because in production cluster running very slow

The issue is that fetching data using the simple findOne method takes 40ms in the local environment, but in the production environment, it takes about 1200ms to fetch.

That’s not a lot of info to do anything with…

  • Is the dev and prod clusters the same tier if in Atlas, else what’s your config of all the servers
  • Are the indexes the same on both environments
  • What does an Explain say about running the same query in both environments
  • Do you have the same data / volumes in both environments