Hi,
We have our application running on two different WebSphere application servers. We need to count number of active sessions at any given point in time.
How can count for both the servers,since we are not sure when user logs in where he will be redirected thru big IP.
(suppose we have singleton)...Or is there any better solution
Thanks
Venkatesh
-
Number of active Sessions in Clustered server environment (3 messages)
- Posted by: Venkatesh Rajmendram
- Posted on: July 25 2003 17:39 EDT
Threaded Messages (3)
- Number of active Sessions in Clustered server environment by Cameron Purdy on July 26 2003 20:14 EDT
- Number of active Sessions in Clustered server environment by Venkatesh Rajmendram on July 27 2003 10:21 EDT
- Number of active Sessions in Clustered server environment by Cameron Purdy on July 27 2003 10:29 EDT
- Number of active Sessions in Clustered server environment by Venkatesh Rajmendram on July 27 2003 10:21 EDT
-
Number of active Sessions in Clustered server environment[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: July 26 2003 20:14 EDT
- in response to Venkatesh Rajmendram
Venkatesh,
With WebSphere, that's relatively hard, although in version 5 there is some support for sessions with multiple JVMs running WebSphere.
What version of WebSphere are you running?
If you do have to share data between WebSphere JVMs, use Tangosol Coherence.
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Easily share live data across a cluster! -
Number of active Sessions in Clustered server environment[ Go to top ]
- Posted by: Venkatesh Rajmendram
- Posted on: July 27 2003 10:21 EDT
- in response to Cameron Purdy
Cameron,
We are currently using websphere 4.0.5 , how can it be done thru 5.0 ? meaning one JVM can talk to other JVM ?? we don't have any EJB clusting, Its just multiple web and app servers.
How can your product be helpful. Can you give insight?
Thanks
Venkatesh. -
Number of active Sessions in Clustered server environment[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: July 27 2003 22:29 EDT
- in response to Venkatesh Rajmendram
We are currently using websphere 4.0.5
To run an application across multiple WebSphere 4 instances ("clones") you have a couple of choices:
1. You can store the sessions in a database. This is pretty slow and bogs down the database quickly if the app is under load.
2. You can use the WebSphere 4 plug-in from Tangosol to do clustered HTTP sessions. With this approach, you could access the count (and other details) of all sessions in the cluster.
how can it be done thru 5.0 ?
For WebSphere 5, you have the same choices, plus one more: IBM has a built-in session backup scheme in WebSphere 5 that is based on JMS ("gryphon"?). I don't have any details on it.
meaning one JVM can talk to other JVM ??
That's what our Coherence product does.
we don't have any EJB clusting, Its just multiple web and app servers.
How can your product be helpful. Can you give insight?
Sure. Each server could update a shared count of sessions. That data can be shared in a cluster by placing it into a clustered cache.
For help putting together an example, email support at tangosol dot com.
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Easily share live data across a cluster!