Reply to Re: Efficiency of file vs database

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация