tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik - Dev" <>
Subject Re: Synchronization in cluster
Date Thu, 30 Sep 2004 15:36:34 GMT
sounds like your system needs a little rethinking, if you have singleton access to your DB.
That is why the DBs are transactional, so that you can use connection pooling.

you can use JGroups, but you might run into serious performance problems, not because of JGroups,
but because of the fact that you
want to lock several tomcats in a distributed lock when accessing the DB.


----- Original Message -----
From: "Igor" <>
To: <>
Sent: Thursday, September 30, 2004 10:16 AM
Subject: Re: Synchronization in cluster


Thank you for answers! I will try to use JGroups

We have data, that is often need to be read. And it is rarely written.
It is implemented using Singleton pattern.

Synchronization is used in several parts of web application.
It is used mostly to access database

Thank you,

----- Original Message -----
From: "LERBSCHER Jean-Pierre" <>
To: "'Tomcat Users List'" <>
Sent: Thursday, September 30, 2004 10:41 AM
Subject: RE : Synchronization in cluster

What are your needs? Why distributed singleton or distributed locking are so
important ?
Perhaps you can use Database to implement locking functionality and Jgroups
library to replicate state (or distributed singleton) across members of a
group (see

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

View raw message