• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
reply
    Bookmark Topic Watch Topic
  • New Topic