Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Tracking in clustered environment

 
rajesh godbole
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • 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.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you to read Clustering document of weblogic server.
http://edocs.bea.com
 
Ronald Heukers
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • 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
  • 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: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • 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: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • 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: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • 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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic