Load balanced configuration

Author Message

Dries Samyn

Thursday 24 June 2004 9:49:11 am

Hi,

I've got an eZ Publish install that is going to be load balanced over 3 servers.
We're currently testing the setup, but seem to be having some problems.
We use one "master" server for the admin interface pages, so only the public pages are load balanced.

I assumed it would be ok to synch the cache files, but I am wondering now if that seems to be causing the problem (pages are timing out).
Does this sound right? Is there a "common" way to set eZ Publish up for load balancing? If the cache files can't be synchronised between the servers, is there a way of telling the "slave" servers to re-cache when the cache has been deleted from the "master" server through the admin pages?

Also, does the system cache content or only templates/pages?

Thanks,

Dries.

Björn Dieding@xrow.de

Thursday 24 June 2004 10:50:24 am

You might consider getting professional support on this.

The way you should setup your cluster is party depending what kind of site you have.

You should work on those tips.

- upgrade to a GB network if you have a seperate storage server
- doublicate the ez root dir on every server
- use the master to sync the storage between the servers (master should have admin area )
- make sure if a user can contribute data (no files) he should stick to one sever during his session

A more detailed recommendation will be published by eZ soon.

bjoern
-
http://xrow.de

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/

Dries Samyn

Friday 25 June 2004 1:38:09 am

What do you mean with "doublicate the ez root dir on every server"?
The entire ezPublish webroot is synched every 15 minutes, but that's what we think might be the problem.

"- use the master to sync the storage between the servers (master should have admin area )"
This is the way it's set up. But the master is used to synch all files, not just storage. If you only synch the storage folder, how would the slave server(s) know when to clear the cache?

There is no end user contribution on this site yet (no forums, comments etc).

Thanks,

Dries.

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 19:25:13
Script start
Timing: Jan 18 2025 19:25:13
Module start 'layout'
Timing: Jan 18 2025 19:25:13
Module start 'content'
Timing: Jan 18 2025 19:25:14
Module end 'content'
Timing: Jan 18 2025 19:25:14
Script end

Main resources:

Total runtime0.8371 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.0051 589.1484152.6406
Module start 'layout' 0.00510.0028 741.789139.4766
Module start 'content' 0.00790.8278 781.2656539.1250
Module end 'content' 0.83560.0014 1,320.390612.1484
Script end 0.8371  1,332.5391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3763160.0002
Check MTime0.00120.1474160.0001
Mysql Total
Database connection0.00060.066610.0006
Mysqli_queries0.785393.8116570.0138
Looping result0.00060.0701550.0000
Template Total0.806796.420.4033
Template load0.00200.243120.0010
Template processing0.804696.122220.4023
Template load and register function0.00030.031510.0003
states
state_id_array0.00130.155510.0013
state_identifier_array0.00090.103220.0004
Override
Cache load0.00170.2032330.0001
Sytem overhead
Fetch class attribute can translate value0.00110.132920.0006
Fetch class attribute name0.00130.159640.0003
XML
Image XML parsing0.00070.083520.0003
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00100.1217160.0001
String conversion0.00000.000840.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/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
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs