tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: load balancing and synchronization
Date Mon, 02 Apr 2001 15:51:31 GMT
>if i do load balancing with tomcat (w/ mod_jk), what happens 
>if the two tomcat servers at the same time execute a 
>synchronized method? 

With mod_jk, even in load balancing mode, a request is allways
sent a a SINGLE tomcat !

>will they know that they mustn't execute 
>it concurrently or not? if synchronization worked only per 
>JVM, would there be a workaround?

The Tomcat didn't (and must'nt) know about others tomcats

>thanks,
>
>-nico
>
>
>Nico Wieland
>
>NETVERTISING AG    Agentur fuer zeitgerechte Kommunikation
>Samariterstrasse 5, CH 8032 Zuerich
>Telefon +41 1 267 11 11,  Fax +41 1 267 11 99
>mailto:wieland@netvertising.ch  http://www.netvertising.ch
>
>

Mime
View raw message