• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Application Hosting On LoadBalancer

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Blueberry pie is best when it is firm and you can hold in your hand. Smell it. And smell this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic