Hello everyone, so i have created a single page voting system application which has 115 concurrent connections, it has real-time data processing and uses pusher. It is deployed in DigitalOcean App Platform, although when the concurrent connections are at 60-70 it works fine, when it gets to 100 things get difficult, the server crashes with an error "Unhealthy Upstream" and generally it gets slow (it happens often).
It's my first time creating an application like this and I'm looking for some tips or a source i can read more about performance.
As a server we are using, if anyone has some tips on that too.
Your server configurations of 4 GB RAM with 1 x vCPU should easily suffice 100 concurrent connections. The solution is NOT always to increase ram or cores. It should also be focused on how well you code your project.