|
Posted by Toby Inkster on 12/18/06 15:46
ircmaxell wrote:
> Well, the problem I have, is that durring the peak times, the server is
> at its limit of resouces (CPU and Ram) and getting around 100 requests
> per second (images included). So if I could save a tiny bit, it would
> make a difference... Even at its peak, the script runs every 30
> seconds
If the script runs every 30 seconds, but you get 100 requests per second,
that means that only 0.3% of requests are for this particular script.
Which means that you might be better off optimising the other 99.7% of the
requests!
Although Apache is a lovely server, there are some others which might run
faster for you if you don't need some of the extra features that Apache
provides. Take a look at, say, "thttpd" -- your PHP will likely run slower
(as it runs PHP through CGI instead of mod_php) but the speed-up you get
for other files may more than make up for it.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|