• 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

Session Tracking in clustered environment

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can someone through light on:

1. How session tracking is managed in clustered environment?

2. How singleton objects are managed in clustered environment?

Please suggest good site to read more details on the clustering environment.
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suggest you to read Clustering document of weblogic server.
http://edocs.bea.com
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rajesh,

On many loadbalancers you can put the option of session binding on for different ports. That means that a session will always go to the same server where he started. We have enabled this option for our applications and it saves us a lot of troubles with sessions.

regards,

Ronald
 
rajesh godbole
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Pradip.

I have downloaded the pdf file and will read it carefully. Looks fundamental,detailed and useful document.

Quick question: Is it weblogic specific information or is generic info? we might use websphere during the project.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by rajesh godbole:
Thanks Pradip.

I have downloaded the pdf file and will read it carefully. Looks fundamental,detailed and useful document.

Quick question: Is it weblogic specific information or is generic info? we might use websphere during the project.



The doc is specific to weblogic.No harm in reading it.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ronald Heukers:
Rajesh,

On many loadbalancers you can put the option of session binding on for different ports. That means that a session will always go to the same server where he started. We have enabled this option for our applications and it saves us a lot of troubles with sessions.

regards,

Ronald



This is called as "sticky load balancing".
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To implement a singleton in clustered environment bind the object to JNDI tree of one of the server. This has a single point of failure. Any other ideas? :roll:
reply
    Bookmark Topic Watch Topic
  • New Topic