• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Load Balancing - Handling Session between multiple servers.

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have developed an internet based application for our Client and have used Tomcat to test it.

We have supplied the client with the *.war file, and it working fine.

The Client has come back to us saying that the application is supposed to be deploy into 2 servers and then there is another server that load balances between the 2 servers. Since we have used sessions ids in the application it wont work in the multi-server environment.

As per my understanding using Server affinity, the load balancer would always send request from the client to the same server that generated the session id for this client and hence I dont need to do any changes.

I know that there will be flip side to this in case the one of the load balancing server dies, but I am not aware of any other way of handling this problem.

Please provide your view and insight to a possible solution to this problem.

FYI..the client is using BIG-IP as the load balancer.

TIA

 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic