Re: [vwrap] thinking about LLIDL and the future
Morgaine <morgaine.dinova@googlemail.com> Fri, 16 July 2010 18:04 UTC
Return-Path: <morgaine.dinova@googlemail.com>
X-Original-To: vwrap@core3.amsl.com
Delivered-To: vwrap@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix)
with ESMTP id 9D7983A6AA2 for <vwrap@core3.amsl.com>;
Fri, 16 Jul 2010 11:04:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level:
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5
tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com
[127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TyvCnlVI5p04 for
<vwrap@core3.amsl.com>; Fri, 16 Jul 2010 11:04:38 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com
[74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id B3CFF3A659C for
<vwrap@ietf.org>; Fri, 16 Jul 2010 11:04:37 -0700 (PDT)
Received: by wyb40 with SMTP id 40so2208243wyb.31 for <vwrap@ietf.org>;
Fri, 16 Jul 2010 11:04:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma;
h=domainkey-signature:mime-version:received:received:in-reply-to
:references:date:message-id:subject:from:to:content-type;
bh=8EpcwfEiLW415jYFeyWNrVDsRYVQUFD0mlmaFgoWpOA=;
b=k1JPYV7yInMYkvNqkl/JcJFWSWJWPP0x/HnBEMtdZvvf10IhfPrf6C85djTSHLEp6N
4I/lf4dWFiwN3vzr8oE/6I+FIZInB0LFwHJ06sVGH6GQAuJRCXiUIj+YMkqMdkCqA4VV
CMzLTTBlpbayjgBXdaMUD0PikQebhWJLMtwuw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type;
b=GlOmGNLpsCU1ZfBl5Ix9uQ4Lw4CO13m2liilL4Bjw59T5/eIqH4cwG1H9D7IEjn2cc
ar71uwOvwzFuxi+VTzAH4oiD3r0cDme+KmxpMRtV3LQuabCNs2jLekKA2ZftMgdh2p9l
nAg3wh6gokEhjzerQlCl2TjrCFz482vaNfRZs=
MIME-Version: 1.0
Received: by 10.216.52.197 with SMTP id e47mr1043670wec.99.1279303484707;
Fri, 16 Jul 2010 11:04:44 -0700 (PDT)
Received: by 10.216.139.215 with HTTP; Fri, 16 Jul 2010 11:04:44 -0700 (PDT)
In-Reply-To: <AANLkTilBdc3PYb3-v2PSjMISzDLpdKmz57GStiUssElE@mail.gmail.com>
References: <AANLkTimqzIaVbirYFQc7LAb-u2BJF7UEy9oODznstg7z@mail.gmail.com>
<AANLkTikmHb43MLmgEdXegTteLoz6oaqLJjNDSncZTBxT@mail.gmail.com>
<AANLkTilBdc3PYb3-v2PSjMISzDLpdKmz57GStiUssElE@mail.gmail.com>
Date: Fri, 16 Jul 2010 19:04:44 +0100
Message-ID: <AANLkTimhqTIpVcgtFBQ5dfYRVdh_5ESo7hOlFEKN7KF2@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016e6dee6dec412e1048b850d9a
Subject: Re: [vwrap] thinking about LLIDL and the future
X-BeenThere: vwrap@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual World Region Agent Protocol - IETF working group
<vwrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vwrap>,
<mailto:vwrap-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vwrap>
List-Post: <mailto:vwrap@ietf.org>
List-Help: <mailto:vwrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vwrap>,
<mailto:vwrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Jul 2010 18:04:39 -0000
Considering asynchronous messages to be emitted in response to a CRUD operation on an appropriate resource fits in perfectly with the notion of Capabilities though. They ARE solicited, by a request to a resource. As in my earlier example of the text-only client, the CRUD operation UPDATE(scenegraph_updates_capability, ENABLE) was not invoked by the client (or it was invoked with the argument DISABLE), and hence that resource saves time and bandwidth by not sending the unwanted scenegraph updates. If instead the resource were set to ENABLE, those update messages would certainly be appearing in response to the ENABLE request, so it's a natural interpretation. And of course it's very helpful to have such events controlled by a capability. The alternative model in which events are considered normal CRUD operations on an event queue in the reverse direction is actually incorrect, because then those operations would require responses themselves, and that's not what we want. Events don't fit the synchronous request-response model, because they're not synchronous, and are ill-suited to a 2-way request-response paradigm for every event message. That's why I prefer the unidirectional model in which events occur as a sequence of zero or more messages in response to a normal CRUD operation. It's a clean model because the responses travel in the reverse direction perfectly naturally (since they're responses) and do not themselves require further ACKs. It's also justified because, after all, we will require a means of enabling / disabling updates and other asynchronous event notifications. This model kills two birds with one stone, and it's a natural fit for capabilities. Morgaine. ================================== On Fri, Jul 16, 2010 at 5:09 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com>wrote;wrote: > > EVENT is not a resource verb but an asynchronous transport > > property of a resource, and if that property is enabled by a CRUD > operation, > > then EVENT messages are emitted under control of that resource. > > > > hmmm.... okay... point taken. true enough, EVENT describes not a verb, > but a message type. > > my motivation here is to identify unsolicited messages. i think it's > unrealistic to assume that EVERY message will be properly modeled as a > request / response. consider the situation when someone wants to open > a chat session with you? is it better to model that interaction as an > unsolicited message (like you receive an event saying: "hey. someone > wants to open a chat session with you") or as a response to the > request (like "this is my request that you alert me on my event queue > when someone wants to chat with me.") > > so yeah, i agree that EVENT is not a verb in the way CRUD verbs are, > but i don't agree that EVERY interaction in a virtual world is a > synchronous request / response, which is why the EVENT was added. > > we could, however, say that the model implies a reverse client-server > relationship over an event queue and in that case, things that were > events would wind up being resources the server accesses using normal > CRUD message types. > > it still doesn't help us if we want to model an object update with the > abstract resource definition or interaction definition scheme. > > i think we're dealing not only with whether a message is synchronous, > but also dealing with whether the message has been solicited. i think > REQUIRING interactions to be both synchronous and solicited is a big > mistake, cause it means we can't use the system to model object > updates. > > -cheers > -meadhbh > -- > meadhbh hamrick * it's pronounced "maeve" > @OhMeadhbh * http://meadhbh.org/ * OhMeadhbh@gmail.com >
- [vwrap] thinking about LLIDL and the future Meadhbh Hamrick
- Re: [vwrap] thinking about LLIDL and the future Morgaine
- Re: [vwrap] thinking about LLIDL and the future Meadhbh Hamrick
- Re: [vwrap] thinking about LLIDL and the future Morgaine
- Re: [vwrap] thinking about LLIDL and the future Dzonatas Sol
- Re: [vwrap] thinking about LLIDL and the future Meadhbh Hamrick
- Re: [vwrap] thinking about LLIDL and the future Morgaine
- Re: [vwrap] thinking about LLIDL and the future Meadhbh Hamrick
- Re: [vwrap] thinking about LLIDL and the future Morgaine
- Re: [vwrap] thinking about LLIDL and the future Dzonatas Sol