• Post Reply Bookmark Topic Watch Topic
  • New Topic

Load balancing

 
Pankaj Kumarkk
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I have a application deployment structure as follows:

Load Balancer > Server 1/Sever 2
where Server1 and Server 2 are not clustered

How is the session management done in this scenario such that same client requests can access the session data
 
Rob Spoor
Sheriff
Posts: 20820
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll have to give us a little more information. What are these servers, Tomcat? And the load balancer, Apache HTTP?
If the answer to both question is yes, you'll have to configure the load balancer to use sticky sessions. We did that where I work and it's working pretty good. Only one hickup was reported, where someone switched to the other server for no reason.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!