I have a client that has a client (hang on:P) that wants a website that will use a script to crop photo's and apply a watermark. Due to the high cpu usage of this taks the request is to place this website on a seperate box (makes sense).
However I am worried that the entire website will become slow when users start crunching photo's creating an unhappy client. This is a scenario I have never encountered so I am looking for some advice.
I can think up of two solutions but I am not sure if they can be (easily) implemented
- 1) Limit the crunch script to specific CPU core(s) so that the regular apache stuff still has some room to breathe.
- 2) Place the website itself on one of my regular boxes and have only the crunching done on the seperate box.
My boxes generally run CentOS with DirectAdmin. I honestly don't even know how to start Google either "solution". Any thoughts?
[link][15 comments]