Link to home
Start Free TrialLog in
Avatar of joshua731
joshua731

asked on

Load Balancer and VIP setup Question: Roundrobin, Hash, Leastconn, or Minmiss?

I'm consulting as project manager and setting up several membership websites which are expected to be heavy traffic.

The hosting company has posed a few of questions and I'm not quite sure how to respond.

First which servers are to be load-balanced?  (I assume our "web servers" not content or development servers.)

Second, they want me to select a public IP address or VIP address.  I wasn't aware one could choose, but since I must, how do I?

Last,  do I have the web servers added to a cluster and have them "roundrobin, hash,  leastconn, or minmiss?"
Avatar of rowansmith
rowansmith

This all depends on a number of things.

Firstly your IP Address.  You will probably find that your provider has given you a pool of addresses, some will already be assigned to your hosts the other will be free, you just want to choose a free one.  Basically they have given you a range and it is up to you how you use that range.  Also you will need to configure this address in your DNS.

As for the load balancing question, this all depends on the type of application you are running and which one will meet your needs.

Avatar of joshua731

ASKER

I am also looking for the definition of each of these terms and the implications of each:

roundrobin
hash
leastconn
minmiss
Roundrobin send each connection in series to the next box, so if you have three web servers it will send each new connection to each of the devices in a round robin fashion.

Leastconn every new connection will be sent to the web server which currently has the least number of connections, if two servers have the same (least) number of connections it will probably round-robin, but it might go to the one that has waited the longest since a connection

hashing is a bit hard to explain check out: http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=135 basically it gives you persistence and roundrobin at the same time.

minmiss - I have no idea what this is ..., it is probably a combination of hashing and roundrobin...
ASKER CERTIFIED SOLUTION
Avatar of rowansmith
rowansmith

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That is an excellent link.