Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 14158 invoked from network); 5 Jul 2007 11:33:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2007 11:33:23 -0000 Received: (qmail 69700 invoked by uid 500); 5 Jul 2007 11:33:21 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 69523 invoked by uid 500); 5 Jul 2007 11:33:20 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 69507 invoked by uid 99); 5 Jul 2007 11:33:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 04:33:20 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [85.115.8.17] (HELO mail.intercomponentware.com) (85.115.8.17) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 04:33:14 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.intercomponentware.com (Postfix) with ESMTP id 98508CA for ; Thu, 5 Jul 2007 13:32:51 +0200 (CEST) Received: from mail.intercomponentware.com ([127.0.0.1]) by localhost (srv-ux-0017 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18862-08 for ; Thu, 5 Jul 2007 13:32:51 +0200 (CEST) Received: from icwlotus1.intercomponentware.com (icwlotus1.intercomponentware.com [85.115.8.11]) by mail.intercomponentware.com (Postfix) with ESMTP id 6B286C9 for ; Thu, 5 Jul 2007 13:32:51 +0200 (CEST) In-Reply-To: <468CD3C3.1060000@apache.org> To: "Tomcat Developers List" Subject: Re: Feature request /Discussion: JK loadbalancer improvements for high load MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: Yefym Dmukh Date: Thu, 5 Jul 2007 13:32:38 +0200 X-MIMETrack: Serialize by Router on ICWLotus1/InterComponentWare(Release 6.5.5|November 30, 2005) at 05.07.2007 13:32:39, Serialize complete at 05.07.2007 13:32:39 Content-Type: multipart/alternative; boundary="=_alternative 003FB57BC125730F_=" X-Virus-Scanned: by amavisd-new at intercomponentware.com X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 003FB57BC125730F_= Content-Type: text/plain; charset="US-ASCII" >You have oxymoron here. With session stickiness you are willingly >tear down the load balancer correctness because you don't wish/can >have session replication. >Even with the smartest LB and even with the two way communication >it's only possible to make that working in non session stickyness >topology. In other case you would loose sessions on each GC cycle. >However like Rainer said the solution is to choose >the appropriate GC strategy for web based application. Generally you are right, but the ideal world is not the reality: we use apache my faces implementation of jsf where the core session class size is about 500KB, the compression of state kills CPU, the size kills session replication/failover approach. So we have is what we have aqnd we are trying to get the best out of it. BTW, what about the bidirectional jvm-lb connection and the stop-the-world GC managed by lb, as keep it simple approach ? Mladen Turk 05.07.2007 13:19 Please respond to "Tomcat Developers List" To Tomcat Developers List cc Subject Re: Feature request /Discussion: JK loadbalancer improvements for high load Yefym Dmukh wrote: > > Actually the following was happening: the LB sends requests and gets the > session sticky, continuously sending the upcoming requests to the same > cluster node. At the certain period of time the JVM started the major > garbage collection (full gc) and spent, mentioned above, 20 seconds. At > the same time jk continued to send new requests and the sticky to node > requests that led us to the situation where the one node broke the SLA on > response times. > You have oxymoron here. With session stickiness you are willingly tear down the load balancer correctness because you don't wish/can have session replication. Even with the smartest LB and even with the two way communication it's only possible to make that working in non session stickyness topology. In other case you would loose sessions on each GC cycle. However like Rainer said the solution is to choose the appropriate GC strategy for web based application. Regards, Mladen. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org --=_alternative 003FB57BC125730F_=--