Re: [Zope] load-balancing recommendations ? (configuration and hardware)

2000-06-10 Thread Anthony Baxter


>>> chas wrote
> I've often heard about the infinite-scalability that will
> be created by something like ZEO and I've always wondered
> about one thing : how is the load-balancing being done ?

There's a number of approaches you can take here:

1. Buy something - a cisco localdirector, an arrowpoint (also now owned
by cisco), or similar. This is the approach we take - in a past life I've
seen an LD get the absolute crap kicked out of it and it just kept working
(it was in front of some _large_ proxy caches). 
www.cisco.com
www.arrowpoint.com

2. Software - there's linux virtual server, there's eddieware, there's
probably a bunch of commercial packages as well, although I don't know
why you'd bother...
www.linuxvirtualserver.org
www.eddieware.org

Which of these solutions you go for largely depends on your budget - the
first set of options are probably more robust and flexible, but the latter
is definately going to be cheaper :)

Anthony
-- 
Anthony Baxter <[EMAIL PROTECTED]>   
It's never too late to have a happy childhood.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] load-balancing recommendations ? (configuration and hardware)

2000-06-10 Thread Andrew Kenneth Milton

+[ chas ]-
|
| 
| ps. In the past I've got around this by ensuring that if the
| very first request from a given browser is dealt with by, say, 
| server silo8.domain.com, then all subsequent requests from that
| browser are also dealt with by by that server. But that 
| (a) introduces head-aches with application logic and (b) is
| not good if silo8.domain.com suddenly goes down.

pps. If you use sessions that are not distributed (i.e. in memory), this
is the setup you need. It is a royal pain (thinking IIS + ASP here more than
anything)

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| 

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] load-balancing recommendations ? (configuration and hardware)

2000-06-10 Thread chas

Hi Folks,

I've often heard about the infinite-scalability that will
be created by something like ZEO and I've always wondered
about one thing : how is the load-balancing being done ?

Just say we have 3 front-line servers (ZSERVER_1, ZSERVER_2
and ZSERVER_3 in the diagram below), each running Zope with 
identical application logic replicated by ZEO (or simply 
copied across manually); the front-line servers all use the 
same database (DB) for storing sessions.  Our load-balancer 
distributes incoming requests between the 3 servers :

+---[ZSERVER_1]+
|  |
REQUEST-->[LOADBALANCER]+---[ZSERVER_2]+--[DB]
|  |
+---[ZSERVER_3]+

What are people using for the load-balancer (and I'm
looking for real load-balancing, not DNS round-robbin) 
so that the multiple front-line servers appear as one 
big server... ie. so that they are transparent to the 
outside world. 

In particular, so that cookies set by any one of the 
front line servers will be shared by the others. (ie. they 
can not have different fully-qualified domain names or 
else cookies set by one will not be shared by another).

Does anybody with experience have any recommendations 
for the load-balancer ?  

Thank you very much,

chas


ps. In the past I've got around this by ensuring that if the
very first request from a given browser is dealt with by, say, 
server silo8.domain.com, then all subsequent requests from that
browser are also dealt with by by that server. But that 
(a) introduces head-aches with application logic and (b) is
not good if silo8.domain.com suddenly goes down.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )