Every now and then, a website "goes viral" and receives a high number of legitimate requests. Since a typical DirectAdmin server setup is single-server only, there's nowhere to spread the load, and the single server must deal with all the incoming requests all on its own.
My question is how do people deal with spikes in number of legitimate requests? How do you set thresholds for max apache workers, or php-fpm processes? How do you scale your servers in terms of CPU/RAM vs customers/domains. Do you implement any techniques/technologies on-server or pre-server (e.g. cloudflare) for caching purposes? Do you tweak kernel parameters (sysctl) to better handle incoming connections? Do you do anything else that I can't think of?
My question is how do people deal with spikes in number of legitimate requests? How do you set thresholds for max apache workers, or php-fpm processes? How do you scale your servers in terms of CPU/RAM vs customers/domains. Do you implement any techniques/technologies on-server or pre-server (e.g. cloudflare) for caching purposes? Do you tweak kernel parameters (sysctl) to better handle incoming connections? Do you do anything else that I can't think of?