RE: [Forces-protocol] RE: GET/SET in one msg ?

"Joel M. Halpern" <jhalpern@MEGISTO.com> Sat, 16 October 2004 04:08 UTC

Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA04978 for <forces-protocol-web-archive@ietf.org>; Sat, 16 Oct 2004 00:08:27 -0400 (EDT)
Received: from megatron.ietf.org ([132.151.6.71]) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CIg3L-0005dI-FS for forces-protocol-web-archive@ietf.org; Sat, 16 Oct 2004 00:20:23 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CIfjs-0000Am-KN; Sat, 16 Oct 2004 00:00:16 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1CIfhK-0007bF-Eg for forces-protocol@megatron.ietf.org; Fri, 15 Oct 2004 23:57:39 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA04439 for <forces-protocol@ietf.org>; Fri, 15 Oct 2004 23:57:34 -0400 (EDT)
Received: from [64.254.114.114] (helo=megisto-e2k.megisto.com) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1CIfse-0005UI-Bs for forces-protocol@ietf.org; Sat, 16 Oct 2004 00:09:30 -0400
Received: from JLaptop.megisto.com ([192.168.20.227]) by megisto-e2k.megisto.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 15 Oct 2004 23:57:08 -0400
Message-Id: <5.1.0.14.0.20041015235333.023f5850@mail.megisto.com>
X-Sender: jhalpern@mail.megisto.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 15 Oct 2004 23:56:30 -0400
To: "Deleganes, Ellen M" <ellen.m.deleganes@intel.com>, "Khosravi, Hormuzd M" <hormuzd.m.khosravi@intel.com>, hadi@znyx.com
From: "Joel M. Halpern" <jhalpern@MEGISTO.com>
Subject: RE: [Forces-protocol] RE: GET/SET in one msg ?
In-Reply-To: <468F3FDA28AA87429AD807992E22D07E02E985D8@orsmsx408>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-OriginalArrivalTime: 16 Oct 2004 03:57:08.0637 (UTC) FILETIME=[354174D0:01C4B334]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: d890c9ddd0b0a61e8c597ad30c1c2176
Cc: zsolt@petri-meat.com, ram.gopal@nokia.com, forces-protocol@ietf.org, Steve Blake <slblake@petri-meat.com>, Alan DeKok <alan.dekok@idt.com>, "Yang, Lily L" <lily.l.yang@intel.com>
X-BeenThere: forces-protocol@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: forces-protocol <forces-protocol.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/forces-protocol>, <mailto:forces-protocol-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/forces-protocol>
List-Post: <mailto:forces-protocol@ietf.org>
List-Help: <mailto:forces-protocol-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/forces-protocol>, <mailto:forces-protocol-request@ietf.org?subject=subscribe>
Sender: forces-protocol-bounces@ietf.org
Errors-To: forces-protocol-bounces@ietf.org
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 33cc095b503da4365ce57c727e553cf1

I agree that rules about protocol combination are NOT for the protocol to 
enforce.  We would write them as ~the sender should not do X and Y, and 
receiver behavior if it receives such is indeterminant~.

I would agree that there should be no requirement on the order of 
application of operations in a message, although there probably is an 
atomicity requirement of the form ~either all of them will be done, or none 
of them will be done~.
Another way of putting this is that the protocol structures themselves 
should not mandate the presence of an order requirement, even if we as a 
working group were to decide that we wanted such ordering to be enforced.

Yours,
Joel

