A little more info..
With clustering enabled, any system activity generates ridiculous amounts of UDP multicast and unicast traffic. tcpdump logged over 10,000 cluster-related packets as a result of a single click in our application.
There are vague references in the documentation to some settings that seem to be related to how often state information is replicated between cluster nodes
However these settings are not being accepted, nor are the possible options and when you might use them actually explained.. the above is just the example settings from the documentation..
Anyone have ANY comments?
1) Try using and downloading 3.2.2rc4
2) The interval options are in deploy\jbossweb-tomcat41.sar\META-INF\jboss-service.xml and the values are configured with...
If you are using clustering, the following two attributes
define when the sessions are replicated to the other nodes.
The default value, "instant", synchronously replicates changes
to the other nodes. In this case, the "SnapshotInterval" attribute
is not used.
The "interval" mode, in association with the "SnapshotInterval"
attribute, indicates that Tomcat will only replicates modified
sessions every "SnapshotInterval" miliseconds at most.
instant <!-- you may switch to "interval" -->
3) Make sure you specify your tomcat/mod_jk route! (Search the forum for info on this)
You still wont replicate as fast as Weblogic 5.1 did, but this should get you a lot closer.
- Eric Molitor
Minor detail left out - we were using jbossweb-jetty instead of tomcat.. Those options were not available with jetty.
I have since tried Tomcat and it seems to be working better.. I've got it running approximately the same speed as unclustered.. even with the replication frequency set to instant..