Recently I ran into the problem of running a web application on a regular hosting that I had in use. When using the web application at the same time, more than 200 users. Hosting starts to fail and takes a very long time to process every request from the user. As a result, I decided to test various options.
First of all, I decided to use a dedicated server, chose the most expensive tariff with 6 GB of RAM and a new risen epyc processor. Such a dedicated server was good because I could install additional software for our web application on it. But in the end, with the simultaneous use of more than 2000 people, the server also began to malfunction. I read quite a lot of different literature on optimizing the application, followed all the recommendations and managed to increase the simultaneous use of up to 3000 people. In the end, I decided to use a relatively new cloud server hosting service https://www.hostforweb.com/cloud/ for myself. Such servers are much better at coping with a huge load. We now have more than 8000 people using the application at the same time and everything works stably and we pay only for the resources that we use.