Usless PHP Accelerator with lots of inserts?

Author Message

Eivind Marienborg

Monday 11 April 2005 3:39:12 am

I've been talking to my host admin about PHP accelerator to boost the speed of my eZ Publish installation. But he claims that with the amount of INSERTs the system does, the accelerator will have to recompile the PHP scripts all the time, and thus create more overhead in pre/-compiling than it would without the accelerator.

I don't have any experience with accelerators, so I can't say that I know one way or the other. But I assume there's a reason the community seems to be consistent in recommending PHP accelerators.

<b>So I just wanted to hear with the eZ community: How does the recommended accelerators work? Do they recompile everything when content is published, or just related PHP files? Is there any point in installing a PHP accelerator with great amount of content publishing?</b>

The site in question has a very active community, with forum posts every 2-5 minutes, in some periods.

The average response time with caching enabled, but no PHP accelerator, is between 4-5 to 10-20 seconds.

Bård Farstad

Monday 11 April 2005 4:01:04 am

Eivind,

I think your ISP is a bit confused about what a PHP Accelerator does. A compiled and accelerated PHP script does exactly the same as a non-compiled PHP script, but only much faster. SQL statements has nothing to do with PHP Acceleration.

With eZ publish it roughly double the performance.

We are running APC here on ez.no, other accelerators works great as well.

--bård

Documentation: http://ez.no/doc

Eivind Marienborg

Monday 11 April 2005 4:11:44 am

Thanks for the reply, Bård! I'll give my ISP another call :)

Bård Farstad

Monday 11 April 2005 4:47:58 am

Any time Eivind.

--bård

Documentation: http://ez.no/doc

Eivind Marienborg

Monday 11 April 2005 6:45:32 am

By the way.. Which accelerator do you recommend?

Bård Farstad

Monday 11 April 2005 6:52:24 am

Eivind,

any accelerator will do the job. I personally like APC best.

--bård

Documentation: http://ez.no/doc

Halvor M

Sunday 17 April 2005 9:46:51 am

Which PHP accel would you reccomend for EX running on a winXP server? (Apache 2.0 server)

Ekkehard Dörre

Monday 18 April 2005 1:31:25 am

eAccelerator

You can easily test it with

http://www.apachefriends.org/en/xampp-windows.html

on your xp machine. Take the
ZIP archive or
EXE (7-zip) Selfextracting 7-ZIP archive
then there are no entries in regestry und you can just delete it. You can use it from USB-Stick, too.

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.