You are here: Re: lot of hits in one go - server overloading questions « PHP Programming Language « IT news, forums, messages
Re: lot of hits in one go - server overloading questions

Posted by Chung Leong on 09/28/05 03:16

windandwaves wrote:
> b. what is a lot?

No easy answer. Depends a lot on the hardware and bandwidth, as well as
the nature of the site. Some years ago I was on a team building the
launch site for a certain next-generation video game console. The
requirements called for 20 million hits on the first day IIRC.

> c. are there any techniques to reduce the load on the server (e.g. changing
> PHP files into HTML ones)?

Zend sells a number products that are supposed to improve performance.
Code execution speed usually isn't a big factor though. Scalability is
usually limited by the database. So I would avoid hitting the database
as much as possible. For example, if you have a drop-down list of US
states, don't populate it with data from the database. It's quite
unnecessary as the list isn't going to change anytime soon.

> d. is there a way to measure server load and calculate expected load with X
> number of visitors?

For quotable numbers, you really need a commercial tool. LoadRunner
from Mercury Interactive and SilkTest from Segue come to mind.

For a very rough estimate, in the past I've done something as simple as
sticking <script> location.reload() </script> into my page footer and
opening up a bunch of browser windows.

 

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

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