You are here: Re: How do I limit my number of PHP hits per second? « All PHP « IT news, forums, messages
Re: How do I limit my number of PHP hits per second?

Posted by Christoph Burschka on 02/01/07 08:59

J.O. Aho schrieb:
> Nu wrote:
>
> You can use smoothwall, there are extensions that bans a ip for a while
> if it does hammer the server, but of course requires a real OS instead
> of that you seems to use.
>

Just a note: From what I've seen, most web servers mentioned here run
remotely (and the OP didn't say otherwise), and there is no way to find
out the server's OS from the mail headers of the post. I use XP locally,
myself.

So as awful as Outlook Express is, you can't conclude that the webserver
must be trash.

If the site is hosted remotely, PHP will not run into the hard limits of
the server, but the limits the host set - and those can turn out to be
surprisingly low once the site becomes popular.

However, if you wrote the PHP code yourself, it'd be a good idea to
first look at any parts that might take a lot of resources and try to
optimize them - any redundant string replacement on really long texts,
or fetching big result sets from the database? The code can be made a
lot more efficient just that way.

--
CB

 

Navigation:

[Reply to this 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

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