tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrique Arizón <e_arizon_ben...@yahoo.com>
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 <ps050202@gmail.com> escribió:

> Hi all,
> 
>    I want to cluster Tomcat6 along with session
> replication to implement
> Loadbalancing. From the document,
>
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html
> I have started
> making the things.
> 
>     Let me know where can I identify the default
> value of Multicast address
> is 228.0.0.4
> 
> 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: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message