tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LERBSCHER Jean-Pierre <jean-pierre.lerbsc...@cofiroute.fr>
Subject RE : Synchronization in cluster
Date Thu, 30 Sep 2004 07:41:41 GMT
Hi,
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 www.jgroups.org).

-----Message d'origine-----
De : Igor [mailto:ia_rud@ukr.net] 
Envoyé : mercredi 29 septembre 2004 20:42
À : tomcat-user@jakarta.apache.org
Objet : Re: Synchronization in cluster

Hello!

> if you are talking about distributed locking, then the answer is no

Thank you for reply !

Our web application uses locking and Singleton pattern. I am making
researches - is there a possibility to move to cluster architecture or load
balancing.

Distributed locking is not possible.
Distiributed Singleton (static variables) seems not to be possible too.

So web applications, that use locking or Singleton cannot use cluster
architecture or load balancing.

Maybe there is indirect way of implementing distributed locking or
distributed Singleton? For example, code that needs synchronization may be
concentrated in "main" Tomcat, and other Tomcats will call this code via
http or SOAP?

Is there any way to move web application with locking and Singleton to
cluster or load balancing?

Thank you,
Igor

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message