Forums / Setup & design / Usless PHP Accelerator with lots of inserts?
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 Exponential 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 Exponential 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
Monday 11 April 2005 4:11:44 am
Thanks for the reply, Bård! I'll give my ISP another call :)
Monday 11 April 2005 4:47:58 am
Any time Eivind.
Monday 11 April 2005 6:45:32 am
By the way.. Which accelerator do you recommend?
Monday 11 April 2005 6:52:24 am
any accelerator will do the job. I personally like APC best.
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 archivethen 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 - eZ Publish, Ibexa, SOLR, Elastic Search