This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Distributed Java and the fly likes Application Hosting On LoadBalancer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Application Hosting On LoadBalancer" Watch "Application Hosting On LoadBalancer" New topic

Application Hosting On LoadBalancer

Vaibhav G Garg
Ranch Hand

Joined: Sep 23, 2011
Posts: 140
Hi All,

Currently, our application is running on one instance of IBM Wepsphere App Server but due to some performance bottlenecks, it has been proposed to introduce Load Balancer to share the load between different servers. Please let me know what all best practices or steps I need to ensure so that application runs smoothly using load balancer.

Few More General Queries about coding perspective:

i. Will there be any impact on the context attributes? Since context is one per JVM, so, what will happen to the attributes stored in one context??

ii. Will there be any impact on the session attributes?

iii. Will there be any impact on request handling mechanism?

Vaibhav Garg
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3887

It can involve changes of those given the application server's capabilities etc... for example you might want user session migration from one instance to another when a request is routed to another instance by the LB. But at the same time you can use sticky sessions so that a given user is always routed to the same instance all the time.

[How to ask questions] [Twitter]
I agree. Here's the link:
subject: Application Hosting On LoadBalancer
It's not a secret anymore!