Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 93173 invoked from network); 15 Jan 2008 20:25:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jan 2008 20:25:49 -0000 Received: (qmail 39772 invoked by uid 500); 15 Jan 2008 20:25:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 39752 invoked by uid 500); 15 Jan 2008 20:25:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 39741 invoked by uid 99); 15 Jan 2008 20:25:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 12:25:27 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=FS_REPLICA,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raistlinmolina@gmail.com designates 209.85.146.177 as permitted sender) Received: from [209.85.146.177] (HELO wa-out-1112.google.com) (209.85.146.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2008 20:25:03 +0000 Received: by wa-out-1112.google.com with SMTP id m38so4686720waf.16 for ; Tue, 15 Jan 2008 12:25:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=KMPYIeYBqxHsHE/zdx+zYCowRFS1gaxsbDh9E0icb9w=; b=cdMsI6rl+gGM199YY/nh1kCc2AIFfKBpBLoZJji2RPtuas9xGKGBzwkbse93CgSUPc5UL6X/PLmH1TLXf0StEZJBxtlPZGUEk7RETnqgi0pgE2BKHCudJkgnWUVWx1EyPgVKwy4SU/GXApeJBLxHLhoKPT+GkcKLDRoxSrHGRfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GtnnEC9kVsNsop/W3JlUG0YetzYvH7BPQHn70v50IBzjs6SsBY4OjX2g2m5WpJjiOu3eHHrDlpnZsiNin0YE/64q4FI4Dyg7Z5ZhjZh76ChW6Q1wrIvJKTwO1BP7ualDD9SzN4bZhPPRnmmqKWAKj62e058rG/py8lSFo9f3V28= Received: by 10.114.199.1 with SMTP id w1mr5542406waf.38.1200428708117; Tue, 15 Jan 2008 12:25:08 -0800 (PST) Received: by 10.114.57.2 with HTTP; Tue, 15 Jan 2008 12:25:07 -0800 (PST) Message-ID: Date: Tue, 15 Jan 2008 21:25:08 +0100 From: "=?ISO-8859-1?Q?Jos=E9_Manuel_Molina_Pascual?=" To: "Tomcat Users List" Subject: Slow Replication MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org 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