This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reg. load balancing  RSS feed

 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the scope of application object in load balancing environment.As like JSP 0.92 on NES which creates servlets at runtime, doesnt support sticky session so chances are there to lost their identity, so how to avoid to lost of appli. session to work smoothly on multiple servers.
So wotz the tuning reqd.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since loadbalancing in general works with application routers that route the request to one of the (idle)available 'service', it is not recommended to store state-based information on the service. If you must do this, then you will need to design some kind of a store-and-recover mechanism to maintain state information in a different place.

------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java2 Platform.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!