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

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

eZ debug

Timing: Jan 18 2025 05:08:48
Script start
Timing: Jan 18 2025 05:08:48
Module start 'layout'
Timing: Jan 18 2025 05:08:48
Module start 'content'
Timing: Jan 18 2025 05:08:48
Module end 'content'
Timing: Jan 18 2025 05:08:48
Script end

Main resources:

Total runtime0.6112 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.0313152.6250
Module start 'layout' 0.00490.0031 741.656339.4453
Module start 'content' 0.00800.6018 781.1016673.0000
Module end 'content' 0.60990.0013 1,454.101616.1641
Script end 0.6112  1,470.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5034160.0002
Check MTime0.00140.2243160.0001
Mysql Total
Database connection0.00040.066110.0004
Mysqli_queries0.548589.7452710.0077
Looping result0.00070.1101690.0000
Template Total0.580194.920.2900
Template load0.00210.348820.0011
Template processing0.577994.557720.2890
Template load and register function0.00010.016310.0001
states
state_id_array0.00170.282410.0017
state_identifier_array0.00090.146820.0004
Override
Cache load0.00180.2987340.0001
Sytem overhead
Fetch class attribute can translate value0.00100.166240.0003
Fetch class attribute name0.00120.1959100.0001
XML
Image XML parsing0.00190.316140.0005
class_abstraction
Instantiating content class attribute0.00000.0033120.0000
General
dbfile0.00200.3268360.0001
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs