Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to improve routing between microservices?
in short: I’ve deployed an application which is separated in several microservices.
The requests from outside are all going to one microservice which redirects the message to other microservices (API Gateway Patten).
Then, the microservices must communicate with each other by also going over the API Gateway.
Everything works fine, but now with my droplets I’ve noticed something:
The requests going between several microservices take between 50ms and 3000ms. Since it’s definitely not an internal microservice problem, I assume it’s the routing.
How can I improve the routing and get rid of these delays? Static routing? Would it also make it faster to have the microservice in an internal network?
Help and suggestions are highly appreciated!
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.×