LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > Round robin with Zope?

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2008, 01:04 PM
zellster zellster is offline
Senior Member
 
Join Date: Sep 2004
Posts: 55
Default Round robin with Zope?

Hello,

I am planning to run multiple instances of Zope as an application server. There will be 1 or more Zope web servers running on back-end machines being served through a front-end web server.

nginx can distribute requests via weighted round-robin given a configuration like the following:

upstream zope {
server 192.168.123.45:8080;
server 192.168.123.45:8081;
server 192.168.123.46:8080;
server 192.168.123.46:8081;
}

Can LSWS do something similar, or would I need LSLB?

Thanks.
Reply With Quote
  #2  
Old 03-27-2008, 01:11 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You can do the same with LSWS, the load balancing algorithm is "Least Load".
LSLB can give you more flexibilities on load balancing algorithms and better reliability in handling of backend failures.
Reply With Quote
  #3  
Old 03-27-2008, 01:14 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
FYI: Your email server bounced the forum notification email with "No such user here".
Reply With Quote
  #4  
Old 03-28-2008, 12:47 PM
zellster zellster is offline
Senior Member
 
Join Date: Sep 2004
Posts: 55
Quote:
Originally Posted by mistwang View Post
You can do the same with LSWS, the load balancing algorithm is "Least Load".
LSLB can give you more flexibilities on load balancing algorithms and better reliability in handling of backend failures.
I appreciate the information. Other questions for LSWS:

* Where in the documentation would I look for examples
* Are connections to the back-end persistent
* How are back-end failures handled

Thanks again.
Reply With Quote
  #5  
Old 03-28-2008, 12:55 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
We do not have an example dedicate for LSWS load balancer configuration, it should be easy to configure with our web console with online help.
you can search for examples using LiteSpeed with mongrel cluster.

The connection is default to persistent and configurable.
LSWS will try other back-end nodes whenever possible if one node fail. The request will take longer time to process, if all nodes are bad, 503 will be returned.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:00 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.