Wednesday 16 February 2011 3:15:40 am
Lars, this sounds like a good idea, I have been thinking about it too, but never had the time nor need to do it. You should bear in mind that the main thing to be concerned about is the bottleneck. This is the part where most optimization is needed. For example, if your bottleneck is database queries execution, then having different servers for serving data from the same DB server won't help much. In such a case, you should consider database cluster. But if your bottleneck is PHP execution, cache files reading and serving the pages to users, then your idea should be a good solution. As a general architecture guideline, I suggest having a separate DB server for the database, and a separate WEB server for storing files and serving requests (this includes storing DB data and file data on separate disks). The DB server should generally have more RAM and fast disks, and WEB server should have more CPU and storage space.
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
|