Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 35677 invoked from network); 16 Oct 2003 21:07:29 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Oct 2003 21:07:29 -0000 Received: (qmail 59867 invoked by uid 500); 16 Oct 2003 21:07:10 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 59816 invoked by uid 500); 16 Oct 2003 21:07:09 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 59803 invoked from network); 16 Oct 2003 21:07:09 -0000 Received: from unknown (HELO public.coredevelopers.net) (209.233.18.245) by daedalus.apache.org with SMTP; 16 Oct 2003 21:07:09 -0000 Received: from tiger (gateway [192.168.2.253]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by public.coredevelopers.net (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id 083236FC3 for ; Thu, 16 Oct 2003 14:05:48 -0700 (PDT) From: "Jeremy Boynes" To: Subject: RE: Web Clustering : Stick Sessions with Shared Store Date: Thu, 16 Oct 2003 14:07:15 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Andreas Schaefer [mailto:aschaefer@SeeBeyond.com] > Sent: Thursday, October 16, 2003 12:59 PM > > Disadvantages > 1. Need to write the session to the DB for every request. > > > Awaiting comments. > -hb > > [Andy] > > Now your DB becomes the single point of failure instead. Unless the DB > is clustered, too, your synchronization will fail when the DB fails. > AFAIK WebSphere is using or used this approach (for state replication) > and that was in part a reason why it was/is so slow. > The system will typically have a hi-av database solution anyway otherwise the DB will be a single point of failure for normal data storage (e.g. from EJBs). However, as Andy says, the cost of storing a serialized object in a BLOB is significant. Other forms of shared store are available though which may offer better performance (e.g. a hi-av NFS server). The issue I have with hb's approach is the reliance on an Admin Server, of which there would need to be at least two and they would need to co-operate between themselves and with any load-balancers. I think this can be handled by the regular servers themselves just as efficiently. I am also not convinced it reduces the amount of net traffic. After each request the MS must write to the shared store, which is the same traffic as a unicast write to another node or a multicast write to the partition (discounting the processing power needed to receive the message). -- Jeremy