Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 23796 invoked from network); 21 Sep 2006 20:13:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 20:13:45 -0000 Received: (qmail 57880 invoked by uid 500); 21 Sep 2006 20:13:44 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 57383 invoked by uid 500); 21 Sep 2006 20:13:43 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 57371 invoked by uid 99); 21 Sep 2006 20:13:43 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 13:13:42 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=yseeley@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=yseeley@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.166.183 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.166.183] ([64.233.166.183:48099] helo=py-out-1112.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id B4/B3-03726-572F2154 for ; Thu, 21 Sep 2006 13:13:41 -0700 Received: by py-out-1112.google.com with SMTP id e30so482308pya for ; Thu, 21 Sep 2006 13:13:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BXg3CR2WTLfuuER0TO70ZcdiaAztOuJcr6/zAGzBTqhuLaLomDMsCcArdyhp5farngNu2quR2eI8QeVgSR8sC2WgvheYx4KpXG8hedmBIieH8B4uRI9OfXbgBd/uesVVWwcGHnkcjLkHDK2z5Uwwd05a8w9ppPKJU1ZzfexdvMo= Received: by 10.35.61.17 with SMTP id o17mr31580881pyk; Thu, 21 Sep 2006 13:13:37 -0700 (PDT) Received: by 10.35.129.12 with HTTP; Thu, 21 Sep 2006 13:13:37 -0700 (PDT) Message-ID: Date: Thu, 21 Sep 2006 16:13:37 -0400 From: "Yonik Seeley" Sender: yseeley@gmail.com To: java-dev@lucene.apache.org Subject: Re: Re: Re: Clustering IndexWriter? In-Reply-To: <8fcbd19a0609211250m44434bbap6b87fbac429dcda5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8fcbd19a0609201740u921f99ejb1603a9efab09f20@mail.gmail.com> <8fcbd19a0609210818p78d9cfdao29ca648620fae6e5@mail.gmail.com> <8fcbd19a0609211250m44434bbap6b87fbac429dcda5@mail.gmail.com> X-Google-Sender-Auth: 19ce0cdcfa8df463 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N While automatically clustering java objects sure sounds cool, I have to wonder what the performance ends up being. Every small change to the clustered objects is broadcast to all the nodes, correct? Have you done any performance comparisons to see if this is a practical approach for Lucene? -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server On 9/21/06, Steve Harris wrote: > Fair question. > > All I did/need was take SegmentInfos and instead of subclassing Vector > I made it contain a Vector. Went from subclassing to aggregation. As > far as I could > tell from reading the code it would make no difference to anyone and > should have no performance impact (good or bad). It just allowed me to > cluster the IndexWriter with a RAMDirectory. > > Maybe a little background would help. Our clustering product doesn't > use java serialization and has no API. We just use a little config > where one points us to what you want clustered and what java > synchronization needs to be shared. One of the limitations that > currently exists is that we don't support clustering subclasses of > java collections. > > At this point I'm just experimenting to see if our product can cluster > lucene in a useful/performant way. When my experimenting is complete, > if everything is positive, I am going to write a blog on clustering > lucene indexes but it would be awkward to do that if the people who > run through the example have to change lucene code. > > Does this help? > > Cheers, > Steve --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org