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

Posted by Sanders Kaufman on 02/01/07 00:22

Nu wrote:
> Sanders Kaufman" <bucky@kaufman.net> wrote in message

>> But your best bet is to just make sure you have capacity to
>> handle peak loads, and that overloaded systems throttle down
>> gracefully.
>
> Actually, my site goes to index.php and then index.php digs around in other
> PHPs and MySQL. If I stop it right at index.php, I can keep my account from
> overloading the CPU.

In that case - you just have to choose one or more methods among
the several (labor-intensive) ones out there.

You can exit based on IP's - but they can be spoofed. You can
exit based on other headers - but they can be spoofed, too.

This is why developers talk so much about "scalability". If
your site isn't designed to handle peak loads, and to exit
gracefully during overload - all of the other measures won't help.

That's usually an OK design flaw behind a firewall, but not out
in open water.

 

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

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