tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrique Arizón <>
Subject RE: Tomcat clustering
Date Mon, 07 Apr 2008 19:49:52 GMT
Just one point:

 Notice clustering ussually must be made at the
highest application layer. Generic Clustering support
provided by containers can be of little help in a real
world scenarios.

 If you users sessions are simple tomcat sessions
clustering will be enough but if you have complex
session data structures (let's say for example a
java.util.ArrayList/Hashtable) you will need custom
solutions to sync sessions between clustered nodes.

 The easy/non-optimal way to go could be to store
state in a clustered database and use tomcat sessions
to "mark" what must be fetch from database. Mysql
makes a great help since it use in memory (RAM)
storage for clustered tables, is easy to set up and
just limited by the maximum node size (a few Gigas
with moderm&cheap hardware).

--- Ch Praveena <> escribió:

> Hi all,
>    I want to cluster Tomcat6 along with session
> replication to implement
> Loadbalancing. From the document,
> I have started
> making the things.
>     Let me know where can I identify the default
> value of Multicast address
> is
> Please let me know if any other tutorials or
> articles in a detailed way for
> performing Tomcat6 clustering.
> -- 
> Regards,
> Praveena Chalamcharla,
> Securview....

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message