So here's the thing. There is a backend application that contained REST API service. It was already deployed in a VM instance.
In order to enable the backend app to serve more connections, is load balancing (instantiate new instances and config NGiNX) the only thing possible?
Alternative way to enable the backend app to serve more connections, is upgrading the instance spec the only thing possible?
Is there something other than horizontal or vertical scaling in order to enable this backend app to serve more connections?
Something like refactor code to be more efficient by add or change something in the code?
I appreciate any kind of thoughts about this topic.