Forums / Install & configuration / which php accelerator

which php accelerator

Author Message

Francis Nart

Friday 19 December 2003 3:03:13 am

Hi,

we are brand new on ez publish and we operate a dedicated server with redHat 7.X + php
What would be the php accelrator of choice to increase performance ? MMchace ?
did any of you had problems with it ?
what would be the amount of memory to add to our server (currently 512Mo) to operate multiple ez sites (say 10) with no more than 200 users/day per site. ?

Thanks.

Francis

Kjell Knudsen

Friday 19 December 2003 5:28:01 am

I was recommended:

http://www.php-accelerator.co.uk/

There's a couple of threads on this in here comparing a couple of the options:

http://www.ez.no/developer/ez_publish_3/forum/install_configuration/benchmarks_phpaccelerator_apc_and_turck_mmcache

http://www.ez.no/developer/ez_publish_3/forum/developer/anyone_tested_turck_mmcache_together_with_ez_publish

couple more here:

http://www.ez.no/content/advancedsearch/?SearchText=accelerator&SearchContentClassID=14

Kjell Knudsen
http://www.icbl.org

Francis Nart

Friday 19 December 2003 5:32:32 am

thanks, I'll have a look at those !

francis.

Tony Wood

Friday 19 December 2003 5:39:11 am

Hi Francis,

I would be careful when you use a PHP Accelerator on more than 10 sites as our experience has shown is that they fail at around this point.
The problem is that eZ publish creates a php file for every screen if cache is on and the accelerator promptly makes a file for that and stores it so that it does not need to be processed again. This can lead to tens of thousands of PHP cache files, which slows the whole system down.

Until we can resolve this problem we have turned them off, we have tried, Turck, APC, PHP Accelerator etc.

I would appreciate if anyone else has a method of getting around this problem.

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Francis Nart

Friday 19 December 2003 5:50:51 am

Thanks for your reply too !
in fact we are about to set up our first ez publish site on that server where other php sites are hosted.
For the moment, and it is more convenient for us at the moment, we'll set up an instance of ez publish for just that website on its particular webspace (without sharing the install over multiple sites).
But your answer is really helpful in the fact that it gives us information about what to do in the near future when we decide to use ez publish more often on our php developments !

Francis.

Björn Dieding@xrow.de

Saturday 10 January 2004 1:01:56 pm

just a note php accelerator works great on our server.

we have a sample demo site delivered in 0.3 sec

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Marco Zinn

Saturday 10 January 2004 1:59:05 pm

I was suggested to try the APC. But had no time to install it anywhere, so i can't tell you about experiences.

Sorry, no URL at hand now.
Some comment from Bard maybe....? ;)

Marco
http://www.hyperroad-design.com

eZ debug

Timing: Jan 31 2025 08:16:35
Script start
Timing: Jan 31 2025 08:16:35
Module start 'content'
Timing: Jan 31 2025 08:16:35
Module end 'content'
Timing: Jan 31 2025 08:16:35
Script end

Main resources:

Total runtime0.1847 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.0062 587.9453180.8359
Module start 'content' 0.00620.0053 768.7813101.8828
Module end 'content' 0.01150.1731 870.6641530.2813
Script end 0.1846  1,400.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00311.6877200.0002
Check MTime0.00120.6559200.0001
Mysql Total
Database connection0.00100.555510.0010
Mysqli_queries0.144378.14301410.0010
Looping result0.00110.57721390.0000
Template Total0.172793.510.1727
Template load0.00090.513910.0009
Template processing0.171792.979310.1717
Override
Cache load0.00060.319010.0006
Sytem overhead
Fetch class attribute can translate value0.00060.316210.0006
XML
Image XML parsing0.00020.107810.0002
General
dbfile0.00502.6908200.0002
String conversion0.00000.003730.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