Reply to Re: lot of hits in one go - server overloading questions

Your name:

Reply:


Posted by Chung Leong on 09/28/05 07:57

windandwaves wrote:
> might try that... brilliant.
>
> one more question: if I add include_once("library/functions5.php") to a
> bunch of scripts (with a myriad of functions), does that add a lot of
> weight? I am adding these by default, because then I do not have to think
> which page needs then and which page does not.

It's unlikely to have a noticeable effect. The server can read and
parse the file far faster than it can transmit output data through the
network. Any overhead is through masked by the low throughput.

Scalability issues are usually caused by resource contentions as oppose
to cumulation of independent loads. Usually that resource is the
database. For example, while one request is writing to a table,
requests reading from the same table might need to wait for that
operation to finish before proceeding. Another common contention
problem in PHP involve session locking. Simultaneous requests from the
same user (e.g. from a frameset) could end up blocking each other if
each tries to open the user's session. Not really a scalability issue
but could be mistaken as one.

[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

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