Massive Multi Site

Author Message

Björn Dieding@xrow.de

Thursday 19 February 2004 8:41:24 am

This is more linux/php question.

My plan is to build a eZ with 1000 or 2000 siteacceses.

I am wondering now at how many siteaccess will I notice an imense loss of performance, because of the amount of directories inside either the settings/siteaccess or var/siteaccessname

Does any body know the answer or even dares? :-)

Thank you

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/

Bård Farstad

Friday 20 February 2004 2:03:49 am

Interesting. The only thing which I can think of which will cause overhead here is that you need to enable all 1000 siteaccesses. This means that you will use some memory for these 1000 lines. But this overhead should be much smaller than having 1000 installations by far. Each site can share the same php code and this will be cached really well.

Haven't tested though. It would be interesting to hear about some test results ( mabye create a script which generates these siteaccesses for a test first? )

--bård

Documentation: http://ez.no/doc

Björn Dieding@xrow.de

Friday 20 February 2004 8:32:02 am

The final solution could look like this...

1.) catch all request on one ip, because we do not want apache to blow up.
2.) use mod perl to provide a fast mapping from external/unkown hosts to a common internal one
3.) do the usual mod_rw stuff
4.) prodive a little kernel hack to dynamicly match against a internal uri :-)

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/

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 22:14:06
Script start
Timing: Jan 18 2025 22:14:06
Module start 'layout'
Timing: Jan 18 2025 22:14:06
Module start 'content'
Timing: Jan 18 2025 22:14:07
Module end 'content'
Timing: Jan 18 2025 22:14:07
Script end

Main resources:

Total runtime0.6847 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.8047152.6094
Module start 'layout' 0.00670.0035 740.414139.4297
Module start 'content' 0.01020.6730 779.8438544.9141
Module end 'content' 0.68320.0015 1,324.757812.1875
Script end 0.6847  1,336.9453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4711160.0002
Check MTime0.00130.1898160.0001
Mysql Total
Database connection0.00140.201410.0014
Mysqli_queries0.629291.8875570.0110
Looping result0.00060.0853550.0000
Template Total0.651295.120.3256
Template load0.00260.385020.0013
Template processing0.648594.712220.3243
Template load and register function0.00010.017410.0001
states
state_id_array0.00080.119510.0008
state_identifier_array0.00100.140520.0005
Override
Cache load0.00210.3129210.0001
Sytem overhead
Fetch class attribute can translate value0.00080.120220.0004
Fetch class attribute name0.00130.187550.0003
XML
Image XML parsing0.00110.161720.0006
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00170.2443230.0001
String conversion0.00000.000940.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs