Forums / Developer / which PHP accelerator to use?

which PHP accelerator to use?

Author Message

Marko Žmak

Saturday 19 December 2009 4:52:33 pm

I have searched the forums in order to find a good answer for this question, but all the posts are outdated. So now, with the newest version of eZP (4.2) are there any findings what is the best accelerator to use with eZP?

For me there are 3 candidates:

  • Ion Cube
  • APC
  • eAccelerator

Which one would be the best?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Gaetano Giunta

Saturday 19 December 2009 5:21:40 pm

APC is the officially recommended one (look up the requirements page for eZP 4.2)

Principal Consultant International Business
Member of the Community Project Board

Pablo Pernot

Sunday 20 December 2009 2:27:38 am

I'm using eAccelerator and it really does a good job.

Pablo Pernot
http://www.smartview.fr
http://www.areyouagile.com

Pablo Pernot

Sunday 20 December 2009 2:29:10 am

have a look here :

http://pwet.fr/blog/benchmark_between_ez_publish_4_and_ez_publish_3_10_with_or_without_a_php_opcode_cache

A page from Damien, from Montpellier, France (as me ;) )

Pablo Pernot
http://www.smartview.fr
http://www.areyouagile.com

Gaetano Giunta

Sunday 20 December 2009 6:40:35 am

As a personal note, I do not think the thing setting apart any of those products (Xcache included, ioncube afaik is dead and buried) is its sheer speed or memory usage.

What really matters is stability under heavy load (including opcode-cache purges under access storms).

So be prepared to stress test before going live, and to install your 2nd choice if the first one turns out to crash in your setup - I personally have seen all of them crash and burn in at least one particular php installation, so I have no real personal favorite.

You can also take into account that APC is maintained by php-language developers, while xcache and eaccelerator are currently a one-person project. It might be important if you like support contracts and long-term platform sustainability. Just google around to see how long it took for those 3 products to support php 5.3 to get an idea...

Principal Consultant International Business
Member of the Community Project Board

Ekkehard Dörre

Monday 21 December 2009 9:13:58 am

Hi Marko,

we use APC and it works fine, nice with and without comparison http://serwatka.net/blog/ez_publish_performance_with_php_5_3_0

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

eZ debug

Timing: Jan 29 2025 23:45:14
Script start
Timing: Jan 29 2025 23:45:14
Module start 'content'
Timing: Jan 29 2025 23:45:14
Module end 'content'
Timing: Jan 29 2025 23:45:14
Script end

Main resources:

Total runtime0.2466 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9297180.8359
Module start 'content' 0.00650.0039 768.7656102.0547
Module end 'content' 0.01040.2361 870.8203530.2734
Script end 0.2465  1,401.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00311.2720200.0002
Check MTime0.00130.5470200.0001
Mysql Total
Database connection0.00070.272110.0007
Mysqli_queries0.204482.88191410.0014
Looping result0.00110.45441390.0000
Template Total0.235895.610.2358
Template load0.00080.341910.0008
Template processing0.234995.284710.2349
Override
Cache load0.00060.247010.0006
Sytem overhead
Fetch class attribute can translate value0.00050.215710.0005
XML
Image XML parsing0.00020.069710.0002
General
dbfile0.00732.9633200.0004
String conversion0.00000.001730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs