You are here: Re: Template engines + PHP cache worth it even if DB stuff different? « PHP Programming Language « IT news, forums, messages
Re: Template engines + PHP cache worth it even if DB stuff different?

Posted by Gilles Ganault on 01/18/08 03:47

On Thu, 17 Jan 2008 20:30:10 -0500, Jerry Stuckle
<jstucklex@attglobal.net> wrote:
>The real question here is though - are you observing performance
>problems? Or are you prematurely optimizing?

I'm going step by step so as to understand where performance can be a
problem. It makes sense that we should avoid having the PHP
interpreter needlessly reparsing pages it already parsed into opcode
before, but I'm clear as to what I _shouldn't_ include in a PHP page
so that it's kept in the cache by the accelerator.

>And if you are having performance problems, what is the source of your
>problems?

Without experience in this sort of thing, it's difficult to tell. A
big "load average" as reporter by top (60 instead of below 1) is
apparently a big sign of overload, but we're having a difficult time
tracking down where the problem lies. Maybe 400 sleeping processes and
15MB Apache processes are a sign of bad I/O (hard-disk, network, or
MySQL waiting to service queries).

It's just an opportunity for me to really get down to how LAMP
applications should be built so they can scale beyond a few ten's of
users.

 

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

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