Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 39642 invoked from network); 12 Feb 2008 02:27:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2008 02:27:11 -0000 Received: (qmail 85407 invoked by uid 500); 12 Feb 2008 02:27:04 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 85357 invoked by uid 500); 12 Feb 2008 02:27:04 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 85346 invoked by uid 99); 12 Feb 2008 02:27:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Feb 2008 18:27:04 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Feb 2008 02:26:33 +0000 Received: by wa-out-1112.google.com with SMTP id m38so2750000waf.5 for ; Mon, 11 Feb 2008 18:26:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=d+JU3ECJvFcFzzcCXwWmX+Ao/v7FDYmhwBXfwRMAPHA=; b=H7KxJv2C1VbrOWDZs9ahn83YCTEARl2ZKFntnEom8SqVAJjUKniQ8ix2BjpOmKNGCCJK1MtwWdT4fdvhOMOhAEY1hulPMHmfwbMk9zm7V0x8fZQKV1oSQYlYhKigx3Tycq187bGmV5F9lbqjtoqQjQtk50LgfZrZzq4HwEoHG6o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=PdQdVtiBXQivcjXHPjaz2S6lggTISZcR4R8N05e0ZK4/zmpCty71rTAPceveunKqahVGLippRCfhefNHOaCbwgltpzLWejNT+elVT61OSUWXB7SZqn+mSlGy0HcNq8BPYtiw2uAllmNFhRf4ssWPnBFY+XUllnEqSnPtT9zah9s= Received: by 10.114.137.2 with SMTP id k2mr819301wad.104.1202783201223; Mon, 11 Feb 2008 18:26:41 -0800 (PST) Received: by 10.115.76.4 with HTTP; Mon, 11 Feb 2008 18:26:40 -0800 (PST) Message-ID: Date: Mon, 11 Feb 2008 21:26:40 -0500 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: "Apache Directory Developers List" Subject: Re: splay tree for duplicate key cursor implementation In-Reply-To: <47B0AD54.6000100@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_48316_8069211.1202783201218" References: <47B0AD54.6000100@gmail.com> X-Google-Sender-Auth: 0e7344a7dc62c7ab X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_48316_8069211.1202783201218 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Kiran for posting our off line conversations here. Alex On Feb 11, 2008 3:17 PM, Kiran Ayyagari wrote: > hi Guys, > > During a discussion with Alex it was understood that implementing a > linked > splay tree for duplicate key cursor may not result in any > performance gain. > > When we perform lookups on the splay tree (kept in memory after > fetching the > serialized version ) its structure changes due to splaying. > > This changed structure will be discarded without writing back to the > disk to > eliminate the write cost. This way it will not help us in any form > to get the amortized > time benefits. > > So we are thinking of using some kind of btree for the actual > implementation. > > Thoughts? > > - Kiran Ayyagari > > ------=_Part_48316_8069211.1202783201218 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Kiran for posting our off line conversations here.

Alex

On Feb 11, 2008 3:17 PM, Kiran Ayyagari <ayyagarikiran@gmail.com> wrote:
hi Guys,

   During a discussion with Alex it was understood that implementing a
linked
   splay tree for duplicate key cursor may not result in any
performance gain.

   When we perform lookups on the splay tree (kept in memory after
fetching the
   serialized version )  its structure changes due to splaying.

   This changed structure will be discarded without writing back to the
disk to
   eliminate the write cost. This way it will not help us in any form
to get the amortized
   time benefits.

   So we are thinking of using some kind of btree for the actual
implementation.

 Thoughts?

- Kiran Ayyagari


------=_Part_48316_8069211.1202783201218--