At 08:39 PM 10/15/2004 -0700, Deleganes, Ellen M wrote:
>The thing that is appealing about the proposal is not so much being able
>to combine operations as the notion of being able to define new ones
>without having to define new messages.
>
>I presume that the "rules" (e.g. never combine operations X and Y) are
>not something the protocol is expected to enforce. Otherwise, I think it
>would add unnecessary complication to the protocol processing.
>
>It also sounded like Joel was suggesting that if operations happened to
>be combined in a single message, the order shown in the protocol does
>not imply the order in which the implementation has to execute them. Is
>that right?
>
>Regards,
>Ellen
>
>
>-----Original Message-----
>From: Khosravi, Hormuzd M
>Sent: Friday, October 15, 2004 6:27 PM
>To: Joel M. Halpern; hadi@znyx.com
>Cc: Yang, Lily L; zsolt@petri-meat.com; Steve Blake; Alan DeKok;
>Deleganes, Ellen M; ram.gopal@nokia.com; forces-protocol@ietf.org
>Subject: RE: [Forces-protocol] RE: GET/SET in one msg ?
>
>
>Does anyone else have an opinion on this, especially if it is different
>from what Joel suggested ?
>Pls do let us know asap.
>
>I am fine with this, just want to make sure there are no contradicting
>opinions in the Model team.
>
>
>Thanks
>Hormuzd
>P.s. BTW, I don't think I still got a real example on how this would be
>useful.
>
>
>-----Original Message-----
>From: Joel M. Halpern [mailto:jhalpern@MEGISTO.com]
>Sent: Friday, October 15, 2004 6:20 PM
>To: hadi@znyx.com
>Cc: Khosravi, Hormuzd M; Yang, Lily L; zsolt@petri-meat.com; Steve
>Blake; Alan DeKok; Deleganes, Ellen M; ram.gopal@nokia.com;
>forces-protocol@ietf.org
>Subject: Re: [Forces-protocol] RE: GET/SET in one msg ?
>
>That would be my suggestion.
>
>To be specific, I would not have a Query and a Modify message, but
>rather
>would have an Operation message which can carry whatever operations we
>decide we need.  We may make specific rules that say "for sanity, never
>combine X and Y".
>
>I believe this will keep the protocol simpler.
>
>Yours,
>Joel
>
>At 08:40 PM 10/15/2004 -0400, Jamal Hadi Salim wrote:
> >Joel,
> >We are sort of in a rush here to beat a deadline ;-> Give it to us in
> >boolean logic please ;->
> >
> >Did i read correctly that since we may have multiple operations (we
>have
> >been discussing event un/subscribe as something that would appear as an
> >operation for example) then the way to go forward is have GET as an
> >operation?
> >
> >cheers,
> >jamal
> >
> >On Fri, 2004-10-15 at 20:11, Joel M. Halpern wrote:
> > > If we are sure that the only two operations we will ever need are
>GET and
> > > SET, then we could probably simply declare that a message was either
>a GET
> > > message or a SET message.
> > > However, we have had suggestions of INSERT operations, and I would
>hate to
> > > design the protocol so that we could not add other operations later.
>And
> > > some combinations of operations may make sense together (insert item
> > > A.  Add reference to A in item B.  Delete obsoleted item C.)
> > > Thus, I tend to think that it makes sense to structure the protocol
>so
> > that
> > > a single emssage can carry multiple operations.
> > > At the same time, as I said earlier, I would either prohibit or warn
> > > against combining update and read operations in the same
> > request.  Requests
> > > to read, for example to confirm the results of an update, ought to
>be sent
> > > separately so that the FE does not need to worry about the order of
> > > application.
> > >
> > > Yours,
> > > Joel
> > >
> > > At 03:55 PM 10/15/2004 -0700, Khosravi, Hormuzd M wrote:
> > > >No, I don't that's why I asked...since this was coming from Joel's
> > > >proposal.
> > > >I didn't get a good reason from his email either, but it seems like
>he
> > > >would like to have it supported by the protocol anyway.
> > > >
> > > >Joel, do you have any examples for us ?
> > > >
> > > >
> > > >Thanks
> > > >Hormuzd
> > > >
> > > >-----Original Message-----
> > > >From: Yang, Lily L
> > > >Sent: Friday, October 15, 2004 3:52 PM
> > > >To: Khosravi, Hormuzd M; 'Joel M. Halpern'; 'zsolt@petri-meat.com';
> > > >'Steven Blake'; 'Alan DeKok'; Deleganes, Ellen M;
>'ram.gopal@nokia.com'
> > > >Cc: 'forces-protocol@ietf.org'
> > > >Subject: RE: GET/SET in one msg ?
> > > >
> > > >I don't understand why you would want to do such a thing. Do you
>have
> > > >any example in mind?
> > > >
> > > > > -----Original Message-----
> > > > > From: Khosravi, Hormuzd M
> > > > > Sent: Friday, October 15, 2004 2:04 PM
> > > > > To: Joel M. Halpern; zsolt@petri-meat.com; Steven Blake;
> > > > > Yang, Lily L; Alan DeKok; Deleganes, Ellen M;
>ram.gopal@nokia.com
> > > > > Cc: forces-protocol@ietf.org
> > > > > Subject: GET/SET in one msg ?
> > > > >
> > > > > Hi Folks,
> > > > >
> > > > > We (protocol team) are finalizing some of the msgs and one of
> > > > > the issues which is being discussed is whether GET/SET
> > > > > operation need to be combined in a single msg...(currently we
> > > > > have them as separate msgs). I have never seen this being
> > > > > done in practice i.e. command bundling of GET/SET, but if you
> > > > > guys have some experience/opinions on this, pls do let us know.
> > > > >
> > > > >
> > > > > Thanks a lot,
> > > > > Hormuzd
> > > > >
> > > > >
> > >
> > >
> > > _______________________________________________
> > > Forces-protocol mailing list
> > > Forces-protocol@ietf.org
> > > https://www1.ietf.org/mailman/listinfo/forces-protocol


_______________________________________________
Forces-protocol mailing list
Forces-protocol@ietf.org
https://www1.ietf.org/mailman/listinfo/forces-protocol