Hi everybody, my story:
Hi, I have this linode working ok, it's a Debian / Nginx / php-fpm / mysql server. I have a big app (almost a web OS) running in this server (1-5 reqs per user per second), i have solved several problems to have this app running (e.g. "to many open files" error in nginx) and my users base is growing. I will get rid of mysql (not necesary) and replace it with only read/write plain text files.
My problem is that I will have a lot (3X-4X) more users for a client within a month, so i'm afraid that CPU load grows not linear but exponential (with apache-modphp I had this problem)
the most CPU processing is eaten by the php-fpm, maybe if I have a storage server or cluster only for write-read files and an nginx cluster for the http/php processing. I checked out this doc,
http://library.linode.com/linux-ha/high ... untu-10.04
that could be a solution for me. By the other hand, I'm considering the Linode Nodebalancers, but I'm not sure.
The main doubt I have is about the main bottleneck with nginx/php-fpm. Is all about HD read/write access? I have php "logical" process, but not that much, i think.
If I "clusterize" the nginx layer, will I have the same problem on the file server?
should I worry more about a file storage cluster in the backend instead of an nginx cluster in the frontend?
Well, as you can see, I'm a little lost here... as i said before, the app takes between 1 and 5 reqs per user per second, all of them are calls to a php file that reads/writes files. (much more reads than writes)
What should I try?
Thanks in advice.