Issue with slow API response time on GET calls.
Hey, I’m trying to migrate from Heroku to DigitalOcean with my simple Spring Boot API based on MongoDB (mLab).
On Heroku with the worst CPU and memory, I have x4 faster response on GET calls with the same codebase. POST and PUT calls are ok or even better on DigitalOcean.
What is the difference between these two servers that make such degradation in performance?
What steps should I do to fix it?
Please, can somebody help me with that?
I can give more info if necessary.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×