'Apache vs Nginx for running a multi-tenant SaaS

I am currently working on developing a multi-tenant SaaS application, that will be handling a lot of real-time requests for geolocation, tracking , and chat features, etc. For multiple SaaS customers, with multiple users and multiple customers themselves.

Currently running on LEMP Ubuntu 20.04.

I've spent a couple hours with my rubber duck on this topic and we have decided to reach out to the community.

My concern is the amount of requests that the server will be getting and then also the amount of dynamic content that will be served.

Seeing as Apache uses 1 thread per request, couldn't this cause a huge bottleneck and overload the box?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source