tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim K <tim.k.5...@gmail.com>
Subject Re: StaticMembers within Multiple Clusters
Date Thu, 17 Jan 2019 15:28:48 GMT
On Tue, Jan 15, 2019, 3:14 PM Mark Thomas <markt@apache.org wrote:

> On 15/01/2019 18:36, Tim K wrote:
>
> > Question: what's considered a "large" cluster  I've seen a lot of
> > documentation about small vs large but I'd like to know what is
> considered
> > large.  Could the DeltaManager handle one single cluster (all-to-all)
> with
> > 8 members with 8GB allocated to each jvm, separate servers?  Not storing
> > much in the session besides 3-4 short strings.
>
> It depends more on the frequency and size of session updates.
>
> With the DeltaManager traffic volume is proportional to n(n-1) where n
> is the number of nodes. With the BackupManager it is proportional to n.
>
> With 8 nodes the DeltaManager generates 7 times the cluster traffic that
> the BackManager generates. Whether your network will cope with that will
> depend on the app and usage pattern.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


With the DeltaManager, instead of it notifying all nodes when sessions get
established, is there a way for it to only share that single node's
sessions during a shutdown event of that particular node?  For example,
node 1 of 8 has 5 sessions on it.  When node 1 is shut down, only then will
it replicate those 5 sessions to the other 7 nodes...  This would reduce
the all-to-all traffic that would be occurring constantly but would put
more weight on a shutdown event... Also, another wrinkle, the shutdown port
is disabled in server.xml for security reasons.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message