Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 40188 invoked from network); 16 Oct 2005 12:51:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2005 12:51:03 -0000 Received: (qmail 30188 invoked by uid 500); 16 Oct 2005 12:51:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 30135 invoked by uid 500); 16 Oct 2005 12:51:00 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 30118 invoked by uid 99); 16 Oct 2005 12:51:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2005 05:51:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jgenender@savoirtech.com designates 209.181.65.237 as permitted sender) Received: from [209.181.65.237] (HELO sun.savoirtech.com) (209.181.65.237) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 16 Oct 2005 05:51:00 -0700 Received: from [206.197.197.30] ([206.197.197.30]) by sun.savoirtech.com (8.13.4/8.13.4) with ESMTP id j9GCn6Hx013059 for ; Sun, 16 Oct 2005 06:49:06 -0600 Message-ID: <43524C9C.9010605@savoirtech.com> Date: Sun, 16 Oct 2005 06:50:36 -0600 From: Jeff Genender User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Clustering References: <05425E6D6FB8E247BE7656DCA211DC3D0C2AEA92@ex7.hostedexchange.local> In-Reply-To: <05425E6D6FB8E247BE7656DCA211DC3D0C2AEA92@ex7.hostedexchange.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on sun.savoirtech.com X-Virus-Scanned: ClamAV 0.87/1136/Sat Oct 15 21:04:37 2005 on sun.savoirtech.com X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-105.7 required=5.6 tests=ALL_TRUSTED,AWL,BAYES_00, USER_IN_WHITELIST autolearn=failed version=3.0.4 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Surendra, We would be very interested in seeing what you have to offer ;-) Please tell us more as I am intrigued about your product. I guess the best way is to start, is telling us about what you would like to contribute and this will involve discussion from the community and team, and we can proceed forward from there. We have several steps we would need to go through (i.e. licensing, finding it a home in the source, etc), but community discussion is always first ;-) Thanks for your desire to contribute, Jeff Surendra Reddy wrote: > We, at Optena, are also working a proposal Geronimo Grid Architecture. > How can we involve and contribute in this activity? > > -Surendra > > -- > Surendra Reddy > Founder and Chief Technology Officer > Optena Corporation > 2860 Zanker Road, > San Jose, CA 95135 > skreddy@optena.com > > > -----Original Message----- > From: Dave Colasurdo [mailto:davecola@earthlink.net] > Sent: Saturday, October 15, 2005 5:05 AM > To: dev@geronimo.apache.org > Subject: Re: Clustering > > > > Jules Gosnell wrote: > >>Jeff Genender wrote: >> >> >>>Now that we have achieved the covetted J2EE Certification, we need to > > >>>start thinking about some of the things we will need to have in >>>Geronimo in order to be mass adopted by the Enterprise. >>> >>>IMHO, I think one of the huge holes is clustering. This is a heavy >>>need by many companies and I believe that until we get a powerful >>>clustering solution into G, it will not be taken as a serious J2EE >>>contender. >>> >>>So, with that said, I wanted to start a discussion thread on >>>clustering and what we need to do to get this into Geronimo. I >>>personally would like to be involved in this (thus the reason for me >>>starting this thread) - yeah, since Tomcat is done, now I am bored > > ;-). > >>>I was going over the lists and emails and had some great discussion >>>with Jules on the WADI project he has built. This seems compelling > > to > >>>me. I also noticed Active Cluster as a possibility. >>> >>>So lets start from the top. Do we use an already available clusering > > >>>engine or do we roll our own? Here is a small list of choices I have > > >>>reviewed and it is by no means complete... >>> >>>1) WADI >>>2) Active Cluster >>>3) Leverage the Tomcat Clustering engine >>> >>>So here are some of my questions... >>> >>>How complete is WADI and Active Cluster? Both look interesting to > > me. > >>>My only concern with Active Cluster is it seems to be JMS based, > > which > >>>I think may be slow for high performance clustering (am I incorrect > > on > >>>this?). How mature is WADI? >> >> >>Here is a status report on WADI. >> >>I'm developing it full time. >> >>A snapshot is available at wadi.codehaus.org - documentation is in the > > >>wiki - at the moment the documentation (rather minimalist) is more up > > to > >>date than the snapshot, but I will try to get a fresh one out next > > week. > >>WADI is a plugin HttpSession Manager replacement for Tomcat-5.0/5.5 > > and > >>Jetty-5.1/60 (it can actually migrate sessions between all four in the > > >>same cluster). >>It comprises a vertical stack of pluggable caches/stores (memory, > > local > >>disc, db etc) through which sessions are demoted as they age and >>promoted as and when required to service a request. > > > Can you please clarify the purpose of promotion/demotion of > httpsessions? Is this a mechanism to age old entries out of the cache? > How does this relate to httpsession inactivity timeouts? > Is the cache size configurable? > > >>This stack may be connected horizontally to a cluster by inserting a >>clustered store, which uses a distributed hash table (currently >>un-replicated, but I am working on it) to share state around the >>clusters members in a scalable manner. WADI has a working mod_jk >>integration. > > > Does this mean that each cluster member shares it's httpsession data > with all of the other members (1-> all) or is there the notion of > limiting the httpsession replication to one (or a few) designated > partners? > > > >>WADI currently sits on top of ActiveCluster, which it uses for >>membership notification and ActiveMQ which is used for transport by > > both > >>layers. ActiveMQ has pluggable protocols, including a peer:// protocol > > >>which allows peers to talk directly to one another (this should put to > > >>bed fears of a JMS based solution not scaling - remember, JMS is just > > an > >>API). So you do not need to choose between WADI and ActiveCluster - > > they > >>are complimentary. ActiveCluster can also (I believe) use JGroups as a > > >>transport - I haven't tried it. >> >>ActiveSpace is another technology in this area (distributed caching) > > and > >>it looks as if WADI and ActiveSpace will become more closely aligned. > > So > >>this may also be considered a complimentary technology. >> >>Both Tomcat and Jetty currently have existing clustering solutions. I >>looked closely at the Tomcat solutions before starting out on WADI and > > >>knew all about the Jetty solution, because I wrote it :-). WADI is my >>answer to what I see as shortcomings in all of the existing open > > source > >>approaches to this problem-space. >> > > Can you provide a quick high level description of the advantages of WADI > > over Tomcat and Jetty clustering solutions? > > > >>Some parts of WADI should soon (December) be undergoing some serious >>testing. When they pass we will be able to consider them production >>ready. Others, notably the distributed hash table are still under >>development (although a fairly functional version is available in the >>SNAPSHOT). >> >>I think that, in the same way Tomcat clustering could be enabled > > easily > >>in Geronimo, WADI could also be added by virtue of its integration > > with > >>Tomcat/Jetty, but I have been concentrating on my distributed hash > > table > >>too hard. If anyone is interested in talking further about WADI, > > perhaps > >>trying to plug it into Geronimo (It is spring-wired and uses spring to > > >>register its components with JMX. I guess it should be simple to hook > > it > >>into the Geronimo kernel in the same way, I just haven't had the > > time), > >>or helping out in any way at all, I would be delighted to hear from > > them. > >>I have broached the subject of a common session clustering framework >>with members of the OpenEJB team and we have discussed things such as >>the colocation of HttpSessions and SFSBs. I believe OpenEJB has been >>moving towards JCache to facilitate the plugging in of a clustering >>substrate. My distributed hash table is also moving in the same > > direction. > > So, if I understand correctly, you are working towards some common > infrastructure with openejb.. though WADI itself, will not address > clustering beyond the Web Tier? > > Thanks for the update! > > >>I hope that gives you all a little more information to go on. If you >>have any questions, just fire away, >> >> >>Jules >> >> >> >>>Thoughts and opinions are welcomed. >>> >>>Jeff >> >> >> >>