tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Ricker <>
Subject Re: Tomcat Load Balancing / Session Clustering - Tests
Date Thu, 10 Jul 2003 15:35:09 GMT
Well, load testing on the Apache end would be the way to go for
scalability testing. You can monitor the network connections to the
Tomcat instances (use of netstat does well here; grep for the number of
connections to each port every N seconds or minutes, etc.).

To test the session stuff, try shutting down instances as you are
running through the app. Can you access each Tomcat instance
individually? The best way is to use each Tomcat's web server and to
access it on the port. Then, shut down that Tomcat and access another
Tomcat by its port. If your session continues unaffected, you are good
to go.

If you have a REALLY good load tester that can capture page data (i.e.,
return codes and pages from the web server), you could randomly shutdown
Tomcat instances while load testing to see how that affects the ouput.


Ben Ricker 

On Thu, 2003-07-10 at 09:52, Weissman, Alan wrote:
> Hey everyone,
> I've set up a few Tomcat instances in a cluster and would like to test the
> scalability of the cluster as well as make sure the session clustering is
> working.  Testing scalability is easy and I have load balncing software, but
> whats the best way to make sure that sessions are clustering as expected?  
> Thanks,
> Alan Weissman
> Systems Engineer
> Concord Financial Technologies
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message