ememex
09-23-2003, 04:27 PM
okay, i know there are some great tech-heads here so i'd like just a minute from you guys/gals...
i've been running a somewhat-popular website, gets roughly 100,000 pageviews a day. i use php as my web-scripting language, so all these pages would be in php for some simple dynamic scripting (ip-tracking, referrer tracking, picking up xml-feeds based on current page, etc...).
what i did to keep the site fast was to have one server generate all the pages and mysql (P-III 800, 192MB RAM, 20GB IDE, dialtone), and use another server for images and download files (music, zips, other stuff) (p4-2.4, 512MB RAM, 80GB IDE, RS). simple, but effective load sharing :)
now i will be changing the website structure to generate each page from a mysql database based on the url, as the website's structure is in directories (something like yahoo). so all requests will be pushed to a single page, which will generate the appropriate page. each page will generate approx 5 mysql queries, and i will have mysql4's cache enabled.
now i've got a great offer to move to a dual-PIII 800MHz box with 512MB RAM and 18GB SCSI at servermatrix, that will help me cut hosting costs by half. by the way, my server loads for the current two boxes never go above 0.2, apart from when wusage is compiling stats (weekends).
would it be wise to move to this single box? does anyone see any harm in making this move? the dual processor should be able to handle page requests and database queries without any problems, right?
i'd appreciate comments from all whtalkers!
i've been running a somewhat-popular website, gets roughly 100,000 pageviews a day. i use php as my web-scripting language, so all these pages would be in php for some simple dynamic scripting (ip-tracking, referrer tracking, picking up xml-feeds based on current page, etc...).
what i did to keep the site fast was to have one server generate all the pages and mysql (P-III 800, 192MB RAM, 20GB IDE, dialtone), and use another server for images and download files (music, zips, other stuff) (p4-2.4, 512MB RAM, 80GB IDE, RS). simple, but effective load sharing :)
now i will be changing the website structure to generate each page from a mysql database based on the url, as the website's structure is in directories (something like yahoo). so all requests will be pushed to a single page, which will generate the appropriate page. each page will generate approx 5 mysql queries, and i will have mysql4's cache enabled.
now i've got a great offer to move to a dual-PIII 800MHz box with 512MB RAM and 18GB SCSI at servermatrix, that will help me cut hosting costs by half. by the way, my server loads for the current two boxes never go above 0.2, apart from when wusage is compiling stats (weekends).
would it be wise to move to this single box? does anyone see any harm in making this move? the dual processor should be able to handle page requests and database queries without any problems, right?
i'd appreciate comments from all whtalkers!
