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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Nginx + Apache but LiteSpeed + what?

Reply
 
Thread Tools Display Modes
  #11  
Old 09-02-2011, 01:44 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Originally Posted by redstrike View Post
Thank you.

If sticky sessions isn't a problem with me, Will Varnish be better than HAProxy? I want to cache dynamic contents too.
Use LSWS with 2-CPU license, it will give your basic load balancing and cache,
I am not sure varnish can do load balancing or not.
Reply With Quote
  #12  
Old 09-02-2011, 02:15 PM
redstrike redstrike is offline
Senior Member
 
Join Date: May 2011
Posts: 63
Quote:
Originally Posted by mistwang View Post
Use LSWS with 2-CPU license, it will give your basic load balancing and cache,
I am not sure varnish can do load balancing or not.
I have tried the trial of 2-CPU license, it seem difficult to config basic "load balancing"? I want to distribute the load to other backend servers.
Reply With Quote
  #13  
Old 11-21-2012, 05:04 AM
milliondollar milliondollar is offline
New Member
 
Join Date: Nov 2012
Posts: 7
Quote:
Originally Posted by mistwang View Post
Use LSWS with 2-CPU license, it will give your basic load balancing and cache,
I am not sure varnish can do load balancing or not.
Is there any guide on how to set-up basic load balancing for LSWS 2-CPU license?
Reply With Quote
  #14  
Old 11-21-2012, 11:27 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
basically you need to:

1. create web server external app for each backend at server or vhost level
2. create a load balancer external app with proxy::backend* created in 1 as worker
3. create a load balancer context at vhost level using load balancer external app created in 2.

That's it.

Refer to below wiki (also covers cache proxy for 2-CPU license) on how to create web server external app:

http://www.litespeedtech.com/support...se_proxy_cache
Reply With Quote
  #15  
Old 11-22-2012, 02:39 AM
milliondollar milliondollar is offline
New Member
 
Join Date: Nov 2012
Posts: 7
TQ. OK, I have 2 question,

1. I'm installing litespeed with cPanel. How to do load balancing since I don't insert vhost in litespeed?
2. When you say basic load balancing, is it just by round-robin?
Reply With Quote
  #16  
Old 11-22-2012, 10:33 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Quote:
Originally Posted by milliondollar View Post
TQ. OK, I have 2 question,

1. I'm installing litespeed with cPanel. How to do load balancing since I don't insert vhost in litespeed?
2. When you say basic load balancing, is it just by round-robin?
proxy, load balancer external app are LSWS specifics which only available for LSWS vhost. iow, you need to create LSWS listener and vhost as frontend proxy to access backend (cpanel vhost).

basic load balancing is _not_ round-robin in that load balancer will not route traffic to a backend when it becomes unavailable.
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 01:30 AM.



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