Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 3804 invoked from network); 28 Mar 2009 17:58:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2009 17:58:03 -0000 Received: (qmail 58293 invoked by uid 500); 28 Mar 2009 17:58:02 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 58195 invoked by uid 500); 28 Mar 2009 17:58:02 -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 58187 invoked by uid 99); 28 Mar 2009 17:58:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Mar 2009 17:58:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of earwin@gmail.com designates 72.14.220.157 as permitted sender) Received: from [72.14.220.157] (HELO fg-out-1718.google.com) (72.14.220.157) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Mar 2009 17:57:54 +0000 Received: by fg-out-1718.google.com with SMTP id l27so117003fgb.4 for ; Sat, 28 Mar 2009 10:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=P8LnDeKWaL+SoJrxvOti0kLinktHzm+DXsQrUYLQHiM=; b=LmloQNM6RhaZozhMQER4noc4CEQ29CRSjClqQvakm7e4WsAqBacVPjQn0vhnGR20rq nUtu3BfDNuVJkERintciYrnWdOTh1gRinDVdT1fYxqF5isQE9atmCCeG/7iB80Z+POct AzJAk/yxDCG1TaqeshQ+0AjIc29mpNYxdxI0M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=PmGtwNEKS2xjHyTvc5d+6+Z2HUS4iWl8lK7Nukh+X2kBmf2HffXTN5VqQXG85dm8DD kW/TUvRy8ZT+B1Bq/vUZIIsuCvm4qprtUfJ2QnuGTMvJ22lP/rORT+hctceDAb8jtqZG 2U2L5zcPsqgPPy3V/aDMBRd3CEDkRmmw2Adfg= MIME-Version: 1.0 Received: by 10.86.33.10 with SMTP id g10mr2974168fgg.44.1238263054234; Sat, 28 Mar 2009 10:57:34 -0700 (PDT) In-Reply-To: <9ac0c6aa0903280926i801ee15ve9accfe62bd794f7@mail.gmail.com> References: <49CE29B0.2020207@gmail.com> <9ac0c6aa0903280926i801ee15ve9accfe62bd794f7@mail.gmail.com> Date: Sat, 28 Mar 2009 20:57:34 +0300 Message-ID: <59b3eb370903281057k10dad324p27f40e11ddef04ee@mail.gmail.com> Subject: Re: NIO.2 From: Earwin Burrfoot To: java-dev@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > I think having async IO will be great, though I wonder how we would > change Lucene to take advantage of it. =C2=A0It ought to gain us > concurrency (eg we can score last chunk while we have an io request > out to retrieve next chunk, of term docs / positions / etc.). A presentation given above references Big*Buffers, including MappedBigByteBuffer, which differ from their not-so-Big counterparts in using long sizes/offsets. That means (woo-hoo!) a way better MMapDirectory. Everything else there is totally irrelevant to lucene. Okay, maybe atomic file moves, but that part of Directory is long time deprecated :) --=20 Kirill Zakharenko/=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB =D0=97=D0=B0=D1=85= =D0=B0=D1=80=D0=B5=D0=BD=D0=BA=D0=BE (earwin@gmail.com) Home / Mobile: +7 (495) 683-567-4 / +7 (903) 5-888-423 ICQ: 104465785 --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org