Re: LDAP shall speak unto LDAP + first cut at best-first searching

Simon E Spero <ses@tipper.oit.unc.edu> Mon, 29 November 1993 18:04 UTC

Received: from ietf.nri.reston.va.us by IETF.CNRI.Reston.VA.US id aa01638; 29 Nov 93 13:04 EST
Received: from CNRI.RESTON.VA.US by IETF.CNRI.Reston.VA.US id aa01634; 29 Nov 93 13:04 EST
Received: from haig.cs.ucl.ac.uk by CNRI.Reston.VA.US id aa15851; 29 Nov 93 13:04 EST
Received: from bells.cs.ucl.ac.uk by haig.cs.ucl.ac.uk with local SMTP id <g.05375-0@haig.cs.ucl.ac.uk>; Mon, 29 Nov 1993 16:26:25 +0000
Received: from tipper.oit.unc.edu by bells.cs.ucl.ac.uk with Internet SMTP id <g.13509-0@bells.cs.ucl.ac.uk>; Mon, 29 Nov 1993 16:26:14 +0000
Received: from localhost.oit.unc.edu by tipper.oit.unc.edu (SMI4.1/FvK 1.02) id AA03589; Mon, 29 Nov 93 11:25:58 EST
Message-Id: <9311291625.AA03589@tipper.oit.unc.edu>
To: Tim Howes <tim@terminator.rs.itd.umich.edu>
Cc: ldap@umich.edu, osi-ds@cs.ucl.ac.uk
Subject: Re: LDAP shall speak unto LDAP + first cut at best-first searching
In-Reply-To: Your message of "Mon, 29 Nov 93 10:59:06 EST." <199311291559.KAA25286@terminator.rs.itd.umich.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 29 Nov 93 11:25:58 -0500
Sender: ietf-archive-request@IETF.CNRI.Reston.VA.US
From: Simon E Spero <ses@tipper.oit.unc.edu>

Tim - 

Dealing first with the request groupings; The reason I'd suggested allowing 
requests to be grouped together is to allow a group of messages to be handled
with the same message id. 
 
 In LDAP, the main job of a message id is to allow the client to associate
responses with streamed requests. Since LDAP operates over a reliable 
transport layer, messageID has no other role.

In CLDAP, messageID has to do the work of the transport layer as well. 
Suppose we had send of a search request with messageID 123, and the server
found six matches. With CLDAP as defined now, each of those results would be
sent back with messageId 123. However, the client has no way of knowing that
there are six replies on the way; it might only recieve four of them, or packet
duplication might mean that seven replies turn up. 
 There is no way for the client to detect the loss of a message where 
multiple responses are sent, and duplication can only be determined by 
comparing the actual message body.

I'm not convinced that allowing grouped requests is the best solution to the
problem (it hurts streaming), but it does seem to be one of the simplest,
and for cases with more complex demands there's always LDAP to fall back on 
(There's no point in re-inventing TCP; I'm no Van Jacobsen).

I'll try and answer your other question in another message

Simon