tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "José Manuel Molina Pascual" <raistlinmol...@gmail.com>
Subject Slow Replication
Date Tue, 15 Jan 2008 20:25:08 GMT
Hello.

We use tomcat 5.5.23.

We have had some problems when replicating what we have called
"sleeping session", that is: sessions different from the one that you
get if you ask the container for a session (by using
httpRequest.getSession()). What we did is to use the session we get
(we call it carrier session) to replicate the changes to the other
instances using an attribute consisting on two hashmaps (changed/added
attributes and removed attributes) and a String (sleeping seesion Id).

I sent a mail with an strange problem (the instances that received the
replication received the past attributes, not the values of the latest
request served), I managed to solve it by killing the session each
time the node has to deal with a sleeping session.

Now, we have a less important problem, when we stress the cluster
about 10% of the requests seem to fail due to previous state not
having reached the other boards.

The question is: how can we improve the cluster performance when
replicating state?

Thanks in advance.

-- 
The complexity of software is an essential property, not an accidental one.

Our ignorance is God; what we know is science. (Robert Ingersoll).

Religion is regarded by the common people as true, by the wise as
false, and by the rulers as useful. (Edward Gibbon)

---------------------------------------------------------------------
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