Apologies for the inexpertly phrased question. I'm not quite sure how to put it.
My Linux server:
- Serves web pages to users
- Does lots of data processing and gathering in the background
I'd love for (2) not to slow down (1) - for them to be separate somehow. The best way I have found so far is to have both nginx and apache on the server. I have nginx serving the web pages and apache doing the data crunching. I then use CPULIMIT to limit my apache processes to 20% cpu. This keeps them in check somewhat. However, mysql becomes a bottleneck and generally it's a bit messy.
What's standard practice here?