aspose file tools*
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
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Application Hosting On LoadBalancer" Watch "Application Hosting On LoadBalancer" New topic
Author

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?

Thanks,
Vaibhav Garg
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3849

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.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application Hosting On LoadBalancer