Recently I’ve started using digital ocean app platform for setting microservice based architecture for my startup but I’m having issues with horizontal scalling.
At the time I have:
They are communicating through TCP, but the problem is that only one instance of microservice is used to do the hard work, the second one never gets any traffic.
What can I do with this situation?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Click below to sign up and get $200 of credit to try our products over 60 days!
The load balancing that comes with the App Platform is a built-in part that can’t be configured.
It is distributing incoming requests evenly across all containers that pass a health check and are tasked with providing capacity to your service.
Can you confirm that both of your instances are with status healthy and are passing the health checks?