Can someone give me some advice in setting up load balancing (and
suggestions on some good cheap software load balancers.) I need a load
balancer which can look at the incoming http request, query a session
variable in the request, and based on the value, it should route the
request to 1 of 10 servers. My questions are:
a) Is it even possible to inspect session variables, or do the Load
balancers (LB) work at a higher level? Will it be a considerable
performance hit to do this level of lookup?
b) I have a hash which maps a value in the session variable to the
server to which we need to route the request. What’s the best way to
maintain this hash? Keep it in memory in the LB? or have a database that
stores these values? Which is better given that I have about 10 million
values to choose from?
c) Any suggestions on a good software load balancer that can do this?
I would appreciate any help possible.