Forums / General / performance

performance

Author Message

Francis Nart

Tuesday 09 December 2003 2:55:54 am

I am brand new to ez publish and I wonder if it is able toi set up several site powered by ez publish on a single server. My question is : can we use ez publish on serveral sites a server (PiV, 2.4 Ghz, 256 Mb) ? Moreover, is it better to have one ez publish installation that manages all sites or (and we would prefer that !), one ez publish instance for each site ?

What would be the performance of the system for exemple : 10 ez publish sites on that server ?

Best regards !

Francis.

Alex Jones

Tuesday 09 December 2003 6:25:22 am

Franics, how much traffic do you expect the sites to generate? eZ publish can handle 10 different sites, but your server may not be able to handle it if you have large amounts of traffic.

One note, if at all possible add more RAM to your server, no matter which set up you choose. This will have a major impact on the performance of the sites.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Francis Nart

Tuesday 09 December 2003 6:45:32 am

well frankly not much but do you think it would be better to have 10 implementations of ez publish on the server or one ez publish for all sites ? we'd prefer the first option (in term of maintenance, it's much easier for us to separate accounts !).

But to your opinion (this is a Linux/Apache/MySQL server), 512 or even better 1 Gb would be better ?

By the way, thank you for your reply !

Francis.

Bård Farstad

Tuesday 09 December 2003 6:57:30 am

In terms of performance it's faster to have one eZ publish installation running 10 sites. However if some of the sites have very special requirements this can be a problem.

One eZ publish installation uses very much less memory than 10, even if it's running 10 sites. This is specially noticeable when you're using a PHP Accelerator (which is highly recommended).

--bård

Documentation: http://ez.no/doc

Alex Jones

Tuesday 09 December 2003 6:59:55 am

Okay a couple of more questions... Are these sites related to eachother? Will they have any content in common?

Personally, I would try to use a single install though it requires a good bit more planning as you need to ensure you set up the appropriate roles and separate content sections. But, it also means that you only have to install extensions and upgrades in one spot. Also, it can cut down on different logins/accounts for people who use more than one of the sites.

As for RAM, upgrading to 512 megs should be a noticeable improvement. Then, you can watch the server's performance and decide if you need to bump it up to 1 gig.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Bård Farstad

Tuesday 09 December 2003 7:02:20 am

You can run the sites on the same eZ publish installation but with different database. This does not require that much planning but gives the speed/memory gain since you will have 1/10 the number of files which needs to be compiled and stored in memory.

--bård

Documentation: http://ez.no/doc

Francis Nart

Tuesday 09 December 2003 7:09:35 am

ok i understand this ! the sites won't be related to each other but we currently run a dedicated server with an ensim interface (that gives us the possibility to manage the account of our clients). setting up ez publish for the whole server would be beyond our network and server knowledge...but your explanation on memory use especially for caching templates is quite relevant ! We count on a maximum of 200 users a day on each site which is not much but with 10 installations (I mean 10 ez publish) it might be too much for our server even with 512 Mb !

eZ debug

Timing: Jan 18 2025 16:22:25
Script start
Timing: Jan 18 2025 16:22:25
Module start 'content'
Timing: Jan 18 2025 16:22:26
Module end 'content'
Timing: Jan 18 2025 16:22:26
Script end

Main resources:

Total runtime0.8037 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 587.5313180.8594
Module start 'content' 0.00720.6771 768.3906624.9063
Module end 'content' 0.68430.1193 1,393.2969341.0938
Script end 0.8036  1,734.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.5781210.0002
Check MTime0.00170.2116210.0001
Mysql Total
Database connection0.00090.106510.0009
Mysqli_queries0.729090.71012080.0035
Looping result0.00240.29562060.0000
Template Total0.773096.220.3865
Template load0.00210.262320.0011
Template processing0.770995.922820.3854
Template load and register function0.00010.014910.0001
states
state_id_array0.00090.106010.0009
state_identifier_array0.00100.124520.0005
Override
Cache load0.00180.2204340.0001
Sytem overhead
Fetch class attribute can translate value0.00150.183340.0004
Fetch class attribute name0.00130.165190.0001
XML
Image XML parsing0.00140.171840.0003
class_abstraction
Instantiating content class attribute0.00000.0026110.0000
General
dbfile0.00290.3658340.0001
String conversion0.00000.000730.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs