[vwrap] Follow-up from "What's *not* in VWRAP" presentation

Dzonatas Sol <dzonatas@gmail.com> Wed, 21 April 2010 00:02 UTC

Return-Path: <dzonatas@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 CA5563A693D for <vwrap@core3.amsl.com>; Tue, 20 Apr 2010 17:02:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=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 MEKXsT6hnaPD for <vwrap@core3.amsl.com>; Tue, 20 Apr 2010 17:02:20 -0700 (PDT)
Received: from mail-yw0-f200.google.com (mail-yw0-f200.google.com [209.85.211.200]) by core3.amsl.com (Postfix) with ESMTP id 048243A6B63 for <vwrap@ietf.org>; Tue, 20 Apr 2010 17:02:13 -0700 (PDT)
Received: by ywh38 with SMTP id 38so3433054ywh.29 for <vwrap@ietf.org>; Tue, 20 Apr 2010 17:02:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=bDeiifde5tKspG0hXpLOt1RqJhKaXG44CBggqpyXC/M=; b=kjQxBiRLc7v1WQzAn1iB3IxkHoYgIKdaNRdxyi5ihJqBrCSMb76vwxuxE6CBzXo6w/ S/zAJVI26l7RhSae9l6K//rSU7M3Wz6UVQOe1R8t+HcgLI7V6wsUEVAQTIwq2akyzrnf 5Jk3sabEgtDxkLf2Qh76qG0FuUlhVdIX3MyuQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=FUJbDDt1aRYWbeVj+0yG7N4VHbmEEBTPeQnFZsz8s2q5yBMSzdhFKccaiqVAZ0qoQI aaRp2spyRebHi27e5f3+Cvdzq/hxe20i/oVjfcseQX4JGiSk9afzu/a8ya5MCgGcfOhT VCZc7uvLpKvM2pxinuE7GMiXmJlk5RhB1F0Hc=
Received: by 10.101.108.5 with SMTP id k5mr18749451anm.122.1271808121800; Tue, 20 Apr 2010 17:02:01 -0700 (PDT)
Received: from [192.168.0.50] (adsl-68-126-141-37.dsl.scrm01.pacbell.net [68.126.141.37]) by mx.google.com with ESMTPS id i8sm2378189ana.9.2010.04.20.17.02.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 Apr 2010 17:02:00 -0700 (PDT)
Message-ID: <4BCE43ED.2040402@gmail.com>
Date: Tue, 20 Apr 2010 17:16:45 -0700
From: Dzonatas Sol <dzonatas@gmail.com>
User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)
MIME-Version: 1.0
To: vwrap@ietf.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [vwrap] Follow-up from "What's *not* in VWRAP" presentation
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: Wed, 21 Apr 2010 00:02:21 -0000

As I worked on SNOW-375 ( https://jira.secondlife.com/browse/SNOW-375 , 
a REST/HTTP api for the viewer ), I also looked at the slides from the 
presentation:

https://docs.google.com/a/lindenlab.com/present/view?id=0AfAytYlNCPECZGZ2M24yMl8yN2N0OGJueGNy&hl=en

There was some mention about what probably is better for http and what 
probably is better for udp, etc. I get the impression that a message 
queue is assumed to be a part of the server. If so, I think that 
influenced on what should and shouldn't travel through whatever channel 
by whatever protocol. It still seems open to change based on given 
solutions that implement any portion of vwrap.

With SNOW-375, I haven't implemented the resource paths specifically, 
yet there is a overlap in functionality with VWRAP. What that in mind, 
it seems plausible to use different protocols/scheme-identifiers, like 
"udp://host:port/...", "ftp://..." , or "sql://..." rather then hardcode 
expected this-way or that-way for different message types.

Let's say my program connects to the viewer and it provides a specific 
login process. As it connects through SNOW-375, it passes a capability 
list. I may want some messages to route through different paths and 
specify that at the connection. That specific connection message may 
contains this information (not specifically in this format):

capability-xyz = http://localhost:8080/abc/capability-xyz
capability-mno = http://localhost:8080/abc/capability-mno
capability-pqr = http://localhost:8080/abc/capability-qrp
capability-etc = http://localhost:8080/abc/capability-etc
capability-def = udp://localhost:8080/abc/capability-def
capability-ghi = udp://localhost:8080/abc/capability-ghi
capability-jkl = udp://localhost:8080/abc/capability-jkl
capability-stu = urn:lllp:legacy:stu
capability-vwx = urn:lllp:legacy:vwx

With the list above, the program can tell by connection rather to use 
one method or the other: 1) lookup capability identifier 2) return uri.

Unless I missed something in the VWRAP docs, that main difference I 
suggest above is for the implementation to be more sensitive to the URI 
scheme instead of expect a pre-mapped capability to a particular scheme. 
I did notice some philosophy and further work put into VWRAP to allow 
such possibility, yet it may have been left open for debate to actually 
require this sensitivity as a standard.

I think what was proposed by "What's *not* in VWRAP" is to establish a 
default capability-to-scheme map, which would vwrap implementation to 
proceed without full flexibility of other possible schemes per capability.

This flexibility in schemes and capability lists reminds me of the old 
I-HAVE/SEND-ME uucp negotiations, which was very reliable between the 
many versions of programs to copy files back in forth. If you remember 
those days then you'll understand without further detail.