Re: [vwrap] thinking about LLIDL and the future

Meadhbh Hamrick <ohmeadhbh@gmail.com> Fri, 16 July 2010 18:45 UTC

Return-Path: <ohmeadhbh@gmail.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 558793A689E for <vwrap@core3.amsl.com>; Fri, 16 Jul 2010 11:45:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.338
X-Spam-Level:
X-Spam-Status: No, score=-2.338 tagged_above=-999 required=5 tests=[AWL=0.260, BAYES_00=-2.599, 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 SL0oRsXHx7-n for <vwrap@core3.amsl.com>; Fri, 16 Jul 2010 11:45:07 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id B56A83A6870 for <vwrap@ietf.org>; Fri, 16 Jul 2010 11:45:06 -0700 (PDT)
Received: by vws14 with SMTP id 14so3015619vws.31 for <vwrap@ietf.org>; Fri, 16 Jul 2010 11:45:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:received :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=kx2wKl7wNDla2ZsZWtZm4nwXjTK6P24WGL1IA2UA0nw=; b=upKphowR7gJEFkHpj99ne1l2MDslSfIX27+C1aXm6u0ogxYx8gZl5EW7Vjm6PWqJjv rSlvrK4iwPiZjbQuiJt9PPGrSfwdo7BCuXU6nyTYUJVvfRhewRbHrJb4Sjn0cz1JnFMh WgOxyMQBEMtr9+rWjMcND5zwy0O/Pq/7K4g4A=
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 :cc:content-type; b=fAnYeqGEY2sAmka7Hc8XpDPCs4YV2j7gncheu/AJjqh5fvKiuVHl+g44IN8UsfkaeU /AzfgIHxonnigt4w/N5/dpK2ADka9/7NroIH2goUKTyIt+hCvCXAjpM+/TE74ay6p1Fr 3zsFm2JoQtITiz2L+lbzZx3P3qMRhqBljwxoQ=
MIME-Version: 1.0
Received: by 10.220.59.202 with SMTP id m10mr774698vch.188.1279305918229; Fri, 16 Jul 2010 11:45:18 -0700 (PDT)
Received: by 10.229.13.225 with HTTP; Fri, 16 Jul 2010 11:45:18 -0700 (PDT)
Received: by 10.229.13.225 with HTTP; Fri, 16 Jul 2010 11:45:18 -0700 (PDT)
In-Reply-To: <AANLkTimCa2-TZDlda-s-wlegYgnXtRJOB_89v1AjkUwO@mail.gmail.com>
References: <AANLkTimqzIaVbirYFQc7LAb-u2BJF7UEy9oODznstg7z@mail.gmail.com> <AANLkTikmHb43MLmgEdXegTteLoz6oaqLJjNDSncZTBxT@mail.gmail.com> <AANLkTilBdc3PYb3-v2PSjMISzDLpdKmz57GStiUssElE@mail.gmail.com> <AANLkTimhqTIpVcgtFBQ5dfYRVdh_5ESo7hOlFEKN7KF2@mail.gmail.com> <AANLkTilBlzGG2iVL77osQeMwEDVWlU36noAjU39HPfRb@mail.gmail.com> <AANLkTimCa2-TZDlda-s-wlegYgnXtRJOB_89v1AjkUwO@mail.gmail.com>
Date: Fri, 16 Jul 2010 11:45:18 -0700
Message-ID: <AANLkTino8r7lXeRy5msEY2dgQ4nzMy0x5ScgpghheH6I@mail.gmail.com>
From: Meadhbh Hamrick <ohmeadhbh@gmail.com>
To: Morgaine <morgaine.dinova@googlemail.com>
Content-Type: multipart/alternative; boundary=e0cb4e887827d0ad2f048b859e23
Cc: vwrap@ietf.org
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:45:08 -0000

Interesting. I had been thinking that the message semantics would require a
response on the same channel as the request. What you're talking about seems
to be a little higher level than what I'm pitching. (Thx for pointing out I
wasn't clear about this)

So.. the way I'm modeling it is that you have message interactions that are
tied to the same transport session. So if you ask for something with
http(s), you get it back via http(s) on the same connection.

But it's definitely true that an application layer entity can coordinate
messages, only I think we should make a "virtual" connection that spans
actual connections.

But I still think it's advantageous to think of interaction patterns in
terms of message flows over specific connections, otherwise we have to start
adding application layer transaction id's to correlate responses to
requests. Also, since trust seems to be associated with connections (by way
of (D)TLS), it's probably a good idea to not cross trust boundaries in
interactions across connections, otherwise we would have to model that in
the application layer as well.

At the end of the day, we have message patterns that look like:

* send, no reply expected
* request, response expected
and
* unsolicited message.

The first two can be modeled with request/response, but the last one has
unique characteristics that must be modeled.

-cheers
-meadhbh

On Jul 16, 2010 11:05 AM, "Morgaine" <morgaine.dinova@googlemail.com> wrote:

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:
>
> > EVENT is not a...

_______________________________________________
vwrap mailing list
vwrap@ietf.org
https://www.ietf.org/mailman/listinfo/vwrap