Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Load Balancing - Handling Session between multiple servers.  RSS feed

Abhishek khare
Posts: 25
  • Mark post as helpful
  • send pies
  • 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.


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!