[phpa] Re: PHPA and PostNuke

>
> Thanks for the reply!
>
> I believe it's an Athlon 750, w/ 512mb.  MySQL is by far the biggest
> pig, but the minimal eyeballing I didi (with top), the mysql load
> seemed to go up when the
> cache module was turned on

It is entirely possible, as your system could now be handling more web
requests per second.

It's also possible, as was intimated already, that the post nuke system
is rather less than optimally designed. Looking at the code for a
popular bulletin board with templates stored in a database, I was
suprised to see no caching of templates beyond caching the template
once read into a php variable on a per request basis. Caching in shm or
html files would probably provide better performance.  I also looked at
another site that reported it had made well over 200 queries to
generate a page that was not obviously over complicated. I feel sure
that a better database design or more sophisticated use of sql would
have reduced that by orders of magnitude.

Also bear in mind that tools like PHPA give you an increasing benefit
as the quantity of PHP code goes up, and is maybe why smarty can
accelerate to well. However, such systems may be inherently more
complex and compute bound, and so the gains from caching could be
increasingly dwarfed by the execution time requirements.



------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: