
From rbarnes@bbn.com  Thu Dec  2 08:13:34 2010
Return-Path: <rbarnes@bbn.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 75FD428C14A for <vwrap@core3.amsl.com>; Thu,  2 Dec 2010 08:13:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.395
X-Spam-Level: 
X-Spam-Status: No, score=-102.395 tagged_above=-999 required=5 tests=[AWL=0.204, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 ypUPPDFzAWEu for <vwrap@core3.amsl.com>; Thu,  2 Dec 2010 08:13:33 -0800 (PST)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) by core3.amsl.com (Postfix) with ESMTP id 73F8528C15C for <vwrap@ietf.org>; Thu,  2 Dec 2010 08:13:33 -0800 (PST)
Received: from [128.89.254.185] (port=60261) by smtp.bbn.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1POBo0-000CeG-RD for vwrap@ietf.org; Thu, 02 Dec 2010 11:14:49 -0500
From: "Richard L. Barnes" <rbarnes@bbn.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 2 Dec 2010 11:14:35 -0500
Message-Id: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com>
To: vwrap@ietf.org
Mime-Version: 1.0 (Apple Message framework v1082)
X-Mailer: Apple Mail (2.1082)
Subject: [vwrap] WebSocket / WebGL-based virtual world
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: Thu, 02 Dec 2010 16:13:34 -0000

Folks on this list are probably better plugged in to this stuff than I =
am, but in case people hadn't heard: Earlier this week, Katalabs =
released a virtual world based on WebSockets and WebGL. =20

<http://www.katalabs.com/blog/2010/11/30/kataspace-released/>
=
<http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-v=
irtual-world-built-with-webgl-and-html5.ars>=

From ohmeadhbh@gmail.com  Thu Dec  2 09:38:18 2010
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 D6F323A6989 for <vwrap@core3.amsl.com>; Thu,  2 Dec 2010 09:38:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 z91CQEFlKHeO for <vwrap@core3.amsl.com>; Thu,  2 Dec 2010 09:38:17 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id 88DDA3A6988 for <vwrap@ietf.org>; Thu,  2 Dec 2010 09:38:16 -0800 (PST)
Received: by qyk34 with SMTP id 34so4140031qyk.10 for <vwrap@ietf.org>; Thu, 02 Dec 2010 09:39:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=xQ3nZVMNlMyxSWu1DxOLh0/YA9H+QUW+3f5sEM3sGXg=; b=SsplwX+loTbCh45EutM+vMi4jWpxqwGG9voTe9KFjG2AkDxV2yE5Q8Km25BEum5dHV pZM60XIIJEK/EU1u3chzpT8Fr6r0gXVM3zmXmOeikFey6xK759Wdao1pQWSJMYGi5tCr XfRxyQjgtZTX6/pSeI+GFHebRqsEmTpWkwEYw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=p4WstD7VLxR07okOP5uZfRp6Wi4ca8JB/Pn0z9bD85C2rUoHuUsDkZhp4GIJCmyzqC ThfQE8zy4co7x6dIebnBjMJD7wkH9mKWeuFjlbZ1ShQnhF27sSl6uxYjuNHsw9fghWrt PfMzglyRe2egSstgaWkaznkJBXQq58heAjK/c=
Received: by 10.229.91.138 with SMTP id n10mr267011qcm.148.1291311572034; Thu, 02 Dec 2010 09:39:32 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.74.82 with HTTP; Thu, 2 Dec 2010 09:39:11 -0800 (PST)
In-Reply-To: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com>
References: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com>
From: Meadhbh Hamrick <ohmeadhbh@gmail.com>
Date: Thu, 2 Dec 2010 09:39:11 -0800
Message-ID: <AANLkTi=dZ2dToB9eDkaVmjeNKfvhfcf41fo6DPGR0-0S@mail.gmail.com>
To: "Richard L. Barnes" <rbarnes@bbn.com>
Content-Type: text/plain; charset=ISO-8859-1
X-Mailman-Approved-At: Thu, 02 Dec 2010 11:08:59 -0800
Cc: vwrap@ietf.org
Subject: Re: [vwrap] WebSocket / WebGL-based virtual world
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: Thu, 02 Dec 2010 17:38:19 -0000

it's cool, for sure, but they're using a proprietary protocol based on
google protocol buffers for their back end stuff. i chatted with
henrik last year and he seemed completely un-interested in
participating in a standardization effort.

at the risk of touching off another flame war (morgaine likes to
violently argue what my motivations were last year) i should just
mention that some of us wanted to develop a protocol to allow
different VW related services to be hosted in different domains.

i would be VERY interested in sirikata if they were to start focusing on that.

but the front-end based on websockets and WebGL is pretty darn'd ossm.

-cheers
-meadhbh
--
meadhbh hamrick * it's pronounced "maeve"
@OhMeadhbh * http://meadhbh.org/ * OhMeadhbh@gmail.com



On Thu, Dec 2, 2010 at 8:14 AM, Richard L. Barnes <rbarnes@bbn.com> wrote:
> Folks on this list are probably better plugged in to this stuff than I am, but in case people hadn't heard: Earlier this week, Katalabs released a virtual world based on WebSockets and WebGL.
>
> <http://www.katalabs.com/blog/2010/11/30/kataspace-released/>
> <http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-virtual-world-built-with-webgl-and-html5.ars>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

From morgaine.dinova@googlemail.com  Thu Dec  2 16:41:38 2010
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 786BC28C13D for <vwrap@core3.amsl.com>; Thu,  2 Dec 2010 16:41:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 52HB-qjbk59V for <vwrap@core3.amsl.com>; Thu,  2 Dec 2010 16:41:36 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 7020B28C121 for <vwrap@ietf.org>; Thu,  2 Dec 2010 16:41:36 -0800 (PST)
Received: by qwg5 with SMTP id 5so7948182qwg.31 for <vwrap@ietf.org>; Thu, 02 Dec 2010 16:42:52 -0800 (PST)
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=QO9UxNyo/wyGyPCfij3LdBM4gp2FuCpMTe65txickbs=; b=FBgww50BBy7HEreDcm1BA90pCd8sbL57YzH1vmGujD/I4F/WAO7/BrzxCdFQ3PS2NF 4Rtkx8NmOnfJbK19ylq1ixVwWWVztB78QXNtZ50Q+Fj2bStLXK+xeTS4CVz+8mw3eOAI H5G8mf/P+U0gzLu8fJuGDiWAcrTbHmUgd5rsI=
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=wXLHo5S5YoVV8cCjRFJK0cxDYEOtL03f7hJ6GChORtzuyZNP2cKUBd8R6e1DRm0XFr 66JGIxwpKIuUz0wh1YfbS+rVo8yVrHJ3ZL+MNdkTFj+AMrAj+6reTY1FzxXOxN9TqS88 M4Peeu2YUvt5QiwdeYMh6kgswwqbOQnF0RFb8=
MIME-Version: 1.0
Received: by 10.229.81.20 with SMTP id v20mr617816qck.210.1291336972400; Thu, 02 Dec 2010 16:42:52 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Thu, 2 Dec 2010 16:42:52 -0800 (PST)
In-Reply-To: <AANLkTi=dZ2dToB9eDkaVmjeNKfvhfcf41fo6DPGR0-0S@mail.gmail.com>
References: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com> <AANLkTi=dZ2dToB9eDkaVmjeNKfvhfcf41fo6DPGR0-0S@mail.gmail.com>
Date: Fri, 3 Dec 2010 00:42:52 +0000
Message-ID: <AANLkTimMnGiCoGp03MFHLTXfKyoBj7u-+KLTAq8aaptR@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=00163646d4fc867a47049676d1fb
Subject: Re: [vwrap] WebSocket / WebGL-based virtual world
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, 03 Dec 2010 00:41:38 -0000

--00163646d4fc867a47049676d1fb
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Dec 2, 2010 at 5:39 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com> wrote:

>
> at the risk of touching off another flame war (morgaine likes to
> violently argue what my motivations were last year) i should just
> mention that some of us wanted to develop a protocol to allow
> different VW related services to be hosted in different domains.



Please leave personal remarks out of discussions in this group.


Morgaine.




===========================================

On Thu, Dec 2, 2010 at 5:39 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com> wrote:

> it's cool, for sure, but they're using a proprietary protocol based on
> google protocol buffers for their back end stuff. i chatted with
> henrik last year and he seemed completely un-interested in
> participating in a standardization effort.
>
> at the risk of touching off another flame war (morgaine likes to
> violently argue what my motivations were last year) i should just
> mention that some of us wanted to develop a protocol to allow
> different VW related services to be hosted in different domains.
>
> i would be VERY interested in sirikata if they were to start focusing on
> that.
>
> but the front-end based on websockets and WebGL is pretty darn'd ossm.
>
> -cheers
> -meadhbh
> --
> meadhbh hamrick * it's pronounced "maeve"
> @OhMeadhbh * http://meadhbh.org/ * OhMeadhbh@gmail.com
>
>
>
> On Thu, Dec 2, 2010 at 8:14 AM, Richard L. Barnes <rbarnes@bbn.com> wrote:
> > Folks on this list are probably better plugged in to this stuff than I
> am, but in case people hadn't heard: Earlier this week, Katalabs released a
> virtual world based on WebSockets and WebGL.
> >
> > <http://www.katalabs.com/blog/2010/11/30/kataspace-released/>
> > <
> http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-virtual-world-built-with-webgl-and-html5.ars
> >
> > _______________________________________________
> > vwrap mailing list
> > vwrap@ietf.org
> > https://www.ietf.org/mailman/listinfo/vwrap
> >
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

--00163646d4fc867a47049676d1fb
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 2, 2010 at 5:39 PM, Meadhbh Hamrick <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:ohmeadhbh@gmail.com">ohmeadhbh@gmail.com</a>&gt;</span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; b=
order-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
at the risk of touching off another flame war (morgaine likes to<br>
violently argue what my motivations were last year) i should just<br>
mention that some of us wanted to develop a protocol to allow<br>
different VW related services to be hosted in different domains.</blockquot=
e><br><br>Please leave personal remarks out of discussions in this group.<b=
r><br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D<br>
<br><div class=3D"gmail_quote">On Thu, Dec 2, 2010 at 5:39 PM, Meadhbh Hamr=
ick <span dir=3D"ltr">&lt;<a href=3D"mailto:ohmeadhbh@gmail.com">ohmeadhbh@=
gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); p=
adding-left: 1ex;">
it&#39;s cool, for sure, but they&#39;re using a proprietary protocol based=
 on<br>
google protocol buffers for their back end stuff. i chatted with<br>
henrik last year and he seemed completely un-interested in<br>
participating in a standardization effort.<br>
<br>
at the risk of touching off another flame war (morgaine likes to<br>
violently argue what my motivations were last year) i should just<br>
mention that some of us wanted to develop a protocol to allow<br>
different VW related services to be hosted in different domains.<br>
<br>
i would be VERY interested in sirikata if they were to start focusing on th=
at.<br>
<br>
but the front-end based on websockets and WebGL is pretty darn&#39;d ossm.<=
br>
<br>
-cheers<br>
-meadhbh<br>
<font color=3D"#888888">--<br>
meadhbh hamrick * it&#39;s pronounced &quot;maeve&quot;<br>
@OhMeadhbh * <a href=3D"http://meadhbh.org/" target=3D"_blank">http://meadh=
bh.org/</a> * <a href=3D"mailto:OhMeadhbh@gmail.com">OhMeadhbh@gmail.com</a=
><br>
</font><div><div></div><div class=3D"h5"><br>
<br>
<br>
On Thu, Dec 2, 2010 at 8:14 AM, Richard L. Barnes &lt;<a href=3D"mailto:rba=
rnes@bbn.com">rbarnes@bbn.com</a>&gt; wrote:<br>
&gt; Folks on this list are probably better plugged in to this stuff than I=
 am, but in case people hadn&#39;t heard: Earlier this week, Katalabs relea=
sed a virtual world based on WebSockets and WebGL.<br>
&gt;<br>
&gt; &lt;<a href=3D"http://www.katalabs.com/blog/2010/11/30/kataspace-relea=
sed/" target=3D"_blank">http://www.katalabs.com/blog/2010/11/30/kataspace-r=
eleased/</a>&gt;<br>
&gt; &lt;<a href=3D"http://arstechnica.com/open-source/news/2010/12/kataspa=
ce-browser-based-virtual-world-built-with-webgl-and-html5.ars" target=3D"_b=
lank">http://arstechnica.com/open-source/news/2010/12/kataspace-browser-bas=
ed-virtual-world-built-with-webgl-and-html5.ars</a>&gt;<br>

&gt; _______________________________________________<br>
&gt; vwrap mailing list<br>
&gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_bla=
nk">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;<br>
_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</div></div></blockquote></div><br>

--00163646d4fc867a47049676d1fb--

From morgaine.dinova@googlemail.com  Thu Dec  2 16:50:31 2010
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 D327028C149 for <vwrap@core3.amsl.com>; Thu,  2 Dec 2010 16:50:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 Xh7X9LH6Xed3 for <vwrap@core3.amsl.com>; Thu,  2 Dec 2010 16:50:30 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id B391928C146 for <vwrap@ietf.org>; Thu,  2 Dec 2010 16:50:29 -0800 (PST)
Received: by qyk34 with SMTP id 34so201411qyk.10 for <vwrap@ietf.org>; Thu, 02 Dec 2010 16:51:46 -0800 (PST)
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:cc:content-type; bh=be3FZE2Ji/iACibrtZ02mxK/KkgN8em80qGEqlrcweg=; b=Ac/8dRLRNZbkAd/YKHX9TEs1YqygY2QysYZuBlVXw/eyx3iqLOPzcLmwUGo+Y+TJeb R65uLYMvp6gjfdK8x4xf+uqcxYHih7hLjm8J58VbzQYJM9wvGG8eIaAlYj+OTbqpDscP sHqXv6Hi9Sdr8nJbPvJhzAQ3Mg6mXk5d2icEA=
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 :cc:content-type; b=M+MDsH4WrXf4Qq/nETvz4T4E9ZhRm6sJM2Dk4ohsUYy1GEHoqpZ4aAr3UjNulUnXim oLetpGirMEF+DaK5XMIr5xUnPuWecab+V6mbAX5Sj9ZI1xT13KawAFTuoBSgonFP2L2g AklLuasG/4YXFOyQlZHpk4xZeYj8JONSWZ/7Q=
MIME-Version: 1.0
Received: by 10.229.81.20 with SMTP id v20mr625653qck.210.1291337505816; Thu, 02 Dec 2010 16:51:45 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Thu, 2 Dec 2010 16:51:45 -0800 (PST)
In-Reply-To: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com>
References: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com>
Date: Fri, 3 Dec 2010 00:51:45 +0000
Message-ID: <AANLkTi=yVL_B1w6skLoeGmBLiCrDYfx8fg90Qw8AdHCr@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=00163646d4fc51bf07049676f1c6
Subject: Re: [vwrap] WebSocket / WebGL-based virtual world
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, 03 Dec 2010 00:50:32 -0000

--00163646d4fc51bf07049676f1c6
Content-Type: text/plain; charset=ISO-8859-1

Thanks for the heads-up on KataSpace, Richard.

We've been aware of the Sirikata group's work over the last year or so,
although it's been mainly at the protocol level.  It's very good news to
hear that they have a WebGL front-end to their work now.  I'll be taking a
good look at this shortly. :-)

Cheers!

Morgaine.



==============================

On Thu, Dec 2, 2010 at 4:14 PM, Richard L. Barnes <rbarnes@bbn.com> wrote:

> Folks on this list are probably better plugged in to this stuff than I am,
> but in case people hadn't heard: Earlier this week, Katalabs released a
> virtual world based on WebSockets and WebGL.
>
> <http://www.katalabs.com/blog/2010/11/30/kataspace-released/>
> <
> http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-virtual-world-built-with-webgl-and-html5.ars
> >
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

--00163646d4fc51bf07049676f1c6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks for the heads-up on KataSpace, Richard.<br><br>We&#39;ve been aware =
of the Sirikata group&#39;s work over the last year or so, although it&#39;=
s been mainly at the protocol level.=A0 It&#39;s very good news to hear tha=
t they have a WebGL front-end to their work now.=A0 I&#39;ll be taking a go=
od look at this shortly. :-)<br>
<br>Cheers!<br><br>Morgaine.<br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br><br><div cl=
ass=3D"gmail_quote">On Thu, Dec 2, 2010 at 4:14 PM, Richard L. Barnes <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:rbarnes@bbn.com">rbarnes@bbn.com</a>&gt;=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Folks on this lis=
t are probably better plugged in to this stuff than I am, but in case peopl=
e hadn&#39;t heard: Earlier this week, Katalabs released a virtual world ba=
sed on WebSockets and WebGL.<br>

<br>
&lt;<a href=3D"http://www.katalabs.com/blog/2010/11/30/kataspace-released/"=
 target=3D"_blank">http://www.katalabs.com/blog/2010/11/30/kataspace-releas=
ed/</a>&gt;<br>
&lt;<a href=3D"http://arstechnica.com/open-source/news/2010/12/kataspace-br=
owser-based-virtual-world-built-with-webgl-and-html5.ars" target=3D"_blank"=
>http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-vi=
rtual-world-built-with-webgl-and-html5.ars</a>&gt;<br>

_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</blockquote></div><br>

--00163646d4fc51bf07049676f1c6--

From lenglish5@cox.net  Fri Dec  3 07:02:35 2010
Return-Path: <lenglish5@cox.net>
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 587FF28C105 for <vwrap@core3.amsl.com>; Fri,  3 Dec 2010 07:02:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.74
X-Spam-Level: 
X-Spam-Status: No, score=-0.74 tagged_above=-999 required=5 tests=[BAYES_20=-0.74]
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 cJbDHDu3UZkc for <vwrap@core3.amsl.com>; Fri,  3 Dec 2010 07:02:34 -0800 (PST)
Received: from fed1rmmtao105.cox.net (fed1rmmtao105.cox.net [68.230.241.41]) by core3.amsl.com (Postfix) with ESMTP id 0705928C0FE for <vwrap@ietf.org>; Fri,  3 Dec 2010 07:02:33 -0800 (PST)
Received: from fed1rmimpo03.cox.net ([70.169.32.75]) by fed1rmmtao105.cox.net (InterMail vM.8.01.03.00 201-2260-125-20100507) with ESMTP id <20101203150350.LVSR14403.fed1rmmtao105.cox.net@fed1rmimpo03.cox.net>; Fri, 3 Dec 2010 10:03:50 -0500
Received: from ip72-200-121-127.tc.ph.cox.net ([72.200.121.127]) by fed1rmimpo03.cox.net with bizsmtp id ef3q1f00P2l1Ksg04f3qAE; Fri, 03 Dec 2010 10:03:50 -0500
X-VR-Score: 0.00
X-Authority-Analysis: v=1.1 cv=nEJmMjsgzJU/SHHRi/ff9TR/+4hQZ6PdArDqWXwhaYs= c=1 sm=1 a=TDmxT79fSwIA:10 a=Wajolswj7cQA:10 a=8nJEP1OIZ-IA:10 a=lHHFyFaL52RzbKbxZIYZqA==:17 a=vnREMb7VAAAA:8 a=3KUoxB9FAAAA:8 a=PtIv-SxhAAAA:8 a=4oVI4Q5rvuLpVCBAqdYA:9 a=2-PFJj_-MY9LsOaLM7DbAwVZh7EA:4 a=wPNLvfGTeEIA:10 a=lHHFyFaL52RzbKbxZIYZqA==:117
X-CM-Score: 0.00
Authentication-Results: cox.net; none
Message-ID: <4CF906D6.8050500@cox.net>
Date: Fri, 03 Dec 2010 08:03:50 -0700
From: Lawson English <lenglish5@cox.net>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: vwrap@ietf.org
References: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com> <AANLkTi=dZ2dToB9eDkaVmjeNKfvhfcf41fo6DPGR0-0S@mail.gmail.com>
In-Reply-To: <AANLkTi=dZ2dToB9eDkaVmjeNKfvhfcf41fo6DPGR0-0S@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [vwrap] WebSocket / WebGL-based virtual world
X-BeenThere: vwrap@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: lenglish5@cox.net
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, 03 Dec 2010 15:02:35 -0000

> it's cool, for sure, but they're using a proprietary protocol based on
> google protocol buffers for their back end stuff. i chatted with
> henrik last year and he seemed completely un-interested in
> participating in a standardization effort.
>
Yesterday, I sat in on a meeting with the imersive Education folk 
concerning their Open File Format, and Sikarata was being touted as a 
potential participant in that part of stndardization.

iED's big thing about optimization is currently the ability to serve  
files from Wonderland servers to realXtend worlds, and presumeably in 
the other direction. This is demoed starting around 7 minutes into this 
video: http://www.youtube.com/ImmersiveED#p/u/0/cMhBiu0YJ3s

The announcement of the file format is here:

http://campaign.r20.constantcontact.com/render?llr=l9v8jddab&v=0012Q4V8GYbFiRVW5S52Wafi9DbYKi8ApYvpFG686SUd4B5TAMcsgez8TsHQyBGOBUtllVn7F83vdrtw7wzMw5mWi3zeu29ak8hSDeywTXeE6QKBh0Ty-BQ6g%3D%3D


> at the risk of touching off another flame war (morgaine likes to
> violently argue what my motivations were last year) i should just
> mention that some of us wanted to develop a protocol to allow
> different VW related services to be hosted in different domains.
>
That's obviously already happening with the iED endorsed worlds, at 
least on the level of demos.


> i would be VERY interested in sirikata if they were to start focusing on that.
>
  In order to get acknowledge by iED, they had to pledge to work on 
that. That was part of what yesterday's (2 Dec 2010) meeting was about.

I raised the "holy grail" of TP between worlds while maintaining 
identity and hopefully appearance for the avatar, and everyone agreed 
that was the long-term goal.

I can only suggest VWRAP folks get in touch with Aaron Walsh of 
immersive Education and try to coordinate things better.

http://gridinstitute.com/people/aew/

The virtual worlds involved in the iED currently or prospectively are 
OpenWonderland & realXtend/OpenSim and sirikata and OpenCobalt.


Lawson



From morgaine.dinova@googlemail.com  Fri Dec  3 08:16:49 2010
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 A058228C0EB for <vwrap@core3.amsl.com>; Fri,  3 Dec 2010 08:16:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 IcutE9iOfoXF for <vwrap@core3.amsl.com>; Fri,  3 Dec 2010 08:16:48 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 0872E28C0D0 for <vwrap@ietf.org>; Fri,  3 Dec 2010 08:16:47 -0800 (PST)
Received: by qwg5 with SMTP id 5so8737118qwg.31 for <vwrap@ietf.org>; Fri, 03 Dec 2010 08:18:05 -0800 (PST)
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=vtqAKD9BUJScvDzlejUKQGD9dtxqYKp0GF3pK1ki1/Y=; b=KJbziSyvAOIIf/sH5IPuhAJZfXHd9uvAFIWKY1L9v/1BXpgePV2RYriDEJgbTVDj/s H8UlNKvn0dA/Ogtj3E52ngZ7W00FCrGeiiLwSmjYHVmKh6UtdwRy0y3WawqdL8vxWsTI kC2vDl81PLIDGiFGr8+eo7EOanRmAGUtmOImo=
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=I6YukGV7CHu8aKGISjpd2RP8HReL94r8yBMy9dXz9iddGCxaUsqx64OAhh6y5qiZHe 7CN4rn4hx4cAqqZH/uwOK4zOMGL88i9BlyRWPUU31oBCg5qL71KgmxdMFkBIXNXgp5ng ppJSF3ogCMkozYQudvZ9rfQETUfcVdlPtgKpQ=
MIME-Version: 1.0
Received: by 10.229.191.75 with SMTP id dl11mr1351038qcb.248.1291393084471; Fri, 03 Dec 2010 08:18:04 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Fri, 3 Dec 2010 08:18:04 -0800 (PST)
In-Reply-To: <4CF906D6.8050500@cox.net>
References: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com> <AANLkTi=dZ2dToB9eDkaVmjeNKfvhfcf41fo6DPGR0-0S@mail.gmail.com> <4CF906D6.8050500@cox.net>
Date: Fri, 3 Dec 2010 16:18:04 +0000
Message-ID: <AANLkTimV_HoaesGYwh2oi9UV4d7EwsUJxwr0g9wtG5gb@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016362841f610b929049683e26a
Subject: Re: [vwrap] WebSocket / WebGL-based virtual world
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, 03 Dec 2010 16:16:49 -0000

--0016362841f610b929049683e26a
Content-Type: text/plain; charset=ISO-8859-1

That looks like an excellent and highly relevant body of work, Lawson,
thanks for the info!

Although VWRAP's initial concern is with orchestrating the access to
services, our work doesn't stop there --- we will need to deal with the
detail of the services themselves as well, at least the most important
ones.  Extensibility of asset data types is one of our most important
requirements, and so part of our work will be to ensure that our asset
services can handle an evolving set of portable file interchange formats.

That makes the work of groups like iED of direct relevance to us, greatly
facilitating interop between virtual worlds by providing a ready interchange
standard.  And the fact that realXtend/Opensim are already on board makes
wide scale portable interchange not just a hope but an existing reality.
That is very promising!


*> The virtual worlds involved in the iED currently or prospectively are
> OpenWonderland & realXtend/OpenSim and sirikata and OpenCobalt.*


Excellent, it sounds like there is good synergy there already.  I agree with
you entirely that we need to be party to this.


Morgaine.




==================================

On Fri, Dec 3, 2010 at 3:03 PM, Lawson English <lenglish5@cox.net> wrote:

> it's cool, for sure, but they're using a proprietary protocol based on
>> google protocol buffers for their back end stuff. i chatted with
>> henrik last year and he seemed completely un-interested in
>> participating in a standardization effort.
>>
>>  Yesterday, I sat in on a meeting with the imersive Education folk
> concerning their Open File Format, and Sikarata was being touted as a
> potential participant in that part of stndardization.
>
> iED's big thing about optimization is currently the ability to serve  files
> from Wonderland servers to realXtend worlds, and presumeably in the other
> direction. This is demoed starting around 7 minutes into this video:
> http://www.youtube.com/ImmersiveED#p/u/0/cMhBiu0YJ3s
>
> The announcement of the file format is here:
>
>
> http://campaign.r20.constantcontact.com/render?llr=l9v8jddab&v=0012Q4V8GYbFiRVW5S52Wafi9DbYKi8ApYvpFG686SUd4B5TAMcsgez8TsHQyBGOBUtllVn7F83vdrtw7wzMw5mWi3zeu29ak8hSDeywTXeE6QKBh0Ty-BQ6g%3D%3D
>
>
>
>  at the risk of touching off another flame war (morgaine likes to
>> violently argue what my motivations were last year) i should just
>> mention that some of us wanted to develop a protocol to allow
>> different VW related services to be hosted in different domains.
>>
>>  That's obviously already happening with the iED endorsed worlds, at least
> on the level of demos.
>
>
>
>  i would be VERY interested in sirikata if they were to start focusing on
>> that.
>>
>>   In order to get acknowledge by iED, they had to pledge to work on that.
> That was part of what yesterday's (2 Dec 2010) meeting was about.
>
> I raised the "holy grail" of TP between worlds while maintaining identity
> and hopefully appearance for the avatar, and everyone agreed that was the
> long-term goal.
>
> I can only suggest VWRAP folks get in touch with Aaron Walsh of immersive
> Education and try to coordinate things better.
>
> http://gridinstitute.com/people/aew/
>
> The virtual worlds involved in the iED currently or prospectively are
> OpenWonderland & realXtend/OpenSim and sirikata and OpenCobalt.
>
>
> Lawson
>
>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

--0016362841f610b929049683e26a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

That looks like an excellent and highly relevant body of work, Lawson, than=
ks for the info!<br><br>Although VWRAP&#39;s initial concern is with orches=
trating the access to services, our work doesn&#39;t stop there --- we will=
 need to deal with the detail of the services themselves as well, at least =
the most important ones.=A0 Extensibility of asset data types is one of our=
 most important requirements, and so part of our work will be to ensure tha=
t our asset services can handle an evolving set of portable file interchang=
e formats.<br>
<br>That makes the work of groups like iED of direct relevance to us, great=
ly facilitating interop between virtual worlds by providing a ready interch=
ange standard.=A0 And the fact that realXtend/Opensim are already on board =
makes wide scale portable interchange not just a hope but an existing reali=
ty.=A0 That is very promising!<br>
<br><br><div style=3D"margin-left: 40px;">
<i>&gt; The virtual worlds involved in the iED currently or prospectively a=
re<br>&gt; OpenWonderland &amp; realXtend/OpenSim and sirikata and OpenCoba=
lt.</i><br><br></div><br>Excellent, it sounds like there is good synergy th=
ere already.=A0 I agree with you entirely that we need to be party to this.=
<br>
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br><br><=
div class=3D"gmail_quote">On Fri, Dec 3, 2010 at 3:03 PM, Lawson English <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:lenglish5@cox.net">lenglish5@cox.net<=
/a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class=3D"im"=
><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; bord=
er-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

it&#39;s cool, for sure, but they&#39;re using a proprietary protocol based=
 on<br>
google protocol buffers for their back end stuff. i chatted with<br>
henrik last year and he seemed completely un-interested in<br>
participating in a standardization effort.<br>
<br>
</blockquote></div>
Yesterday, I sat in on a meeting with the imersive Education folk concernin=
g their Open File Format, and Sikarata was being touted as a potential part=
icipant in that part of stndardization.<br>
<br>
iED&#39;s big thing about optimization is currently the ability to serve =
=A0files from Wonderland servers to realXtend worlds, and presumeably in th=
e other direction. This is demoed starting around 7 minutes into this video=
: <a href=3D"http://www.youtube.com/ImmersiveED#p/u/0/cMhBiu0YJ3s" target=
=3D"_blank">http://www.youtube.com/ImmersiveED#p/u/0/cMhBiu0YJ3s</a><br>

<br>
The announcement of the file format is here:<br>
<br>
<a href=3D"http://campaign.r20.constantcontact.com/render?llr=3Dl9v8jddab&a=
mp;v=3D0012Q4V8GYbFiRVW5S52Wafi9DbYKi8ApYvpFG686SUd4B5TAMcsgez8TsHQyBGOBUtl=
lVn7F83vdrtw7wzMw5mWi3zeu29ak8hSDeywTXeE6QKBh0Ty-BQ6g%3D%3D" target=3D"_bla=
nk">http://campaign.r20.constantcontact.com/render?llr=3Dl9v8jddab&amp;v=3D=
0012Q4V8GYbFiRVW5S52Wafi9DbYKi8ApYvpFG686SUd4B5TAMcsgez8TsHQyBGOBUtllVn7F83=
vdrtw7wzMw5mWi3zeu29ak8hSDeywTXeE6QKBh0Ty-BQ6g%3D%3D</a><div class=3D"im">
<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
at the risk of touching off another flame war (morgaine likes to<br>
violently argue what my motivations were last year) i should just<br>
mention that some of us wanted to develop a protocol to allow<br>
different VW related services to be hosted in different domains.<br>
<br>
</blockquote></div>
That&#39;s obviously already happening with the iED endorsed worlds, at lea=
st on the level of demos.<div class=3D"im"><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
i would be VERY interested in sirikata if they were to start focusing on th=
at.<br>
<br>
</blockquote></div>
=A0In order to get acknowledge by iED, they had to pledge to work on that. =
That was part of what yesterday&#39;s (2 Dec 2010) meeting was about.<br>
<br>
I raised the &quot;holy grail&quot; of TP between worlds while maintaining =
identity and hopefully appearance for the avatar, and everyone agreed that =
was the long-term goal.<br>
<br>
I can only suggest VWRAP folks get in touch with Aaron Walsh of immersive E=
ducation and try to coordinate things better.<br>
<br>
<a href=3D"http://gridinstitute.com/people/aew/" target=3D"_blank">http://g=
ridinstitute.com/people/aew/</a><br>
<br>
The virtual worlds involved in the iED currently or prospectively are OpenW=
onderland &amp; realXtend/OpenSim and sirikata and OpenCobalt.<br><font col=
or=3D"#888888">
<br>
<br>
Lawson</font><div><div></div><div class=3D"h5"><br>
<br>
<br>
_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</div></div></blockquote></div><br>

--0016362841f610b929049683e26a--

From nexiim@gmail.com  Fri Dec  3 15:35:39 2010
Return-Path: <nexiim@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 601EF28C0F6 for <vwrap@core3.amsl.com>; Fri,  3 Dec 2010 15:35:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 Spfj4BrwyD+M for <vwrap@core3.amsl.com>; Fri,  3 Dec 2010 15:35:37 -0800 (PST)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by core3.amsl.com (Postfix) with ESMTP id DA6FC3A659C for <vwrap@ietf.org>; Fri,  3 Dec 2010 15:35:37 -0800 (PST)
Received: by pwi7 with SMTP id 7so2013593pwi.31 for <vwrap@ietf.org>; Fri, 03 Dec 2010 15:36:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=QsDjUapqBvbbzMP/GqG0LKEFo904BCAygOZ0+RG31+w=; b=u0OPkakFo/sgMYU8fFLuSF/tN4oomu2xs0B3/xokBjVZEnyT5FoxHF8HqrZw6+Ktqk lQP+t02KlH6BIqBgcdcz5OMeTlzCxqlM+rcGQSxqVyHHq3h7kUDd5ZGCuFbOocaz+s+M Zk1UKAb7QK81fMQi7QW2caT9Y8gMqEdt4G47Y=
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=OgRqJaswq+Uys2Gn1B8O2dgx25CkhQFKJM9tKp1s1NeR8wOg1fvACssnuOuJmY7tKq YDAPoiPQEotO+Mn1xp16APM2tNHP2zFCUjjrnRRcjxGKqdWsILuR6+wBpVPbbI7AOyZz Ru3rI5Gmu7kIAMBxnNreDPgJTzWwX9omHFWa0=
MIME-Version: 1.0
Received: by 10.142.142.6 with SMTP id p6mr2684720wfd.44.1291419416213; Fri, 03 Dec 2010 15:36:56 -0800 (PST)
Received: by 10.142.158.3 with HTTP; Fri, 3 Dec 2010 15:36:56 -0800 (PST)
In-Reply-To: <AANLkTimV_HoaesGYwh2oi9UV4d7EwsUJxwr0g9wtG5gb@mail.gmail.com>
References: <E5B428A8-EC5E-4CD8-93C0-8637C6FA5981@bbn.com> <AANLkTi=dZ2dToB9eDkaVmjeNKfvhfcf41fo6DPGR0-0S@mail.gmail.com> <4CF906D6.8050500@cox.net> <AANLkTimV_HoaesGYwh2oi9UV4d7EwsUJxwr0g9wtG5gb@mail.gmail.com>
Date: Fri, 3 Dec 2010 23:36:56 +0000
Message-ID: <AANLkTi=PvgThBy66vpkCU=f+pMd1yYMS9gHXofZVTd64@mail.gmail.com>
From: Nexii Malthus <nexiim@gmail.com>
To: Morgaine <morgaine.dinova@googlemail.com>
Content-Type: multipart/alternative; boundary=000e0cd32eae8f383204968a03fc
X-Mailman-Approved-At: Fri, 03 Dec 2010 17:58:21 -0800
Cc: vwrap@ietf.org
Subject: Re: [vwrap] WebSocket / WebGL-based virtual world
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, 03 Dec 2010 23:35:39 -0000

--000e0cd32eae8f383204968a03fc
Content-Type: text/plain; charset=ISO-8859-1

I like what I am reading here a lot. That is some
seriously phenomenal cooperation and advancement. Really awesome that iED
stepped up to link the different virtual worlds together like this.

- Nexii

On Fri, Dec 3, 2010 at 4:18 PM, Morgaine <morgaine.dinova@googlemail.com>wrote:

> That looks like an excellent and highly relevant body of work, Lawson,
> thanks for the info!
>
> Although VWRAP's initial concern is with orchestrating the access to
> services, our work doesn't stop there --- we will need to deal with the
> detail of the services themselves as well, at least the most important
> ones.  Extensibility of asset data types is one of our most important
> requirements, and so part of our work will be to ensure that our asset
> services can handle an evolving set of portable file interchange formats.
>
> That makes the work of groups like iED of direct relevance to us, greatly
> facilitating interop between virtual worlds by providing a ready interchange
> standard.  And the fact that realXtend/Opensim are already on board makes
> wide scale portable interchange not just a hope but an existing reality.
> That is very promising!
>
>
>
> *> The virtual worlds involved in the iED currently or prospectively are
> > OpenWonderland & realXtend/OpenSim and sirikata and OpenCobalt.*
>
>
> Excellent, it sounds like there is good synergy there already.  I agree
> with you entirely that we need to be party to this.
>
>
> Morgaine.
>
>
>
>
> ==================================
>
>
> On Fri, Dec 3, 2010 at 3:03 PM, Lawson English <lenglish5@cox.net> wrote:
>
>> it's cool, for sure, but they're using a proprietary protocol based on
>>> google protocol buffers for their back end stuff. i chatted with
>>> henrik last year and he seemed completely un-interested in
>>> participating in a standardization effort.
>>>
>>>  Yesterday, I sat in on a meeting with the imersive Education folk
>> concerning their Open File Format, and Sikarata was being touted as a
>> potential participant in that part of stndardization.
>>
>> iED's big thing about optimization is currently the ability to serve
>>  files from Wonderland servers to realXtend worlds, and presumeably in the
>> other direction. This is demoed starting around 7 minutes into this video:
>> http://www.youtube.com/ImmersiveED#p/u/0/cMhBiu0YJ3s
>>
>> The announcement of the file format is here:
>>
>>
>> http://campaign.r20.constantcontact.com/render?llr=l9v8jddab&v=0012Q4V8GYbFiRVW5S52Wafi9DbYKi8ApYvpFG686SUd4B5TAMcsgez8TsHQyBGOBUtllVn7F83vdrtw7wzMw5mWi3zeu29ak8hSDeywTXeE6QKBh0Ty-BQ6g%3D%3D
>>
>>
>>
>>  at the risk of touching off another flame war (morgaine likes to
>>> violently argue what my motivations were last year) i should just
>>> mention that some of us wanted to develop a protocol to allow
>>> different VW related services to be hosted in different domains.
>>>
>>>  That's obviously already happening with the iED endorsed worlds, at
>> least on the level of demos.
>>
>>
>>
>>  i would be VERY interested in sirikata if they were to start focusing on
>>> that.
>>>
>>>   In order to get acknowledge by iED, they had to pledge to work on that.
>> That was part of what yesterday's (2 Dec 2010) meeting was about.
>>
>> I raised the "holy grail" of TP between worlds while maintaining identity
>> and hopefully appearance for the avatar, and everyone agreed that was the
>> long-term goal.
>>
>> I can only suggest VWRAP folks get in touch with Aaron Walsh of immersive
>> Education and try to coordinate things better.
>>
>> http://gridinstitute.com/people/aew/
>>
>> The virtual worlds involved in the iED currently or prospectively are
>> OpenWonderland & realXtend/OpenSim and sirikata and OpenCobalt.
>>
>>
>> Lawson
>>
>>
>>
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>>
>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

--000e0cd32eae8f383204968a03fc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I like what I am reading here a lot. That is some seriously=A0phenomenal=A0=
cooperation and advancement.=A0Really awesome that iED stepped up to link t=
he different virtual worlds together like this.<div><br></div><div>- Nexii<=
br>
<br><div class=3D"gmail_quote">On Fri, Dec 3, 2010 at 4:18 PM, Morgaine <sp=
an dir=3D"ltr">&lt;<a href=3D"mailto:morgaine.dinova@googlemail.com">morgai=
ne.dinova@googlemail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex;">
That looks like an excellent and highly relevant body of work, Lawson, than=
ks for the info!<br><br>Although VWRAP&#39;s initial concern is with orches=
trating the access to services, our work doesn&#39;t stop there --- we will=
 need to deal with the detail of the services themselves as well, at least =
the most important ones.=A0 Extensibility of asset data types is one of our=
 most important requirements, and so part of our work will be to ensure tha=
t our asset services can handle an evolving set of portable file interchang=
e formats.<br>

<br>That makes the work of groups like iED of direct relevance to us, great=
ly facilitating interop between virtual worlds by providing a ready interch=
ange standard.=A0 And the fact that realXtend/Opensim are already on board =
makes wide scale portable interchange not just a hope but an existing reali=
ty.=A0 That is very promising!<div class=3D"im">
<br>
<br><br><div style=3D"margin-left:40px">
<i>&gt; The virtual worlds involved in the iED currently or prospectively a=
re<br>&gt; OpenWonderland &amp; realXtend/OpenSim and sirikata and OpenCoba=
lt.</i><br><br></div><br></div>Excellent, it sounds like there is good syne=
rgy there already.=A0 I agree with you entirely that we need to be party to=
 this.<br>
<font color=3D"#888888">
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</font><d=
iv><div></div><div class=3D"h5"><br><br><div class=3D"gmail_quote">On Fri, =
Dec 3, 2010 at 3:03 PM, Lawson English <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:lenglish5@cox.net" target=3D"_blank">lenglish5@cox.net</a>&gt;</span> w=
rote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-=
left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><blockquote class=
=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rg=
b(204, 204, 204);padding-left:1ex">


it&#39;s cool, for sure, but they&#39;re using a proprietary protocol based=
 on<br>
google protocol buffers for their back end stuff. i chatted with<br>
henrik last year and he seemed completely un-interested in<br>
participating in a standardization effort.<br>
<br>
</blockquote></div>
Yesterday, I sat in on a meeting with the imersive Education folk concernin=
g their Open File Format, and Sikarata was being touted as a potential part=
icipant in that part of stndardization.<br>
<br>
iED&#39;s big thing about optimization is currently the ability to serve =
=A0files from Wonderland servers to realXtend worlds, and presumeably in th=
e other direction. This is demoed starting around 7 minutes into this video=
: <a href=3D"http://www.youtube.com/ImmersiveED#p/u/0/cMhBiu0YJ3s" target=
=3D"_blank">http://www.youtube.com/ImmersiveED#p/u/0/cMhBiu0YJ3s</a><br>


<br>
The announcement of the file format is here:<br>
<br>
<a href=3D"http://campaign.r20.constantcontact.com/render?llr=3Dl9v8jddab&a=
mp;v=3D0012Q4V8GYbFiRVW5S52Wafi9DbYKi8ApYvpFG686SUd4B5TAMcsgez8TsHQyBGOBUtl=
lVn7F83vdrtw7wzMw5mWi3zeu29ak8hSDeywTXeE6QKBh0Ty-BQ6g%3D%3D" target=3D"_bla=
nk">http://campaign.r20.constantcontact.com/render?llr=3Dl9v8jddab&amp;v=3D=
0012Q4V8GYbFiRVW5S52Wafi9DbYKi8ApYvpFG686SUd4B5TAMcsgez8TsHQyBGOBUtllVn7F83=
vdrtw7wzMw5mWi3zeu29ak8hSDeywTXeE6QKBh0Ty-BQ6g%3D%3D</a><div>

<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-=
left:1px solid rgb(204, 204, 204);padding-left:1ex">
at the risk of touching off another flame war (morgaine likes to<br>
violently argue what my motivations were last year) i should just<br>
mention that some of us wanted to develop a protocol to allow<br>
different VW related services to be hosted in different domains.<br>
<br>
</blockquote></div>
That&#39;s obviously already happening with the iED endorsed worlds, at lea=
st on the level of demos.<div><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-=
left:1px solid rgb(204, 204, 204);padding-left:1ex">
i would be VERY interested in sirikata if they were to start focusing on th=
at.<br>
<br>
</blockquote></div>
=A0In order to get acknowledge by iED, they had to pledge to work on that. =
That was part of what yesterday&#39;s (2 Dec 2010) meeting was about.<br>
<br>
I raised the &quot;holy grail&quot; of TP between worlds while maintaining =
identity and hopefully appearance for the avatar, and everyone agreed that =
was the long-term goal.<br>
<br>
I can only suggest VWRAP folks get in touch with Aaron Walsh of immersive E=
ducation and try to coordinate things better.<br>
<br>
<a href=3D"http://gridinstitute.com/people/aew/" target=3D"_blank">http://g=
ridinstitute.com/people/aew/</a><br>
<br>
The virtual worlds involved in the iED currently or prospectively are OpenW=
onderland &amp; realXtend/OpenSim and sirikata and OpenCobalt.<br><font col=
or=3D"#888888">
<br>
<br>
Lawson</font><div><div></div><div><br>
<br>
<br>
_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br></div>

--000e0cd32eae8f383204968a03fc--

From jhurliman@jhurliman.org  Thu Dec  9 12:39:22 2010
Return-Path: <jhurliman@jhurliman.org>
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 E2DA63A6BC1 for <vwrap@core3.amsl.com>; Thu,  9 Dec 2010 12:39:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level: 
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
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 vvWZokQut57i for <vwrap@core3.amsl.com>; Thu,  9 Dec 2010 12:39:19 -0800 (PST)
Received: from mail-fx0-f43.google.com (mail-fx0-f43.google.com [209.85.161.43]) by core3.amsl.com (Postfix) with ESMTP id 95F9F3A6BC0 for <vwrap@ietf.org>; Thu,  9 Dec 2010 12:39:18 -0800 (PST)
Received: by fxm18 with SMTP id 18so2830963fxm.16 for <vwrap@ietf.org>; Thu, 09 Dec 2010 12:40:48 -0800 (PST)
MIME-Version: 1.0
Received: by 10.223.122.133 with SMTP id l5mr1566021far.52.1291927247875; Thu, 09 Dec 2010 12:40:47 -0800 (PST)
Received: by 10.223.2.129 with HTTP; Thu, 9 Dec 2010 12:40:47 -0800 (PST)
Date: Thu, 9 Dec 2010 12:40:47 -0800
Message-ID: <AANLkTi=sqWxNNfsH_qvZ3O=UsUNVGKUcPGMrquGK3bTr@mail.gmail.com>
From: John Hurliman <jhurliman@jhurliman.org>
To: vwrap@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Subject: [vwrap] Launch document support added to SimianGrid
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: Thu, 09 Dec 2010 20:39:22 -0000

First, a little background: SimianGrid is a set of common virtual
world grid services such as asset storage, inventory, user account
management, and simulator management. Written in PHP, it consists in a
 web API on top of a database and a user-facing frontend called
SimianGridFrontend.

Now that SimianGrid has a real capability service, I just finished
adding support for the VWRAP Client Application Launch Message format
(https://datatracker.ietf.org/doc/draft-ietf-vwrap-launch/). If you
login to a recent build of SimianGridFrontend it will give you an
option to "Go in-world as {username}", which generates a .calmj file
like this:

{ "authenticator": { "type": "capability" }, "identifier": { "type":
"agent", "name": "John Hurliman" }, "loginurl":
"http://www.mygrid.com/Grid/login/?cap=d155353c-6743-4142-b65c-e67b879965e6",
"region": "" }

On the http://openmetaverse.googlecode.com/ page there is a picture of
the VWRAP Launcher and a link to the installer (only a Windows
installer currently, the app also functions on Linux but needs some
work on OSX). This launcher can handle .calmj files and pass the
parameters to a Second Life-based viewer and automatically initiate a
login with the pre-authenticated login capability. This makes
single-click launching from the web into any SimianGrid-based VW
possible.

Hopefully third party viewers will add native support for CALM
documents and make the launcher obsolete.

John

From morgaine.dinova@googlemail.com  Wed Dec 15 23:04:54 2010
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 7968D3A7089 for <vwrap@core3.amsl.com>; Wed, 15 Dec 2010 23:04:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 u9R+r3gr9oTZ for <vwrap@core3.amsl.com>; Wed, 15 Dec 2010 23:04:52 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id C06C03A7088 for <vwrap@ietf.org>; Wed, 15 Dec 2010 23:04:52 -0800 (PST)
Received: by qyk34 with SMTP id 34so456585qyk.10 for <vwrap@ietf.org>; Wed, 15 Dec 2010 23:06:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:cc:content-type; bh=9JHy2yJgELsXEPqIfKuG3yiDFAelJeIgJ8im0EYpIm0=; b=CF3uBweb4r2QqnaO36pTe36KuB2dQbRDoZPVUvSY2HyTvbUbaW9VbC54jciBe25RM6 7+ETrsgFrzi0uy3yMe0Zx+J6pfFXbmD13l2IFcQilDStrLvwHj2LPyzWDkjSW0YD8zfN CIu3xkjjCD/95+tgKM/GAUAniAf7FldloQDAc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=dPWQKvxMdYnGabOwFd3aDKvPBVLDiUsPUPnJqD5M5O9jxaOJoOiQ5ffegZqc3Z/1ji RegcLToyHDsi7RGMGXAK5Yf+I5tBTUWcufNg634nXTICCFO0db6vue8NNrUWUmR8F+FK myR9Dh1XRZA+BDRtyl0y5chiTCJta1S7uygEQ=
MIME-Version: 1.0
Received: by 10.229.184.13 with SMTP id ci13mr1293475qcb.134.1292483196562; Wed, 15 Dec 2010 23:06:36 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Wed, 15 Dec 2010 23:06:36 -0800 (PST)
Date: Thu, 16 Dec 2010 07:06:36 +0000
Message-ID: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016363b9292cf2c47049781b169
Subject: [vwrap] Technical basis for VW client in a web browser?
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: Thu, 16 Dec 2010 07:04:54 -0000

--0016363b9292cf2c47049781b169
Content-Type: text/plain; charset=ISO-8859-1

Has anyone seen a well argued technical assessment supporting the concept of
"VW client in a browser"?

I would be very interested to read such an article or post.  Everything I've
read so far doesn't hold up at all technically, and just highlights the huge
impedance mismatch.


Morgaine.




========================================

On Thu, Dec 2, 2010 at 4:14 PM, Richard L. Barnes <rbarnes@bbn.com> wrote:

> Folks on this list are probably better plugged in to this stuff than I am,
> but in case people hadn't heard: Earlier this week, Katalabs released a
> virtual world based on WebSockets and WebGL.
>
> <http://www.katalabs.com/blog/2010/11/30/kataspace-released/>
> <
> http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-virtual-world-built-with-webgl-and-html5.ars
> >
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

--0016363b9292cf2c47049781b169
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Has anyone seen a well argued technical assessment supporting the concept o=
f &quot;VW client in a browser&quot;?<br><br>I would be very interested to =
read such an article or post.=A0 Everything I&#39;ve read so far doesn&#39;=
t hold up at all technically, and just highlights the huge impedance mismat=
ch.<br>
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D<br><br><div class=3D"gmail_quote">On Thu, Dec 2, 2010 at 4:14 PM,=
 Richard L. Barnes <span dir=3D"ltr">&lt;<a href=3D"mailto:rbarnes@bbn.com"=
>rbarnes@bbn.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Folks on this lis=
t are probably better plugged in to this stuff than I am, but in case peopl=
e hadn&#39;t heard: Earlier this week, Katalabs released a virtual world ba=
sed on WebSockets and WebGL.<br>

<br>
&lt;<a href=3D"http://www.katalabs.com/blog/2010/11/30/kataspace-released/"=
 target=3D"_blank">http://www.katalabs.com/blog/2010/11/30/kataspace-releas=
ed/</a>&gt;<br>
&lt;<a href=3D"http://arstechnica.com/open-source/news/2010/12/kataspace-br=
owser-based-virtual-world-built-with-webgl-and-html5.ars" target=3D"_blank"=
>http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-vi=
rtual-world-built-with-webgl-and-html5.ars</a>&gt;<br>

_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</blockquote></div><br>

--0016363b9292cf2c47049781b169--

From dahliatrimble@gmail.com  Thu Dec 16 01:43:06 2010
Return-Path: <dahliatrimble@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 F04C33A70A5 for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 01:43:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 KFKt8ESoLlH6 for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 01:43:04 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 4EAE03A709E for <vwrap@ietf.org>; Thu, 16 Dec 2010 01:43:04 -0800 (PST)
Received: by wwa36 with SMTP id 36so2097816wwa.13 for <vwrap@ietf.org>; Thu, 16 Dec 2010 01:44:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=DEiTIlnMBnaiQE4Gr7+sSAbLou2aBlXY1RHfdU84RVw=; b=VoJ1T2mtJcS+8/hkGCPNfndUNM0Sws5a1xgWSCJ+L1WaLcExCDieWgd+nPbHv33EQv uPF/OKnd+dKHCZSzMfo1sTW32couLw4jwj30Q+dRRqZJo0tglvKQJe46Lsff1XNf/l/f VrWSvNXEm3CGVmOnyypuS0LQVGfyh7WgGkwN4=
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=ByJf+lJlB4ALLbxHSXHbrEGoK2Ayg0fadxEeJLCRwo+PTh15S4o1L8zZmn4YvXUfzg L6QwuH86jGBDrdG7rIwF4IcL2X+IXmJn0JGhwGkmtKZQWo7ENbSzidEk/p8KH91xtXt/ 6tDtldp/6oF5QjUrimsFBztsJcJ/18FhoKBDw=
MIME-Version: 1.0
Received: by 10.216.4.2 with SMTP id 2mr9278809wei.51.1292492687641; Thu, 16 Dec 2010 01:44:47 -0800 (PST)
Received: by 10.216.86.210 with HTTP; Thu, 16 Dec 2010 01:44:47 -0800 (PST)
In-Reply-To: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com>
Date: Thu, 16 Dec 2010 01:44:47 -0800
Message-ID: <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com>
From: Dahlia Trimble <dahliatrimble@gmail.com>
To: Morgaine <morgaine.dinova@googlemail.com>
Content-Type: multipart/alternative; boundary=0016364c7b9f858e15049783e75c
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Thu, 16 Dec 2010 09:43:06 -0000

--0016364c7b9f858e15049783e75c
Content-Type: text/plain; charset=ISO-8859-1

A technical assessment supporting it? Do you mean what technologies might be
used to implement it?

If you're interested in justification, I suspect it's more of a
business/marketing decision than a technical one. Could be something along
the lines of providing initial exposure of virtual worlds to those who may
hesitate at downloading and installing a separate client for something they
aren't familiar with. Once they decide they are interested then they may be
enticed to install a full client. Business/marketing professionals should
have the necessary tools to do a quantitative assessment supporting such a
concept.

On Wed, Dec 15, 2010 at 11:06 PM, Morgaine
<morgaine.dinova@googlemail.com>wrote:

> Has anyone seen a well argued technical assessment supporting the concept
> of "VW client in a browser"?
>
> I would be very interested to read such an article or post.  Everything
> I've read so far doesn't hold up at all technically, and just highlights the
> huge impedance mismatch.
>
>
> Morgaine.
>
>
>
>
> ========================================
>
> On Thu, Dec 2, 2010 at 4:14 PM, Richard L. Barnes <rbarnes@bbn.com> wrote:
>
>> Folks on this list are probably better plugged in to this stuff than I am,
>> but in case people hadn't heard: Earlier this week, Katalabs released a
>> virtual world based on WebSockets and WebGL.
>>
>> <http://www.katalabs.com/blog/2010/11/30/kataspace-released/>
>> <
>> http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-virtual-world-built-with-webgl-and-html5.ars
>> >
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>>
>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

--0016364c7b9f858e15049783e75c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

A technical assessment supporting it? Do you mean what technologies might b=
e used to implement it?<br>
<br>
If you&#39;re interested in justification, I suspect it&#39;s more of a=20
business/marketing decision than a technical one. Could be something=20
along the lines of providing initial exposure of virtual worlds to those
 who may hesitate at downloading and installing a separate client for=20
something they aren&#39;t familiar with. Once they decide they are=20
interested then they may be enticed to install a full client.=20
Business/marketing professionals should have the necessary tools to do a
 quantitative assessment supporting such a concept.<br><br><div class=3D"gm=
ail_quote">On Wed, Dec 15, 2010 at 11:06 PM, Morgaine <span dir=3D"ltr">&lt=
;<a href=3D"mailto:morgaine.dinova@googlemail.com">morgaine.dinova@googlema=
il.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Has anyone seen a well argued technical ass=
essment supporting the concept of &quot;VW client in a browser&quot;?<br><b=
r>
I would be very interested to read such an article or post.=A0 Everything I=
&#39;ve read so far doesn&#39;t hold up at all technically, and just highli=
ghts the huge impedance mismatch.<br>
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D<br><br><div class=3D"gmail_quote">On Thu, Dec 2, 2010 at 4:14 PM,=
 Richard L. Barnes <span dir=3D"ltr">&lt;<a href=3D"mailto:rbarnes@bbn.com"=
 target=3D"_blank">rbarnes@bbn.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-=
left:1px solid rgb(204, 204, 204);padding-left:1ex">Folks on this list are =
probably better plugged in to this stuff than I am, but in case people hadn=
&#39;t heard: Earlier this week, Katalabs released a virtual world based on=
 WebSockets and WebGL.<br>


<br>
&lt;<a href=3D"http://www.katalabs.com/blog/2010/11/30/kataspace-released/"=
 target=3D"_blank">http://www.katalabs.com/blog/2010/11/30/kataspace-releas=
ed/</a>&gt;<br>
&lt;<a href=3D"http://arstechnica.com/open-source/news/2010/12/kataspace-br=
owser-based-virtual-world-built-with-webgl-and-html5.ars" target=3D"_blank"=
>http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-vi=
rtual-world-built-with-webgl-and-html5.ars</a>&gt;<br>


_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</blockquote></div><br>
<br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>

--0016364c7b9f858e15049783e75c--

From morgaine.dinova@googlemail.com  Thu Dec 16 02:59:28 2010
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 89B9B3A70C0 for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 02:59:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level: 
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 0gwtjw-RqJ5G for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 02:59:27 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id D438F3A701E for <vwrap@ietf.org>; Thu, 16 Dec 2010 02:59:26 -0800 (PST)
Received: by qwg5 with SMTP id 5so2954887qwg.31 for <vwrap@ietf.org>; Thu, 16 Dec 2010 03:01:11 -0800 (PST)
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:cc:content-type; bh=bzcGSsPWBvsCtyxKXl2iUJ+AVUJVO0UItbEQH95nSjI=; b=eF5irU+3QJWsgKUIPKCYSxBQ04mFSdWMN3C3weYFCWzGOXAi5LwMImE+AU2EOoauw2 lnEjHl82qAl9BDDVU1Gzs0MYQMZsRcrApW/O0CgwW/p+/nzdA6How2tQ7P7pnw5EiK8r 1FA0KtxdepW0EkL3pa78KoceST+gfKMKt6maM=
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 :cc:content-type; b=RB4eT72xNOf4Xd/dOJMdh0zkfFDHotGsRWwBSsz5SEM0l/vVP4TKK9mWPh6GRtYz03 IPGinpiBo5GYAfIXBz6UOK4ta36L9QdNIQXKyNRGEfgGozL+CcnjfPMEyCEUT8opZ6Wi AfS/fwPYlHLB+TtkGi9x/TVKhWRpJBitUfumc=
MIME-Version: 1.0
Received: by 10.229.184.13 with SMTP id ci13mr1470288qcb.134.1292497270634; Thu, 16 Dec 2010 03:01:10 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Thu, 16 Dec 2010 03:01:10 -0800 (PST)
In-Reply-To: <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com>
Date: Thu, 16 Dec 2010 11:01:10 +0000
Message-ID: <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016363b9292b07c88049784f85e
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Thu, 16 Dec 2010 10:59:28 -0000

--0016363b9292b07c88049784f85e
Content-Type: text/plain; charset=ISO-8859-1

Yes, I was looking for technical reasons why a VW client implemented in a
web browser would benefit in technical ways from such a choice.  I am aware
of the often-touted *business reasons* since they have been mentioned many
times in our AWG group, but business reasons collapse when they are not
supported by technical adequacy.  It becomes a failed proposition if the
perceived business advantages cannot actually be attained for practical
reasons.

One common example of business-led wishful thinking that isn't supported by
the technology is the idea that in-browser clients mean "no downloads" and
hence present one less barrier to VW popularity.  That would be the case if
one could implement a VW client in so little Javascript that its download
time isn't obvious to the user, but this of course is not the case (except
for little demo clients).  Real, usable, fully functional VW clients require
a lot of code, and you can't make that requirement disappear by using
Javascript and a browser.

This is why I've often said in the AWG group that a tiny "taster" client
with the barest subset of functionality might have a chance in browsers, but
that the idea doesn't have any clear merit if you try to go beyond that.
Virtual worlds are very complex because they are hugely flexible
environments, and as a result they require very complex human interfaces to
take good advantage of them.  Web-based users would almost immediately
discover that their small taster client is just not good enough.
("TANSTAAFL" comes to mind.)

So yes, what I'm looking for here are some substantive technical reasons for
pursuing the browser route for VW clients beyond small, cut-down
introductory ones.  So far I've not seen any good technical reasons for it
at all, and in contrast, technical reasons why it could be a *bad* host
platform are abundant.


Morgaine.





======================================

On Thu, Dec 16, 2010 at 9:44 AM, Dahlia Trimble <dahliatrimble@gmail.com>wrote:

> A technical assessment supporting it? Do you mean what technologies might
> be used to implement it?
>
> If you're interested in justification, I suspect it's more of a
> business/marketing decision than a technical one. Could be something along
> the lines of providing initial exposure of virtual worlds to those who may
> hesitate at downloading and installing a separate client for something they
> aren't familiar with. Once they decide they are interested then they may be
> enticed to install a full client. Business/marketing professionals should
> have the necessary tools to do a quantitative assessment supporting such a
> concept.
>
>
> On Wed, Dec 15, 2010 at 11:06 PM, Morgaine <morgaine.dinova@googlemail.com
> > wrote:
>
>> Has anyone seen a well argued technical assessment supporting the concept
>> of "VW client in a browser"?
>>
>> I would be very interested to read such an article or post.  Everything
>> I've read so far doesn't hold up at all technically, and just highlights the
>> huge impedance mismatch.
>>
>>
>> Morgaine.
>>
>>
>>
>>
>> ========================================
>>
>> On Thu, Dec 2, 2010 at 4:14 PM, Richard L. Barnes <rbarnes@bbn.com>wrote:
>>
>>> Folks on this list are probably better plugged in to this stuff than I
>>> am, but in case people hadn't heard: Earlier this week, Katalabs released a
>>> virtual world based on WebSockets and WebGL.
>>>
>>> <http://www.katalabs.com/blog/2010/11/30/kataspace-released/>
>>> <
>>> http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-virtual-world-built-with-webgl-and-html5.ars
>>> >
>>> _______________________________________________
>>> vwrap mailing list
>>> vwrap@ietf.org
>>> https://www.ietf.org/mailman/listinfo/vwrap
>>>
>>
>>
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>>
>>
>

--0016363b9292b07c88049784f85e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Yes, I was looking for technical reasons why a VW client implemented in a w=
eb browser would benefit in technical ways from such a choice.=A0 I am awar=
e of the often-touted <b>business reasons</b> since they have been mentione=
d many times in our AWG group, but business reasons collapse when they are =
not supported by technical adequacy.=A0 It becomes a failed proposition if =
the perceived business advantages cannot actually be attained for practical=
 reasons.<br>
<br>One common example of business-led wishful thinking that isn&#39;t supp=
orted by the technology is the idea that in-browser clients mean &quot;no d=
ownloads&quot; and hence present one less barrier to VW popularity.=A0 That=
 would be the case if one could implement a VW client in so little Javascri=
pt that its download time isn&#39;t obvious to the user, but this of course=
 is not the case (except for little demo clients).=A0 Real, usable, fully f=
unctional VW clients require a lot of code, and you can&#39;t make that req=
uirement disappear by using Javascript and a browser.<br>
<br>This is why I&#39;ve often said in the AWG group that a tiny &quot;tast=
er&quot; client with the barest subset of functionality might have a chance=
 in browsers, but that the idea doesn&#39;t have any clear merit if you try=
 to go beyond that.=A0 Virtual worlds are very complex because they are hug=
ely flexible environments, and as a result they require very complex human =
interfaces to take good advantage of them.=A0 Web-based users would almost =
immediately discover that their small taster client is just not good enough=
.=A0 (&quot;TANSTAAFL&quot; comes to mind.)<br>
<br>So yes, what I&#39;m looking for here are some substantive technical re=
asons for pursuing the browser route for VW clients beyond small, cut-down =
introductory ones.=A0 So far I&#39;ve not seen any good technical reasons f=
or it at all, and in contrast, technical reasons why it could be a <i>bad</=
i> host platform are abundant.<br>
<br><br>Morgaine.<br><br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D<br><br><div class=3D"gmail_quote">On Thu, Dec 16, 2010 at 9:44 AM, D=
ahlia Trimble <span dir=3D"ltr">&lt;<a href=3D"mailto:dahliatrimble@gmail.c=
om">dahliatrimble@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">A technical asses=
sment supporting it? Do you mean what technologies might be used to impleme=
nt it?<br>

<br>
If you&#39;re interested in justification, I suspect it&#39;s more of a=20
business/marketing decision than a technical one. Could be something=20
along the lines of providing initial exposure of virtual worlds to those
 who may hesitate at downloading and installing a separate client for=20
something they aren&#39;t familiar with. Once they decide they are=20
interested then they may be enticed to install a full client.=20
Business/marketing professionals should have the necessary tools to do a
 quantitative assessment supporting such a concept.<div><div></div><div cla=
ss=3D"h5"><br><br><div class=3D"gmail_quote">On Wed, Dec 15, 2010 at 11:06 =
PM, Morgaine <span dir=3D"ltr">&lt;<a href=3D"mailto:morgaine.dinova@google=
mail.com" target=3D"_blank">morgaine.dinova@googlemail.com</a>&gt;</span> w=
rote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Has anyone seen a=
 well argued technical assessment supporting the concept of &quot;VW client=
 in a browser&quot;?<br>
<br>
I would be very interested to read such an article or post.=A0 Everything I=
&#39;ve read so far doesn&#39;t hold up at all technically, and just highli=
ghts the huge impedance mismatch.<br>
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D<br><br><div class=3D"gmail_quote">On Thu, Dec 2, 2010 at 4:14 PM,=
 Richard L. Barnes <span dir=3D"ltr">&lt;<a href=3D"mailto:rbarnes@bbn.com"=
 target=3D"_blank">rbarnes@bbn.com</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Folks on this lis=
t are probably better plugged in to this stuff than I am, but in case peopl=
e hadn&#39;t heard: Earlier this week, Katalabs released a virtual world ba=
sed on WebSockets and WebGL.<br>



<br>
&lt;<a href=3D"http://www.katalabs.com/blog/2010/11/30/kataspace-released/"=
 target=3D"_blank">http://www.katalabs.com/blog/2010/11/30/kataspace-releas=
ed/</a>&gt;<br>
&lt;<a href=3D"http://arstechnica.com/open-source/news/2010/12/kataspace-br=
owser-based-virtual-world-built-with-webgl-and-html5.ars" target=3D"_blank"=
>http://arstechnica.com/open-source/news/2010/12/kataspace-browser-based-vi=
rtual-world-built-with-webgl-and-html5.ars</a>&gt;<br>



_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</blockquote></div><br>
<br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>

--0016363b9292b07c88049784f85e--

From josh@lindenlab.com  Thu Dec 16 09:05:48 2010
Return-Path: <josh@lindenlab.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 906CA3A693D for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 09:05:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.376
X-Spam-Level: 
X-Spam-Status: No, score=-102.376 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 tSsgLCh7CEgM for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 09:05:44 -0800 (PST)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by core3.amsl.com (Postfix) with ESMTP id E7DA53A691F for <vwrap@ietf.org>; Thu, 16 Dec 2010 09:05:43 -0800 (PST)
Received: by yxt33 with SMTP id 33so1880373yxt.31 for <vwrap@ietf.org>; Thu, 16 Dec 2010 09:07:28 -0800 (PST)
MIME-Version: 1.0
Received: by 10.90.80.18 with SMTP id d18mr1040987agb.31.1292519248064; Thu, 16 Dec 2010 09:07:28 -0800 (PST)
Received: by 10.90.23.9 with HTTP; Thu, 16 Dec 2010 09:07:28 -0800 (PST)
In-Reply-To: <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com>
Date: Thu, 16 Dec 2010 09:07:28 -0800
Message-ID: <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com>
From: Joshua Bell <josh@lindenlab.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016361e878aa5711704978a168d
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Thu, 16 Dec 2010 17:05:48 -0000

--0016361e878aa5711704978a168d
Content-Type: text/plain; charset=UTF-8

On Thu, Dec 16, 2010 at 3:01 AM, Morgaine <morgaine.dinova@googlemail.com>wrote:

> So yes, what I'm looking for here are some substantive technical reasons
> for pursuing the browser route for VW clients beyond small, cut-down
> introductory ones.  So far I've not seen any good technical reasons for it
> at all, and in contrast, technical reasons why it could be a *bad* host
> platform are abundant.


Lisa Dusseault and I wrote a paper (linked from here) last year outlining
some of the technical challenges. The good news is that most of the
challenges are being actively addressed by browser vendors and the Web
community in general.

At a high level, a 3D immersive VW client needs these subsystems:

   - User Interface
   - 3D Rendering
   - Networking
   - Audio and Voice
   - Logic
   - Application Host/Framework

The Second Life Viewer, for example, uses:

   - UI: custom toolkit on top of OpenGL (with declarative definitions
   called XUI)
   - 3D: custom rendering engine on top of OpenGL
   - Net: custom messaging library using UDP plus HTTP libraries like CURL
   - Audio: FMOD/OpenAL (general) and Vivox (voice)
   - Logic: application logic in C++
   - App: custom app host/framework for windowing/OS integration

Looking at the Web as a platform, the following are available:

   - UI: HTML/CSS/JS; Flash; Silverlight; Unity3D
   - 3D: Flash; Unity3D; WebGL; custom plug-ins; server-side rendering to
   video
   - Net: XHR; Flash; WebSockets
   - Audio: Flash; HTML5 Audio; Vivox plugin
   - Logic: JavaScript; Flash ActionScript; Unity3D C#
   - App: Web browser

Obviously, that's a mish-mash of different technologies; one of the pushes
of the "HTML5" effort - using that term in it's broad marketing sense and
covering the various technologies like WebGL, WebSockets, WebWorkers, CSS3,
ES5, etc etc - is to create a more unified, Standards-based platform for
application development.

Efforts such as KataLabs KataSpace (http://www.sirikata.com/blog/?p=184) -
which is built using "HTML5" tech only - shows that this is feasible today,
to some degree.

To drill into the technical impediments and how they will need to be
addressed:

   - UI: none, really; HTML for UI is a mature technology. It's true that
   many implementations are poor, but this is not a blocker.
   - 3D: effectively 0% of users have WebGL now, but that will change
   significantly within 12 months; Flash 3D is currently weak but Molehill is
   due in late 2011 and should have fast uptake. Unity is available now but is
   a plugin which turns away many users. (Yes, technically, Flash is a plugin
   too, but it's a special case both technically and socially); server-side
   rendering is available now but there are many open variables
   - Net: WebSockets is not stabilized yet and does not offer UDP (which may
   be necessary for some low-latency scenarios); further, cross-platform
   - Audio: HTML5 audio for presentation is progressing well, but streaming
   voice capture has not yet been tackled and I haven't seen streaming-down of
   realtime sessions yet. Vivox has a plugin available today, however, that can
   be driven by..
   - Logic: JavaScript appears adequate for most application logic, but the
   amount of data that needs to be processed per frame in a complex world like
   SL is significant - far more than most games. Most WebGL demos so far have
   extremely simple requirements.
   - App: obviously, in the web an app lives in a browser tab. This implies
   far less control over system resources and the user's attention, and affects
   the implied user model - fast startup, tear-down with little warning,
   integration into navigation stack (e.g. back/forward), simultaneous
   sessions, etc.

Like most applications, attempting to simply recreate the experience as-is
within the browser is probably not the right approach, and will lead to a
poor experience. That said, I don't think there are significant technical
barriers, and certainly we already have examples where functional VW clients
implemented in the browser have been created.

-- Josh

--0016361e878aa5711704978a168d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On Thu, Dec 16, 2010 at 3:01 AM, Morgaine <span =
dir=3D"ltr">&lt;<a href=3D"mailto:morgaine.dinova@googlemail.com">morgaine.=
dinova@googlemail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x;">
So yes, what I&#39;m looking for here are some substantive technical reason=
s for pursuing the browser route for VW clients beyond small, cut-down intr=
oductory ones.=C2=A0 So far I&#39;ve not seen any good technical reasons fo=
r it at all, and in contrast, technical reasons why it could be a <i>bad</i=
> host platform are abundant.</blockquote>
<div><br></div><div>Lisa Dusseault and I wrote a paper (linked from here) l=
ast year outlining some of the technical challenges. The good news is that =
most of the challenges are being actively addressed by browser vendors and =
the Web community in general.</div>
<div><br></div><div>At a high level, a 3D immersive VW client needs these s=
ubsystems:</div><div><ul><li>User Interface</li><li>3D Rendering</li><li>Ne=
tworking</li><li>Audio and Voice</li><li>Logic</li><li>Application Host/Fra=
mework</li>
</ul><div>The Second Life Viewer, for example, uses:</div><div><ul><li>UI: =
custom toolkit on top of OpenGL (with declarative definitions called XUI)</=
li><li>3D: custom rendering engine on top of OpenGL</li><li>Net: custom mes=
saging library using UDP plus HTTP libraries like CURL</li>
<li>Audio: FMOD/OpenAL (general) and Vivox (voice)</li><li>Logic: applicati=
on logic in C++</li><li>App: custom app host/framework for windowing/OS int=
egration</li></ul><div>Looking at the Web as a platform, the following are =
available:</div>
</div></div><div><ul><li>UI: HTML/CSS/JS; Flash; Silverlight; Unity3D</li><=
li>3D: Flash; Unity3D; WebGL; custom plug-ins; server-side rendering to vid=
eo</li><li>Net: XHR; Flash; WebSockets</li><li>Audio: Flash; HTML5 Audio; V=
ivox plugin</li>
<li>Logic: JavaScript; Flash ActionScript; Unity3D C#</li><li>App: Web brow=
ser</li></ul><div>Obviously, that&#39;s a mish-mash of different technologi=
es; one of the pushes of the &quot;HTML5&quot; effort - using that term in =
it&#39;s broad marketing sense and covering the various technologies like W=
ebGL, WebSockets, WebWorkers, CSS3, ES5, etc etc - is to create a more unif=
ied, Standards-based platform for application development.</div>
</div><div><br></div><div>Efforts such as KataLabs KataSpace (<a href=3D"ht=
tp://www.sirikata.com/blog/?p=3D184">http://www.sirikata.com/blog/?p=3D184<=
/a>)=C2=A0- which is built using &quot;HTML5&quot; tech only - shows that t=
his is feasible today, to some degree.</div>
<div><br></div><div>To drill into the technical impediments and how they wi=
ll need to be addressed:</div><div><ul><li>UI: none, really; HTML for UI is=
 a mature technology. It&#39;s true that many implementations are poor, but=
 this is not a blocker.</li>
<li>3D: effectively 0% of users have WebGL now, but that will change signif=
icantly within 12 months; Flash 3D is currently weak but Molehill is due in=
 late 2011 and should have fast uptake. Unity is available now but is a plu=
gin which turns away many users. (Yes, technically, Flash is a plugin too, =
but it&#39;s a special case both technically and socially); server-side ren=
dering is available now but there are many open variables</li>
<li>Net: WebSockets is not stabilized yet and does not offer UDP (which may=
 be necessary for some low-latency scenarios); further, cross-platform</li>=
<li>Audio: HTML5 audio for presentation is progressing well, but streaming =
voice capture has not yet been tackled and I haven&#39;t seen streaming-dow=
n of realtime sessions yet. Vivox has a plugin available today, however, th=
at can be driven by..</li>
<li>Logic: JavaScript appears adequate for most application logic, but the =
amount of data that needs to be processed per frame in a complex world like=
 SL is significant - far more than most games. Most WebGL demos so far have=
 extremely simple requirements.</li>
<li>App: obviously, in the web an app lives in a browser tab. This implies =
far less control over system resources and the user&#39;s attention, and af=
fects the implied user model - fast startup, tear-down with little warning,=
 integration into navigation stack (e.g. back/forward), simultaneous sessio=
ns, etc.</li>
</ul><div>Like most applications, attempting to simply recreate the experie=
nce as-is within the browser is probably not the right approach, and will l=
ead to a poor experience. That said, I don&#39;t think there are significan=
t technical barriers, and certainly we already have examples where function=
al VW clients implemented in the browser have been created.</div>
</div><div><br></div><div>-- Josh</div><div><br></div></div>

--0016361e878aa5711704978a168d--

From ohmeadhbh@gmail.com  Thu Dec 16 09:33:02 2010
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 886233A695D for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 09:33:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 Bjp4t-3Cigt0 for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 09:33:01 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 8E1593A690D for <vwrap@ietf.org>; Thu, 16 Dec 2010 09:33:01 -0800 (PST)
Received: by qyj19 with SMTP id 19so3493772qyj.10 for <vwrap@ietf.org>; Thu, 16 Dec 2010 09:34:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=2La2+cycfxwJKB0k34vcab68fXxbUD+N0JKJq802MzY=; b=tzz+iuYj5/PByW9B/bAM+v+/SuwyvLNFDEaXNY0XZKy+toDDjRQuFCq//i54i3fz/I 1pcLfZL5WUN07PVC212OyNBxSU6pWh2dShEFxIppFUQ1hCJPltigXPFFGz+DFEYV+F/h +Vwp+HeBhZe4SkQJ1LGlYb07cct71bitBB50c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=NdeU37ivXYNXPX1zrMNkPmCDcdFQK5m+cIs/v7Jv0CgBr3totes1Rc5kJq4mZN2Fx3 Uq/HoeY6y+eXLC6po2XL3BTlH1YUpkgbdqhd9BGzHc2tSb0Kvnlmqll6RbOBW3hj4h2Q vfvfUL+3+njkagTShs/7xbRzy6a/g3WE14zKw=
Received: by 10.224.20.68 with SMTP id e4mr3563887qab.326.1292520886446; Thu, 16 Dec 2010 09:34:46 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.99.21 with HTTP; Thu, 16 Dec 2010 09:34:26 -0800 (PST)
In-Reply-To: <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com>
From: Meadhbh Hamrick <ohmeadhbh@gmail.com>
Date: Thu, 16 Dec 2010 09:34:26 -0800
Message-ID: <AANLkTinO4ysKaainTV_6aVtmvHtYaCR+AMfNPhM5CyVc@mail.gmail.com>
To: Joshua Bell <josh@lindenlab.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Thu, 16 Dec 2010 17:33:02 -0000

just to add to your statements:

> Audio: HTML5 audio for presentation is progressing well, but streaming voice
> capture has not yet been tackled and I haven't seen streaming-down of
> realtime sessions yet. Vivox has a plugin available today, however, that can
> be driven by..

the DEVICE tag is getting a little bit of momentum, driven by people
in the VoIP / video conferencing space. i made a very ugly patch for
firefox to demonstrate how the DEVICE tag could capture microphone
input. i have a standing date with the mozilla people for when i turn
it into a plugin. so who knows, maybe in a couple years, there will be
a real live standard for getting A/V device input into a browser's
execution environment.

> Logic: JavaScript appears adequate for most application logic, but the
> amount of data that needs to be processed per frame in a complex world like
> SL is significant - far more than most games. Most WebGL demos so far have
> extremely simple requirements.

though i'm a bit of a JavaScript fan, i think it's an open question
whether JS could handle the types of data rates SL sends at a viewer.
this being said, a "light" experience with less detail, fewer
textures, etc. is probably do-able.

-cheers
-meadhbh

From stpeter@stpeter.im  Thu Dec 16 09:43:06 2010
Return-Path: <stpeter@stpeter.im>
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 3A6633A6954 for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 09:43:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.663
X-Spam-Level: 
X-Spam-Status: No, score=-102.663 tagged_above=-999 required=5 tests=[AWL=-0.064, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 Ro4MxW9c4IKD for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 09:43:05 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 268A83A6970 for <vwrap@ietf.org>; Thu, 16 Dec 2010 09:43:05 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D7671400F6; Thu, 16 Dec 2010 10:57:24 -0700 (MST)
Message-ID: <4D0A5010.1050109@stpeter.im>
Date: Thu, 16 Dec 2010 10:44:48 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7
MIME-Version: 1.0
To: Meadhbh Hamrick <ohmeadhbh@gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com>	<AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com>	<AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com>	<AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <AANLkTinO4ysKaainTV_6aVtmvHtYaCR+AMfNPhM5CyVc@mail.gmail.com>
In-Reply-To: <AANLkTinO4ysKaainTV_6aVtmvHtYaCR+AMfNPhM5CyVc@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms070906020900080500080704"
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Thu, 16 Dec 2010 17:43:06 -0000

This is a cryptographically signed message in MIME format.

--------------ms070906020900080500080704
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 12/16/10 10:34 AM, Meadhbh Hamrick wrote:
> just to add to your statements:
>=20
>> Audio: HTML5 audio for presentation is progressing well, but streaming=
 voice
>> capture has not yet been tackled and I haven't seen streaming-down of
>> realtime sessions yet. Vivox has a plugin available today, however, th=
at can
>> be driven by..
>=20
> the DEVICE tag is getting a little bit of momentum, driven by people
> in the VoIP / video conferencing space. i made a very ugly patch for
> firefox to demonstrate how the DEVICE tag could capture microphone
> input. i have a standing date with the mozilla people for when i turn
> it into a plugin. so who knows, maybe in a couple years, there will be
> a real live standard for getting A/V device input into a browser's
> execution environment.

See also:

http://tools.ietf.org/html/draft-alvestrand-dispatch-rtcweb-protocols-00

http://tools.ietf.org/html/draft-alvestrand-dispatch-rtcweb-datagram-00

Peter

--=20
Peter Saint-Andre
https://stpeter.im/




--------------ms070906020900080500080704
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmGof6GuVGcPo
98K4TJf8FHo+UA9EOVDp/W7fCqKT4sXk/XkCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR7iZySlyShhEcCy3T8LvSs3DLl8zAfBgNV
HSMEGDAWgBROC+8apEBbpRdphzDKNGhD0EGu8jBmBggrBgEFBQcBAQRaMFgwJwYIKwYBBQUH
MAGGG2h0dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9jYTAtBggrBgEFBQcwAoYhaHR0cDovL3d3
dy5zdGFydHNzbC5jb20vc2ZzY2EuY3J0MFsGA1UdHwRUMFIwJ6AloCOGIWh0dHA6Ly93d3cu
c3RhcnRzc2wuY29tL3Nmc2NhLmNybDAnoCWgI4YhaHR0cDovL2NybC5zdGFydHNzbC5jb20v
c2ZzY2EuY3JsMIGABgNVHSAEeTB3MHUGCysGAQQBgbU3AQIBMGYwLgYIKwYBBQUHAgEWImh0
dHA6Ly93d3cuc3RhcnRzc2wuY29tL3BvbGljeS5wZGYwNAYIKwYBBQUHAgEWKGh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2ludGVybWVkaWF0ZS5wZGYwDQYJKoZIhvcNAQELBQADggIBAGpd
SbdLFMhirxK37V4gE00+uW74UdAXtDgQI3AsRZWtaRtKHgAxFBSteqz4kDkeAjH/1b+K8tQR
6cxSI2nho7qOaPW/UpzOfSS/MeKK/9vfM2lfs+uItXH7LWtvS9wD1erfH1a+BXHCrCp4LA1l
fADDhRIiGTSS3i0Zu5xV3INNRHrCCCl6patltQ8RZTqzDMri7ombgIxjN51Zo7xV77EZcThV
0GA8iIN+7T53uHhUJpjfLIztHs/69OclRvHux9hCflfOm7GY5Sc4nqjfES+5XPArGGWiQSEk
ez37QfXqsxO3oCHK4b3DFZysG4uyOuC/WL80ab3muQ3tgwjBhq0D3JZN5kvu5gSuNZPa1WrV
hEgXkd6C7s5stqB6/htVpshG08jRz9DEutGM9oKQ1ncTivbfPNx7pILoHWvvT7N5i/puVoNu
bPUmLXh/2wA6wzAzuuoONiIL14Xpw6jLSnqpaLWElo2yTIFZ/CU/nCvvpW1Dj1457P3Ci9bD
0RPkWSR+CuucpgxrEmaw4UOLxflzuYYaq1RJwygOO5K0s2bAWOcXpgteyUOnQ3d/EjJAWRri
2v0ubiq+4H3KUOMlbznlPAY/1T8YyyJPM88+Ueahe/AW1zoUwZayNcTnuM7cq6yBV8Wr3GOI
LFXhtT0UVuJLChPMJKVKVsa7qNorlLkMMIIGxzCCBa+gAwIBAgICAIswDQYJKoZIhvcNAQEF
BQAwgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJT
ZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBD
bGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQTAeFw0xMDEwMTQwMTM2MzRa
Fw0xMjEwMTQxMjAxMDdaMIHAMSAwHgYDVQQNExcyNzQ1ODEtOU5YMDRxeExEYjBvNDY5VDEL
MAkGA1UEBhMCVVMxETAPBgNVBAgTCENvbG9yYWRvMQ8wDQYDVQQHEwZEZW52ZXIxLDAqBgNV
BAsTI1N0YXJ0Q29tIFRydXN0ZWQgQ2VydGlmaWNhdGUgTWVtYmVyMRowGAYDVQQDExFQZXRl
ciBTYWludC1BbmRyZTEhMB8GCSqGSIb3DQEJARYSc3RwZXRlckBzdHBldGVyLmltMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuERvnrkpQTx9wbJfgxbNKEYvt0IilecZRUM6
wrbCzIUPCocuYhaAJcQoqIyHaKybPQ7f+DIGIAolAa3dHnNdlsXP2smTft/ZNpj10PIG5bil
NAqLUYwmLJaEaqY7BMW8423U3blW43/luLJk/Pq4OsWcw7AK3LeVh1U/HOgqhin26N3h72X1
nbLEpZFrgcp8egmWtXLCbLBDMqUK3j6wjLldni79muzYEVqU0A5GqSeb8Wc4kIx8VI5yL24J
KzinG2iVRP5ZDEbOZETzBXJabUsV56XSxqPG9DK6ke+ybCiL/wKV1HFqdtFB1y25lfvHgOP2
gyEApBKEDNjgLmKyyQIDAQABo4IC+zCCAvcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYD
VR0lBBYwFAYIKwYBBQUHAwIGCCsGAQUFBwMEMB0GA1UdDgQWBBS2EW2iNB+g0EibKJLBdv8I
eLovVDAfBgNVHSMEGDAWgBR7iZySlyShhEcCy3T8LvSs3DLl8zAdBgNVHREEFjAUgRJzdHBl
dGVyQHN0cGV0ZXIuaW0wggFCBgNVHSAEggE5MIIBNTCCATEGCysGAQQBgbU3AQICMIIBIDAu
BggrBgEFBQcCARYiaHR0cDovL3d3dy5zdGFydHNzbC5jb20vcG9saWN5LnBkZjA0BggrBgEF
BQcCARYoaHR0cDovL3d3dy5zdGFydHNzbC5jb20vaW50ZXJtZWRpYXRlLnBkZjCBtwYIKwYB
BQUHAgIwgaowFBYNU3RhcnRDb20gTHRkLjADAgEBGoGRTGltaXRlZCBMaWFiaWxpdHksIHNl
ZSBzZWN0aW9uICpMZWdhbCBMaW1pdGF0aW9ucyogb2YgdGhlIFN0YXJ0Q29tIENlcnRpZmlj
YXRpb24gQXV0aG9yaXR5IFBvbGljeSBhdmFpbGFibGUgYXQgaHR0cDovL3d3dy5zdGFydHNz
bC5jb20vcG9saWN5LnBkZjBjBgNVHR8EXDBaMCugKaAnhiVodHRwOi8vd3d3LnN0YXJ0c3Ns
LmNvbS9jcnR1My1jcmwuY3JsMCugKaAnhiVodHRwOi8vY3JsLnN0YXJ0c3NsLmNvbS9jcnR1
My1jcmwuY3JsMIGOBggrBgEFBQcBAQSBgTB/MDkGCCsGAQUFBzABhi1odHRwOi8vb2NzcC5z
dGFydHNzbC5jb20vc3ViL2NsYXNzMy9jbGllbnQvY2EwQgYIKwYBBQUHMAKGNmh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2NlcnRzL3N1Yi5jbGFzczMuY2xpZW50LmNhLmNydDAjBgNVHRIE
HDAahhhodHRwOi8vd3d3LnN0YXJ0c3NsLmNvbS8wDQYJKoZIhvcNAQEFBQADggEBADVtbXJG
tKAr55xc/OUM546gXUybI72Bank0w739Mv+9BBNtq9rMEvCnLmSKhBi76c1mdXh6zXs8RQDo
6nR/aPabE3llF2T4z80smi9jfnl3y9dpu9TcgDoqDLZ7a2lBlW656XAAQzHjvLp2MC7/mxlg
PYH2axa+q40mAYM20GbNsAEGbWQT1IqIh0BcLLsgbaMJHbyG/57zd9JLyMX3Vry1L1fJRQr3
GeLxMV5RtxN+mBgxrwFz/cOc09COiFExlsHgekpB5O43gqsAU16MXypyoSt4MrSfKTMHIGx6
2RF/M6vqUlvhi28gk2ZUvQ/+OX5+gjcZyooEzAAn4RuOKNswggbHMIIFr6ADAgECAgIAizAN
BgkqhkiG9w0BAQUFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4x
KzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMT
L1N0YXJ0Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBMB4XDTEw
MTAxNDAxMzYzNFoXDTEyMTAxNDEyMDEwN1owgcAxIDAeBgNVBA0TFzI3NDU4MS05TlgwNHF4
TERiMG80NjlUMQswCQYDVQQGEwJVUzERMA8GA1UECBMIQ29sb3JhZG8xDzANBgNVBAcTBkRl
bnZlcjEsMCoGA1UECxMjU3RhcnRDb20gVHJ1c3RlZCBDZXJ0aWZpY2F0ZSBNZW1iZXIxGjAY
BgNVBAMTEVBldGVyIFNhaW50LUFuZHJlMSEwHwYJKoZIhvcNAQkBFhJzdHBldGVyQHN0cGV0
ZXIuaW0wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC4RG+euSlBPH3Bsl+DFs0o
Ri+3QiKV5xlFQzrCtsLMhQ8Khy5iFoAlxCiojIdorJs9Dt/4MgYgCiUBrd0ec12Wxc/ayZN+
39k2mPXQ8gbluKU0CotRjCYsloRqpjsExbzjbdTduVbjf+W4smT8+rg6xZzDsArct5WHVT8c
6CqGKfbo3eHvZfWdssSlkWuBynx6CZa1csJssEMypQrePrCMuV2eLv2a7NgRWpTQDkapJ5vx
ZziQjHxUjnIvbgkrOKcbaJVE/lkMRs5kRPMFclptSxXnpdLGo8b0MrqR77JsKIv/ApXUcWp2
0UHXLbmV+8eA4/aDIQCkEoQM2OAuYrLJAgMBAAGjggL7MIIC9zAJBgNVHRMEAjAAMAsGA1Ud
DwQEAwIEsDAdBgNVHSUEFjAUBggrBgEFBQcDAgYIKwYBBQUHAwQwHQYDVR0OBBYEFLYRbaI0
H6DQSJsoksF2/wh4ui9UMB8GA1UdIwQYMBaAFHuJnJKXJKGERwLLdPwu9KzcMuXzMB0GA1Ud
EQQWMBSBEnN0cGV0ZXJAc3RwZXRlci5pbTCCAUIGA1UdIASCATkwggE1MIIBMQYLKwYBBAGB
tTcBAgIwggEgMC4GCCsGAQUFBwIBFiJodHRwOi8vd3d3LnN0YXJ0c3NsLmNvbS9wb2xpY3ku
cGRmMDQGCCsGAQUFBwIBFihodHRwOi8vd3d3LnN0YXJ0c3NsLmNvbS9pbnRlcm1lZGlhdGUu
cGRmMIG3BggrBgEFBQcCAjCBqjAUFg1TdGFydENvbSBMdGQuMAMCAQEagZFMaW1pdGVkIExp
YWJpbGl0eSwgc2VlIHNlY3Rpb24gKkxlZ2FsIExpbWl0YXRpb25zKiBvZiB0aGUgU3RhcnRD
b20gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgUG9saWN5IGF2YWlsYWJsZSBhdCBodHRwOi8v
d3d3LnN0YXJ0c3NsLmNvbS9wb2xpY3kucGRmMGMGA1UdHwRcMFowK6ApoCeGJWh0dHA6Ly93
d3cuc3RhcnRzc2wuY29tL2NydHUzLWNybC5jcmwwK6ApoCeGJWh0dHA6Ly9jcmwuc3RhcnRz
c2wuY29tL2NydHUzLWNybC5jcmwwgY4GCCsGAQUFBwEBBIGBMH8wOQYIKwYBBQUHMAGGLWh0
dHA6Ly9vY3NwLnN0YXJ0c3NsLmNvbS9zdWIvY2xhc3MzL2NsaWVudC9jYTBCBggrBgEFBQcw
AoY2aHR0cDovL3d3dy5zdGFydHNzbC5jb20vY2VydHMvc3ViLmNsYXNzMy5jbGllbnQuY2Eu
Y3J0MCMGA1UdEgQcMBqGGGh0dHA6Ly93d3cuc3RhcnRzc2wuY29tLzANBgkqhkiG9w0BAQUF
AAOCAQEANW1tcka0oCvnnFz85QznjqBdTJsjvYFqeTTDvf0y/70EE22r2swS8KcuZIqEGLvp
zWZ1eHrNezxFAOjqdH9o9psTeWUXZPjPzSyaL2N+eXfL12m71NyAOioMtntraUGVbrnpcABD
MeO8unYwLv+bGWA9gfZrFr6rjSYBgzbQZs2wAQZtZBPUioiHQFwsuyBtowkdvIb/nvN30kvI
xfdWvLUvV8lFCvcZ4vExXlG3E36YGDGvAXP9w5zT0I6IUTGWweB6SkHk7jeCqwBTXoxfKnKh
K3gytJ8pMwcgbHrZEX8zq+pSW+GLbyCTZlS9D/45fn6CNxnKigTMACfhG44o2zGCA80wggPJ
AgEBMIGTMIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UE
CxMiU2VjdXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRD
b20gQ2xhc3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMAkGBSsOAwIa
BQCgggIOMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEwMTIx
NjE3NDQ0OFowIwYJKoZIhvcNAQkEMRYEFLmxudSHc7uHc0PweJouUQRz5kKFMF8GCSqGSIb3
DQEJDzFSMFAwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCLZtSyiFXGVA6KDWbZQV63/XOYHpHyQ0Z1OS9j2g2nzIqsqwy7J56YhkqP
3FgOW1aK1KG2VyJSu4yNqVbFttKE7mgUGXPAzS6J151ui8W/vI//YDpMWA0SIqPfobnju5wD
1ok0Af6X04Pja71FP5QqSen4eoD7G92a0pTgQ9KcRo5ingR3DgT4QQSRgfZykRsIxgZjmLvj
aSdSwQtAbQoo8mDUwKUZn53Xot7/ArhITCqxe2jmMF9yhmQblgaZYMT9w3lDA1Jo2Pf9hlyn
EosJzdX3Z4Dv9aPZMhfzxA/C/TnlZM2DIwXSLEM71Qc2GFQ4iEYnU3fKcMENhFJ1if9AAAAA
AAAA
--------------ms070906020900080500080704--

From morgaine.dinova@googlemail.com  Thu Dec 16 23:56:33 2010
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 BF5983A694C for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 23:56:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.676
X-Spam-Level: 
X-Spam-Status: No, score=-2.676 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-1]
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 Ut-L44FmdZwt for <vwrap@core3.amsl.com>; Thu, 16 Dec 2010 23:56:32 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id 91E4A3A694D for <vwrap@ietf.org>; Thu, 16 Dec 2010 23:56:31 -0800 (PST)
Received: by qyk34 with SMTP id 34so1254178qyk.10 for <vwrap@ietf.org>; Thu, 16 Dec 2010 23:58:17 -0800 (PST)
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=RWBohu2f0kbu5t/6eZcyVDGfTeQ2fqHkyu+H27V4HNc=; b=uDVQn0K5E2IIvMDL4nrFycOSRH2dBvkP66AuxQwf4f7YRl+zkZ7Hzb1rIzoTMTnwAd KnjUwr1pmOjWq3IOyWRvO5iYcDH2SDMg5ywaF/97XExSI2WPpFjlT4XJujlNdGAn+gh1 2bq3uermVgB0DSSvaES/+DYWiwlwYfiHUP4yU=
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=qZ397RKiStdZzNv2WhoUnzeST8W3F93BAxpqfpA8y5OYiWPQZh0LBtYwN8+HTFjHUz FcuVYvOpt1EsbqRp9wSOdSgbltN7HT/xCReJNGRNoNNXmV6Ir9FpwW/0QtmvFfLvgsSi IzjmdXMxjSDp4c6GF1AciFM5UAGkWqTGVIpMM=
MIME-Version: 1.0
Received: by 10.229.213.211 with SMTP id gx19mr517391qcb.172.1292572696922; Thu, 16 Dec 2010 23:58:16 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Thu, 16 Dec 2010 23:58:16 -0800 (PST)
In-Reply-To: <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com>
Date: Fri, 17 Dec 2010 07:58:16 +0000
Message-ID: <AANLkTikFiJsLf2jNnJve90oXpChzFNc+6PQiYmWtMW9y@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016362842ea724a6d04979688d6
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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, 17 Dec 2010 07:56:33 -0000

--0016362842ea724a6d04979688d6
Content-Type: text/plain; charset=ISO-8859-1

Joshua, I notice that you did not list any technical merits of going that
route, but instead you launched directly into the technical problems
associated with it.  Unfortunately this is all too common! :-)  The
technical merits seem to be rather elusive or possibly non-existent and so
are never mentioned, while the disadvantages are well known and many.

Referring to your list of issues and technologies, you've enumerated rather
well some of the areas of mismatch between the VW technologies that we have
been using for the better part of a decade and the Web technologies that Web
standards bodies are trying to establish.  Although you say the problems are
not "blockers", in nearly every case they are inferior to the non-browser
technologies we use today, in many cases markedly so.  And some of them
actually *are* blockers, on grounds of size (remember the "no downloads"
fantasy), performance, communications model, or because of the problems
created by sandboxing.

i find it very worrying that the usual engineering approach of giving
reasons for adopting a given technology based on its technical merits do not
appear to be of concern to those working on browser clients.  The push for
it seems to be entirely non-technical, and apparently the prevailing meme is
"Let's do it, technical merit is immaterial".  As an engineer, I'm not very
impressed by this.

Additionally, nobody is discussing the architectural mismatch between VWs
and Web applications either, and that is a rather dramatic mismatch since
the two have almost opposite state models.  It's close to Web gospel that
the massive scalability of Web apps and huge server-side concurrency stems
from disjointness of client states from each other, yet we have the exact
opposite situation in VWs.  Really this whole direction makes little
technical sense.

Regarding Sirikata, they have explained that their demo is little more than
a demonstration of 3D using their protocol, with none of the features or
complexities that are so central to living in a persistent virtual world.
It's great to hear that their first trial was so successful, but that
success doesn't tell us anything about the prospects of implementing a full
VW client that way.  As I'm sure all developers realize, there is no free
lunch available here so huge amounts of code will have to be written and
downloaded by Web users.  It's also worth mentioning that while Javascript
is a fairly reasonable language in its niche, it wasn't designed for
programming in the large at all, and yet full VW clients will be very large
applications.

Your final point is one that I can agree on, if I can rephrase it as "the
browser is probably the wrong environment for the full VW experience".
Unfortunately, it's hard to say anything meaningful about user experience,
given that we can't even think of any technical benefits of using the
browser as a platform in the first place, so we're starting from the very
undesirable base of "inferior experience expected".  (This is why I asked my
question about technical benefits.)

I can't help feeling that there is a strong analogy with lemmings and cliffs
here, because we seem to be in a headlong dash towards the big cliff of
inappropriate technology for no good technical reason that anyone wants to
express, so far. ;-)


Morgaine.




=====================================

On Thu, Dec 16, 2010 at 5:07 PM, Joshua Bell <josh@lindenlab.com> wrote:

> On Thu, Dec 16, 2010 at 3:01 AM, Morgaine <morgaine.dinova@googlemail.com>wrote:
>
>> So yes, what I'm looking for here are some substantive technical reasons
>> for pursuing the browser route for VW clients beyond small, cut-down
>> introductory ones.  So far I've not seen any good technical reasons for it
>> at all, and in contrast, technical reasons why it could be a *bad* host
>> platform are abundant.
>
>
> Lisa Dusseault and I wrote a paper (linked from here) last year outlining
> some of the technical challenges. The good news is that most of the
> challenges are being actively addressed by browser vendors and the Web
> community in general.
>
> At a high level, a 3D immersive VW client needs these subsystems:
>
>    - User Interface
>    - 3D Rendering
>    - Networking
>    - Audio and Voice
>    - Logic
>    - Application Host/Framework
>
> The Second Life Viewer, for example, uses:
>
>    - UI: custom toolkit on top of OpenGL (with declarative definitions
>    called XUI)
>    - 3D: custom rendering engine on top of OpenGL
>    - Net: custom messaging library using UDP plus HTTP libraries like CURL
>    - Audio: FMOD/OpenAL (general) and Vivox (voice)
>    - Logic: application logic in C++
>    - App: custom app host/framework for windowing/OS integration
>
> Looking at the Web as a platform, the following are available:
>
>    - UI: HTML/CSS/JS; Flash; Silverlight; Unity3D
>    - 3D: Flash; Unity3D; WebGL; custom plug-ins; server-side rendering to
>    video
>    - Net: XHR; Flash; WebSockets
>    - Audio: Flash; HTML5 Audio; Vivox plugin
>    - Logic: JavaScript; Flash ActionScript; Unity3D C#
>    - App: Web browser
>
> Obviously, that's a mish-mash of different technologies; one of the pushes
> of the "HTML5" effort - using that term in it's broad marketing sense and
> covering the various technologies like WebGL, WebSockets, WebWorkers, CSS3,
> ES5, etc etc - is to create a more unified, Standards-based platform for
> application development.
>
> Efforts such as KataLabs KataSpace (http://www.sirikata.com/blog/?p=184) -
> which is built using "HTML5" tech only - shows that this is feasible today,
> to some degree.
>
> To drill into the technical impediments and how they will need to be
> addressed:
>
>    - UI: none, really; HTML for UI is a mature technology. It's true that
>    many implementations are poor, but this is not a blocker.
>    - 3D: effectively 0% of users have WebGL now, but that will change
>    significantly within 12 months; Flash 3D is currently weak but Molehill is
>    due in late 2011 and should have fast uptake. Unity is available now but is
>    a plugin which turns away many users. (Yes, technically, Flash is a plugin
>    too, but it's a special case both technically and socially); server-side
>    rendering is available now but there are many open variables
>    - Net: WebSockets is not stabilized yet and does not offer UDP (which
>    may be necessary for some low-latency scenarios); further, cross-platform
>    - Audio: HTML5 audio for presentation is progressing well, but
>    streaming voice capture has not yet been tackled and I haven't seen
>    streaming-down of realtime sessions yet. Vivox has a plugin available today,
>    however, that can be driven by..
>    - Logic: JavaScript appears adequate for most application logic, but
>    the amount of data that needs to be processed per frame in a complex world
>    like SL is significant - far more than most games. Most WebGL demos so far
>    have extremely simple requirements.
>    - App: obviously, in the web an app lives in a browser tab. This
>    implies far less control over system resources and the user's attention, and
>    affects the implied user model - fast startup, tear-down with little
>    warning, integration into navigation stack (e.g. back/forward), simultaneous
>    sessions, etc.
>
> Like most applications, attempting to simply recreate the experience as-is
> within the browser is probably not the right approach, and will lead to a
> poor experience. That said, I don't think there are significant technical
> barriers, and certainly we already have examples where functional VW clients
> implemented in the browser have been created.
>
> -- Josh
>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

--0016362842ea724a6d04979688d6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Joshua, I notice that you did not list any technical merits of going that r=
oute, but instead you launched directly into the technical problems associa=
ted with it.=A0 Unfortunately this is all too common! :-)=A0 The technical =
merits seem to be rather elusive or possibly non-existent and so are never =
mentioned, while the disadvantages are well known and many.<br>
<br>Referring to your list of issues and technologies, you&#39;ve enumerate=
d rather well some of the areas of mismatch between the VW technologies tha=
t we have been using for the better part of a decade and the Web technologi=
es that Web standards bodies are trying to establish.=A0 Although you say t=
he problems are not &quot;blockers&quot;, in nearly every case they are inf=
erior to the non-browser technologies we use today, in many cases markedly =
so.=A0 And some of them actually <b>are</b> blockers, on grounds of size (r=
emember the &quot;no downloads&quot; fantasy), performance, communications =
model, or because of the problems created by sandboxing.=A0 <br>
<br>i find it very worrying that the usual engineering approach of giving r=
easons for adopting a given technology based on its technical merits do not=
 appear to be of concern to those working on browser clients.=A0 The push f=
or it seems to be entirely non-technical, and apparently the prevailing mem=
e is &quot;Let&#39;s do it, technical merit is immaterial&quot;.=A0 As an e=
ngineer, I&#39;m not very impressed by this.<br>
<br>Additionally, nobody is discussing the architectural mismatch between V=
Ws and Web applications either, and that is a rather dramatic mismatch sinc=
e the two have almost opposite state models.=A0 It&#39;s close to Web gospe=
l that the massive scalability of Web apps and huge server-side concurrency=
 stems from disjointness of client states from each other, yet we have the =
exact opposite situation in VWs.=A0 Really this whole direction makes littl=
e technical sense.<br>
<br>Regarding Sirikata, they have explained that their demo is little more =
than a demonstration of 3D using their protocol, with none of the features =
or complexities that are so central to living in a persistent virtual world=
.=A0 It&#39;s great to hear that their first trial was so successful, but t=
hat success doesn&#39;t tell us anything about the prospects of implementin=
g a full VW client that way.=A0 As I&#39;m sure all developers realize, the=
re is no free lunch available here so huge amounts of code will have to be =
written and downloaded by Web users.=A0 It&#39;s also worth mentioning that=
 while Javascript is a fairly reasonable language in its niche, it wasn&#39=
;t designed for programming in the large at all, and yet full VW clients wi=
ll be very large applications.<br>
<br>Your final point is one that I can agree on, if I can rephrase it as &q=
uot;the browser is probably the wrong environment for the full VW experienc=
e&quot;.=A0 Unfortunately, it&#39;s hard to say anything meaningful about u=
ser experience, given that we can&#39;t even think of any technical benefit=
s of using the browser as a platform in the first place, so we&#39;re start=
ing from the very undesirable base of &quot;inferior experience expected&qu=
ot;.=A0 (This is why I asked my question about technical benefits.)<br>
<br>I can&#39;t help feeling that there is a strong analogy with lemmings a=
nd cliffs here, because we seem to be in a headlong dash towards the big cl=
iff of inappropriate technology for no good technical reason that anyone wa=
nts to express, so far. ;-)<br>
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
<br><br><div class=3D"gmail_quote">On Thu, Dec 16, 2010 at 5:07 PM, Joshua =
Bell <span dir=3D"ltr">&lt;<a href=3D"mailto:josh@lindenlab.com">josh@linde=
nlab.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class=3D"gma=
il_quote"><div class=3D"im">On Thu, Dec 16, 2010 at 3:01 AM, Morgaine <span=
 dir=3D"ltr">&lt;<a href=3D"mailto:morgaine.dinova@googlemail.com" target=
=3D"_blank">morgaine.dinova@googlemail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So yes, what I&#39;m looking for here are some substantive technical reason=
s for pursuing the browser route for VW clients beyond small, cut-down intr=
oductory ones.=A0 So far I&#39;ve not seen any good technical reasons for i=
t at all, and in contrast, technical reasons why it could be a <i>bad</i> h=
ost platform are abundant.</blockquote>

<div><br></div></div><div>Lisa Dusseault and I wrote a paper (linked from h=
ere) last year outlining some of the technical challenges. The good news is=
 that most of the challenges are being actively addressed by browser vendor=
s and the Web community in general.</div>

<div><br></div><div>At a high level, a 3D immersive VW client needs these s=
ubsystems:</div><div><ul><li>User Interface</li><li>3D Rendering</li><li>Ne=
tworking</li><li>Audio and Voice</li><li>Logic</li><li>Application Host/Fra=
mework</li>

</ul><div>The Second Life Viewer, for example, uses:</div><div><ul><li>UI: =
custom toolkit on top of OpenGL (with declarative definitions called XUI)</=
li><li>3D: custom rendering engine on top of OpenGL</li><li>Net: custom mes=
saging library using UDP plus HTTP libraries like CURL</li>

<li>Audio: FMOD/OpenAL (general) and Vivox (voice)</li><li>Logic: applicati=
on logic in C++</li><li>App: custom app host/framework for windowing/OS int=
egration</li></ul><div>Looking at the Web as a platform, the following are =
available:</div>

</div></div><div><ul><li>UI: HTML/CSS/JS; Flash; Silverlight; Unity3D</li><=
li>3D: Flash; Unity3D; WebGL; custom plug-ins; server-side rendering to vid=
eo</li><li>Net: XHR; Flash; WebSockets</li><li>Audio: Flash; HTML5 Audio; V=
ivox plugin</li>

<li>Logic: JavaScript; Flash ActionScript; Unity3D C#</li><li>App: Web brow=
ser</li></ul><div>Obviously, that&#39;s a mish-mash of different technologi=
es; one of the pushes of the &quot;HTML5&quot; effort - using that term in =
it&#39;s broad marketing sense and covering the various technologies like W=
ebGL, WebSockets, WebWorkers, CSS3, ES5, etc etc - is to create a more unif=
ied, Standards-based platform for application development.</div>

</div><div><br></div><div>Efforts such as KataLabs KataSpace (<a href=3D"ht=
tp://www.sirikata.com/blog/?p=3D184" target=3D"_blank">http://www.sirikata.=
com/blog/?p=3D184</a>)=A0- which is built using &quot;HTML5&quot; tech only=
 - shows that this is feasible today, to some degree.</div>

<div><br></div><div>To drill into the technical impediments and how they wi=
ll need to be addressed:</div><div><ul><li>UI: none, really; HTML for UI is=
 a mature technology. It&#39;s true that many implementations are poor, but=
 this is not a blocker.</li>

<li>3D: effectively 0% of users have WebGL now, but that will change signif=
icantly within 12 months; Flash 3D is currently weak but Molehill is due in=
 late 2011 and should have fast uptake. Unity is available now but is a plu=
gin which turns away many users. (Yes, technically, Flash is a plugin too, =
but it&#39;s a special case both technically and socially); server-side ren=
dering is available now but there are many open variables</li>

<li>Net: WebSockets is not stabilized yet and does not offer UDP (which may=
 be necessary for some low-latency scenarios); further, cross-platform</li>=
<li>Audio: HTML5 audio for presentation is progressing well, but streaming =
voice capture has not yet been tackled and I haven&#39;t seen streaming-dow=
n of realtime sessions yet. Vivox has a plugin available today, however, th=
at can be driven by..</li>

<li>Logic: JavaScript appears adequate for most application logic, but the =
amount of data that needs to be processed per frame in a complex world like=
 SL is significant - far more than most games. Most WebGL demos so far have=
 extremely simple requirements.</li>

<li>App: obviously, in the web an app lives in a browser tab. This implies =
far less control over system resources and the user&#39;s attention, and af=
fects the implied user model - fast startup, tear-down with little warning,=
 integration into navigation stack (e.g. back/forward), simultaneous sessio=
ns, etc.</li>

</ul><div>Like most applications, attempting to simply recreate the experie=
nce as-is within the browser is probably not the right approach, and will l=
ead to a poor experience. That said, I don&#39;t think there are significan=
t technical barriers, and certainly we already have examples where function=
al VW clients implemented in the browser have been created.</div>

</div><div><br></div><div>-- Josh</div><div><br></div></div>
<br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>

--0016362842ea724a6d04979688d6--

From johnnybhammerer@cox.net  Fri Dec 17 09:08:09 2010
Return-Path: <johnnybhammerer@cox.net>
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 79DC13A692C for <vwrap@core3.amsl.com>; Fri, 17 Dec 2010 09:08:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.11
X-Spam-Level: 
X-Spam-Status: No, score=-1.11 tagged_above=-999 required=5 tests=[BAYES_05=-1.11]
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 LFqceYoHmqPD for <vwrap@core3.amsl.com>; Fri, 17 Dec 2010 09:08:08 -0800 (PST)
Received: from fed1rmmtao103.cox.net (fed1rmmtao103.cox.net [68.230.241.43]) by core3.amsl.com (Postfix) with ESMTP id 7CD9B3A690B for <vwrap@ietf.org>; Fri, 17 Dec 2010 09:08:08 -0800 (PST)
Received: from fed1rmimpo02.cox.net ([70.169.32.72]) by fed1rmmtao103.cox.net (InterMail vM.8.01.03.00 201-2260-125-20100507) with ESMTP id <20101217170954.KRGP22411.fed1rmmtao103.cox.net@fed1rmimpo02.cox.net> for <vwrap@ietf.org>; Fri, 17 Dec 2010 12:09:54 -0500
Received: from percula.nac.uci.edu ([128.200.62.15]) by fed1rmimpo02.cox.net with bizsmtp id kH9u1f00T0Kk80004H9vuB; Fri, 17 Dec 2010 12:09:55 -0500
X-VR-Score: 0.00
X-Authority-Analysis: v=1.1 cv=f6Zs+/nFpEZOEYb4sJjW7E/Uz3bXH/g9omdstQ3jfxs= c=1 sm=1 a=cVTaAc8o87wA:10 a=8nJEP1OIZ-IA:10 a=bsjjKtJvmzImDPxJL8klHA==:17 a=QClWP5eysJ2EtVl5mvoA:9 a=IzoF1_-1uXYBdw5XgVUA:7 a=AwaRguID3wT_SFj_y38YYUfWYBEA:4 a=wPNLvfGTeEIA:10 a=bsjjKtJvmzImDPxJL8klHA==:117
X-CM-Score: 0.00
Authentication-Results: cox.net; auth=pass (PLAIN) smtp.auth=johnnybhammerer@cox.net
Message-ID: <4D0B9962.1030904@cox.net>
Date: Fri, 17 Dec 2010 09:09:54 -0800
From: JohnnyB Hammerer <johnnybhammerer@cox.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
MIME-Version: 1.0
To: vwrap@ietf.org
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com>	<AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com>
In-Reply-To: <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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, 17 Dec 2010 17:08:09 -0000

I don't understand why having a web based solution needs any 
justification by technical merits.  If those developing web based 
solutions find technical adequacy in web technologies to meet their 
goals I don't see a problem.

I'll skip analogies involving lemmings.  ;-)  I will point out while I 
process most email with a dedicated email application I am very glad to 
have some web alternatives on those occasions that call for them.

John.

From virtualregions@gmail.com  Sat Dec 18 05:48:35 2010
Return-Path: <virtualregions@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 C4A113A6A8A for <vwrap@core3.amsl.com>; Sat, 18 Dec 2010 05:48:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 QOMbTpL+tUOx for <vwrap@core3.amsl.com>; Sat, 18 Dec 2010 05:48:32 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 1C99A3A6A4E for <vwrap@ietf.org>; Sat, 18 Dec 2010 05:48:32 -0800 (PST)
Received: by qwg5 with SMTP id 5so1566159qwg.31 for <vwrap@ietf.org>; Sat, 18 Dec 2010 05:50:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:references:from:in-reply-to :mime-version:date:message-id:subject:to:content-type; bh=QyVQHhtEQLRFUODAtGTNQBsZv8klpO8nQkyelhc3RM4=; b=F64wUbBk2/OUfnhNIEiryxuAl2LWytSPpnFR3ty1Wp1VrC12YfHIuXCPTvWX71CWYV AALCxXU1XkCItWukpq7blWnhrz520aMYsGQxEiVc2zk9DcxC2k4JZodn45pkw5xgGzxh 79w8Hjlnm1u3QqznVu5ZidZuhN2sP/gt/8Y0Y=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type; b=KlBTFrlcACj3W9ZFLXmv0o51bzQ6yi2g3rfgv/oOLsKoexShAw2QV7JaTm/DsKR9zZ 6sNUofbj2W4pqcFRTz3orTCoa6IajL0MZkl+xX9FmqJ1V24S4ROgSz9LgNM/j0WGTpj+ QxBZwF2YzuDxxNu3QpKGhV2GC4oAnO//QcQx0=
Received: by 10.229.189.20 with SMTP id dc20mr1870557qcb.231.1292680221091; Sat, 18 Dec 2010 05:50:21 -0800 (PST)
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <4D0B9962.1030904@cox.net>
From: peter host <virtualregions@gmail.com>
In-Reply-To: <4D0B9962.1030904@cox.net>
Mime-Version: 1.0 (iPad Mail 8C148)
Date: Sat, 18 Dec 2010 14:51:07 +0100
Message-ID: <-6200480179825888771@unknownmsgid>
To: "vwrap@ietf.org" <vwrap@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Sat, 18 Dec 2010 13:48:35 -0000

Maybe also, one problem is the narrow definition of what a virtual
world is or should be. LL created a very rich model, but also a very
heavy one. Regardless of whether SL/OS virtual world clients will be
ported to the browser or handheld devices, virtual worlds will (and
are already, to some extent) be ported to lightweight OSes. The
browsers ports will always be 2/3 years late, but it's always been the
case, and as the browser security model (flawed as it is) still is
better than most OSes security models, hence (virtual money, asset
storing,...) I doubt support for those platforms will lag for long.
Moreover, sofar the browser platform is as close to cross platform as
can be. Mono will be dead before it achieves that.

The big question, in my opinion, is : do SL/OS developpers
wish/have_the_resouces to hop in the browser/handheld market (at the
cost of graceful degradation of performances, which is an inevitable
tradeback),... or not. If they don't others will. To take the example
of the closed Unity model (cf. Unite, Asset Store) they already ARE on
all browsers, but also on most TV box sets, handheld devices, and
consoles. What makes a technology successful, in the end, is user
adoption. Not the amazingly rich experience. (which is a shame, but
erhhh, well...)

And to the (diffuse but omnipresent) argument that OS/SL are such
heavy, difficult, dauntingly overcomplicated project, so was Apache,
and what happened ? Nginx happened, nodejs happened. Storing assets in
mysql ? Gosh, how about redis, mongo, couch,... Want more sqlness,
take riak,... Opengl on my iphone ? Hey, it's been there for years.
Javascript too slow ? You didn't test v8 properly, and even so,
javascript will be the glue, not the core language for libraries, etc,
etc...

To sum things up, vw protocols had better take light clients into
account, or they will end as the next sgml. Now, that's just my
opinion.



http://twitter.com/peterhost

On Dec 17, 2010, at 18:10, JohnnyB Hammerer <johnnybhammerer@cox.net> wrote:

> I don't understand why having a web based solution needs any justification by technical merits.  If those developing web based solutions find technical adequacy in web technologies to meet their goals I don't see a problem.
>
> I'll skip analogies involving lemmings.  ;-)  I will point out while I process most email with a dedicated email application I am very glad to have some web alternatives on those occasions that call for them.
>
> John.
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap

From bhurley1@me.com  Sat Dec 18 06:00:24 2010
Return-Path: <bhurley1@me.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 45A403A6A86 for <vwrap@core3.amsl.com>; Sat, 18 Dec 2010 06:00:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 lty3QxrKKbP0 for <vwrap@core3.amsl.com>; Sat, 18 Dec 2010 06:00:23 -0800 (PST)
Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by core3.amsl.com (Postfix) with ESMTP id 803133A6A4B for <vwrap@ietf.org>; Sat, 18 Dec 2010 06:00:23 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; charset=us-ascii
Received: from [192.168.1.40] ([64.91.55.57]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 64bit)) with ESMTPSA id <0LDM0042SMZIQ860@asmtp029.mac.com> for vwrap@ietf.org; Sat, 18 Dec 2010 06:02:07 -0800 (PST)
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1012180050
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-12-18_02:2010-12-18, 2010-12-17, 1970-01-01 signatures=0
From: Brian Hurley <bhurley1@me.com>
In-reply-to: <-6200480179825888771@unknownmsgid>
Date: Sat, 18 Dec 2010 06:02:06 -0800
Message-id: <B94A3D80-2805-49C1-ACB1-CA06ECEA0CE3@me.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <4D0B9962.1030904@cox.net> <-6200480179825888771@unknownmsgid>
To: peter host <virtualregions@gmail.com>
X-Mailer: Apple Mail (2.1082)
X-Mailman-Approved-At: Sat, 18 Dec 2010 10:10:17 -0800
Cc: "vwrap@ietf.org" <vwrap@ietf.org>
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Sat, 18 Dec 2010 14:01:41 -0000

"And to the (diffuse but omnipresent) argument that OS/SL are such
heavy, difficult, dauntingly overcomplicated project, so was Apache,
and what happened ? Nginx happened, nodejs happened. Storing assets in
mysql ? Gosh, how about redis, mongo, couch,... Want more sqlness,
take riak,... Opengl on my iphone ? Hey, it's been there for years.
Javascript too slow ? You didn't test v8 properly, and even so,
javascript will be the glue, not the core language for libraries, etc,
etc..."

I believe the other thing that happened is that Veronica and Archie paved the way.

I was using Archie as a client to talk to Veronica servers about 2 years before 
Apache and Mozilla were more than idle chit chat....

And this was on early Mac OS platforms....  Win and BSD etc were already well established in this area.

>From my perspective there is really not much new today except the protocols used to transport the 
content.

cheers

On Dec 18, 2010, at 5:51 AM, peter host wrote:

> And to the (diffuse but omnipresent) argument that OS/SL are such
> heavy, difficult, dauntingly overcomplicated project, so was Apache,
> and what happened ? Nginx happened, nodejs happened. Storing assets in
> mysql ? Gosh, how about redis, mongo, couch,... Want more sqlness,
> take riak,... Opengl on my iphone ? Hey, it's been there for years.
> Javascript too slow ? You didn't test v8 properly, and even so,
> javascript will be the glue, not the core language for libraries, etc,
> etc...


From morgaine.dinova@googlemail.com  Sat Dec 18 20:08:50 2010
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 116A23A6C2B for <vwrap@core3.amsl.com>; Sat, 18 Dec 2010 20:08:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.926
X-Spam-Level: 
X-Spam-Status: No, score=-2.926 tagged_above=-999 required=5 tests=[AWL=0.050,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 6B5ImoJOzbNr for <vwrap@core3.amsl.com>; Sat, 18 Dec 2010 20:08:48 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 581B43A6A84 for <vwrap@ietf.org>; Sat, 18 Dec 2010 20:08:48 -0800 (PST)
Received: by qwg5 with SMTP id 5so1881712qwg.31 for <vwrap@ietf.org>; Sat, 18 Dec 2010 20:10:38 -0800 (PST)
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=1WBSUhBPmvOy/vCCIg8zYB7OZhv2LJgCIFlJZrx9xPo=; b=clXu5VtovXtNpLYooYu54GH0yD8J43IFgOPqj4jQ0bDX9+IDHXKo5YBKFJJGr7BJGU akXmtopDgJNJiR2UPMA6xS1bGEdNhLAP6plGwLgnnyVZ+I2Rk7ENaKIMntDdx2eeEAdA EZr3c9EVaeRIBHEbOO5pgad+U0Aojy4Kj6rXo=
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=T2Sn8FHv52dcCQqWFda8TjZ8aCDD+x+lq1Gc/OIiUHMduQ7iMtymhQRg6iuY5CzMIR 3E1hs1BlpBMABHFw62RCnLHSTQeLo26vPwA+2wEogecu7qn4vkBmwzUB7Xwk7fQ1w+ji 1fcOjjFOVNiaO8g6mJIO7Z/ayHqrXneVOjLcU=
MIME-Version: 1.0
Received: by 10.229.189.14 with SMTP id dc14mr2472478qcb.58.1292731838315; Sat, 18 Dec 2010 20:10:38 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Sat, 18 Dec 2010 20:10:37 -0800 (PST)
In-Reply-To: <4D0B9962.1030904@cox.net>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <4D0B9962.1030904@cox.net>
Date: Sun, 19 Dec 2010 04:10:37 +0000
Message-ID: <AANLkTim5trqXKsUoXnVxiXq0ocOR5jVe=u_8QdV0-Jn5@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016363b7e3e033cc60497bb968c
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Sun, 19 Dec 2010 04:08:50 -0000

--0016363b7e3e033cc60497bb968c
Content-Type: text/plain; charset=ISO-8859-1

It's just a matter of being clear about why one is doing something, rather
than proceeding blindly.

If you engage in a project in full knowledge that it has no technical merit,
they you know in advance that the outcome is likely to be unsatisfactory.
It is useful to be fully aware that your efforts are being driven by
somewhat irrational factors such as group think, media hype, or inadequately
researched wishful thinking from management, rather than by technical
benefits.

It's always helpful to understand the forces that drive us to do things.
And it's usually safer to stick to those things that have a strong technical
reason for them, as they are more likely to work well.

As you say though, it's always good to have alternatives, even if they are
technically inferior, and that applies to browser-based VW clients as well.
My interest is that we understand the technical boundaries that constrain
such solutions, so that we don't aim for the impossible nor raise false
expectations in those who can't analyze the technical issues for themselves.

What this probably means in practice is that with currently foreseeable
technologies, browser-based VW clients are likely to be quite inefficient
compared to native standalone clients, possess limited functionality, and
have poorer UIs.  That is not necessarily a reason to avoid them, as long as
we realize that their niche is a limited one.

Personally, I am quite looking forward to minimalist VW clients, such as
might run in the browser of a portable tablet or smartphone, but I am in no
danger of having unrealistic expectations of them.  Others might.


Morgaine.




========================================

On Fri, Dec 17, 2010 at 5:09 PM, JohnnyB Hammerer
<johnnybhammerer@cox.net>wrote:

> I don't understand why having a web based solution needs any justification
> by technical merits.  If those developing web based solutions find technical
> adequacy in web technologies to meet their goals I don't see a problem.
>
> I'll skip analogies involving lemmings.  ;-)  I will point out while I
> process most email with a dedicated email application I am very glad to have
> some web alternatives on those occasions that call for them.
>
> John.
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

--0016363b7e3e033cc60497bb968c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

It&#39;s just a matter of being clear about why one is doing something, rat=
her than proceeding blindly.<br><br>If you engage in a project in full know=
ledge that it has no technical merit, they you know in advance that the out=
come is likely to be unsatisfactory.=A0 It is useful to be fully aware that=
 your efforts are being driven by somewhat irrational factors such as group=
 think, media hype, or inadequately researched wishful thinking from manage=
ment, rather than by technical benefits.<br>
<br>It&#39;s always helpful to understand the forces that drive us to do th=
ings.=A0 And it&#39;s usually safer to stick to those things that have a st=
rong technical reason for them, as they are more likely to work well.<br>
<br>As you say though, it&#39;s always good to have alternatives, even if t=
hey are technically inferior, and that applies to browser-based VW clients =
as well.=A0 My interest is that we understand the technical boundaries that=
 constrain such solutions, so that we don&#39;t aim for the impossible nor =
raise false expectations in those who can&#39;t analyze the technical issue=
s for themselves.<br>
<br>What this probably means in practice is that with currently foreseeable=
 technologies, browser-based VW clients are likely to be quite inefficient =
compared to native standalone clients, possess limited functionality, and h=
ave poorer UIs.=A0 That is not necessarily a reason to avoid them, as long =
as we realize that their niche is a limited one.<br>
<br>Personally, I am quite looking forward to minimalist VW clients, such a=
s might run in the browser of a portable tablet or smartphone, but I am in =
no danger of having unrealistic expectations of them.=A0 Others might.<br>
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D<br><br><div class=3D"gmail_quote">On Fri, Dec 17, 2010 at 5:09 PM=
, JohnnyB Hammerer <span dir=3D"ltr">&lt;<a href=3D"mailto:johnnybhammerer@=
cox.net">johnnybhammerer@cox.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I don&#39;t under=
stand why having a web based solution needs any justification by technical =
merits. =A0If those developing web based solutions find technical adequacy =
in web technologies to meet their goals I don&#39;t see a problem.<br>

<br>
I&#39;ll skip analogies involving lemmings. =A0;-) =A0I will point out whil=
e I process most email with a dedicated email application I am very glad to=
 have some web alternatives on those occasions that call for them.<br>
<br>
John.<div><div></div><div class=3D"h5"><br>
_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</div></div></blockquote></div><br>

--0016363b7e3e033cc60497bb968c--

From morgaine.dinova@googlemail.com  Sat Dec 18 22:45:28 2010
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 423493A677D for <vwrap@core3.amsl.com>; Sat, 18 Dec 2010 22:45:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.163
X-Spam-Level: 
X-Spam-Status: No, score=-2.163 tagged_above=-999 required=5 tests=[AWL=-0.727, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, SARE_LWHUGE=1.54]
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 ElNQNNvcqjCY for <vwrap@core3.amsl.com>; Sat, 18 Dec 2010 22:45:24 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 144B13A66B4 for <vwrap@ietf.org>; Sat, 18 Dec 2010 22:45:20 -0800 (PST)
Received: by qyj19 with SMTP id 19so2017148qyj.10 for <vwrap@ietf.org>; Sat, 18 Dec 2010 22:47:11 -0800 (PST)
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:cc:content-type; bh=M5r74KHhSgn/HgKlrTzRfzT9cG6X6ACCRXC6WqguyyQ=; b=gCTLnlq4ySswye+CfDS3oDpDtCzH9IZY1KYpAjmcbgVYYRGNghGfhAiQutrWKIXUQK DqsZcjTZSmK1wvO9Jp8FtefPB7S3uyl9D7OZBzHV7D1cXgH9OW/MkQ1yL+dom4cJsSen BM4stT/Nd85YJf7w3uNB4csZFh4s8UV8rbdCo=
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 :cc:content-type; b=WERGV1nE/D5GMHaYCEN0OGm72RpSRlwSTtjxzN/Tp2jSBz3CTjKIfVsLIz8cmdR0Hk KkKN8DyYw/KpuZv9CAYiu8DBHPfhfDM3G0SXyN73ZicMvmJnWFAuWU4qhI705mAyaHNR JWkpsNSPsOsaPmdAACvFjz9hE6/1T1INUnjGg=
MIME-Version: 1.0
Received: by 10.229.184.13 with SMTP id ci13mr2481520qcb.134.1292741231205; Sat, 18 Dec 2010 22:47:11 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Sat, 18 Dec 2010 22:47:11 -0800 (PST)
In-Reply-To: <-6200480179825888771@unknownmsgid>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <4D0B9962.1030904@cox.net> <-6200480179825888771@unknownmsgid>
Date: Sun, 19 Dec 2010 06:47:11 +0000
Message-ID: <AANLkTimKN6+rpc3FidpWYAca2P6qAbKR3kf9fn=MQu9Q@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016363b9292df5e250497bdc5e8
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Sun, 19 Dec 2010 06:45:28 -0000

--0016363b9292df5e250497bdc5e8
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Dec 18, 2010 at 1:51 PM, peter host <virtualregions@gmail.com>wrote:

>
> To sum things up, vw protocols had better take light clients into
> account, or they will end as the next sgml.
>


While that sounds endearingly good as a sound bite, it's not when you
actually analyze it. :-)

Joshua summarized well for us the main areas in which browser-based clients
have concerns:


   - User Interface
   - 3D Rendering
   - Networking
   - Audio and Voice
   - Logic
   - Application Host/Framework


In each of these areas, you need to assess how a VW protocol interacts with
the client-side issue to understand whether the protocol creates an
unnecessary implementation constraint, or whether the problems are
self-imposed by choice of platform.  This is how browser-based clients
score:


   - *UI*:  No concern of the protocol.  Self-imposed problem.
   - *Rendering*:  No concern of the protocol.  Self-imposed problem.
   - *Networking*:  Platform defines networking to suit Web applications
   (very sensibly), which VWs are not.  (VWs have an inherently different
   network architecture to Web apps.)  Self-imposed problem.
   - *Audio and Voice*:  VW protocols don't dictate media formats, so at
   worst there is just a temporary incompatibility in the formats chosen, no
   long-term constraint.  Not really a problem.
   - *Logic*:  Virtual worlds will cover a wide range of complexities.  Some
   may be simple enough that the required program logic is perceived as "no
   download" from a user perspective, but it is not reasonable to assume that a
   majority will.  Everybody wants more features, even those users who
   illogically also want zero-download.  I would expect a huge growth in VW
   complexities, not a reduction, and this directly impacts on the size of
   program logic.  No concern of the protocol.  Self-imposed problem if a
   platform expects the impossible.
   - *Framework*:  The browser framework supports a Web app model in which
   sites are strongly isolated from each other and also isolated from
   client-side resources, in the interest of security.  The importance of this
   isolation cannot be overstated.  Unfortunately, this also means that nothing
   running in the framework can extend the power of clients on the user's
   behalf, because that would get exploited maliciously.  This is why browsers
   load extensions out-of-band ---  the actual Web application framework is too
   weak to support it, on purpose.  No concern of the protocol.  Self-imposed
   problem, but by design.


This breakdown suggests to me that the protocol is quite orthogonal to the
actual problems suffered by browser-based clients, in all areas except
networking.  And in the networking area, the "problem" stems from browser
advocates failing to understand that VWs are not Web applications, so
unsurprisingly Web browsers are not a natural host for VW clients.

There is nothing that VW protocols can do to alleviate these shortcomings of
the browser platform, because virtual worlds don't work like websites.  The
in-world objects and the avatars are highly stateful and persistent, the
users in a region all see each other, interoperating objects travel between
worlds in what would be Web cross-site anathema, and there is nothing
remotely like transparent region crossing in Web apps.  Really we're talking
about chalk and cheese here.

SGML's crown was usurped by HTML as a simpler format that worked better in
the online markup space.  But VWs are already an online space, a newer one
than the Web, and Web browsers don't work better in this new space at all.

(*Light* clients don't really have any inherent problems, by the way, other
than managing their limited resources.  Here we're talking about *
browser-based* clients which also need to be light, but they're a subset of
the category of "light clients".)


Morgaine.




=======================================

On Sat, Dec 18, 2010 at 1:51 PM, peter host <virtualregions@gmail.com>wrote:

> Maybe also, one problem is the narrow definition of what a virtual
> world is or should be. LL created a very rich model, but also a very
> heavy one. Regardless of whether SL/OS virtual world clients will be
> ported to the browser or handheld devices, virtual worlds will (and
> are already, to some extent) be ported to lightweight OSes. The
> browsers ports will always be 2/3 years late, but it's always been the
> case, and as the browser security model (flawed as it is) still is
> better than most OSes security models, hence (virtual money, asset
> storing,...) I doubt support for those platforms will lag for long.
> Moreover, sofar the browser platform is as close to cross platform as
> can be. Mono will be dead before it achieves that.
>
> The big question, in my opinion, is : do SL/OS developpers
> wish/have_the_resouces to hop in the browser/handheld market (at the
> cost of graceful degradation of performances, which is an inevitable
> tradeback),... or not. If they don't others will. To take the example
> of the closed Unity model (cf. Unite, Asset Store) they already ARE on
> all browsers, but also on most TV box sets, handheld devices, and
> consoles. What makes a technology successful, in the end, is user
> adoption. Not the amazingly rich experience. (which is a shame, but
> erhhh, well...)
>
> And to the (diffuse but omnipresent) argument that OS/SL are such
> heavy, difficult, dauntingly overcomplicated project, so was Apache,
> and what happened ? Nginx happened, nodejs happened. Storing assets in
> mysql ? Gosh, how about redis, mongo, couch,... Want more sqlness,
> take riak,... Opengl on my iphone ? Hey, it's been there for years.
> Javascript too slow ? You didn't test v8 properly, and even so,
> javascript will be the glue, not the core language for libraries, etc,
> etc...
>
> To sum things up, vw protocols had better take light clients into
> account, or they will end as the next sgml. Now, that's just my
> opinion.
>
>
>
> http://twitter.com/peterhost
>
> On Dec 17, 2010, at 18:10, JohnnyB Hammerer <johnnybhammerer@cox.net>
> wrote:
>
> > I don't understand why having a web based solution needs any
> justification by technical merits.  If those developing web based solutions
> find technical adequacy in web technologies to meet their goals I don't see
> a problem.
> >
> > I'll skip analogies involving lemmings.  ;-)  I will point out while I
> process most email with a dedicated email application I am very glad to have
> some web alternatives on those occasions that call for them.
> >
> > John.
> > _______________________________________________
> > vwrap mailing list
> > vwrap@ietf.org
> > https://www.ietf.org/mailman/listinfo/vwrap
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

--0016363b9292df5e250497bdc5e8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Sat, Dec 18, 2010 at 1:51 PM, peter host <span dir=3D"ltr">&lt;<a href=
=3D"mailto:virtualregions@gmail.com">virtualregions@gmail.com</a>&gt;</span=
> wrote:<br>
<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-le=
ft: 1ex;"><br>
To sum things up, vw protocols had better take light clients into<br>
account, or they will end as the next sgml.<br>
</blockquote></div>
<br><br>
While that sounds endearingly good as a sound bite, it&#39;s not when you a=
ctually analyze it. :-)<br>
<br>
Joshua summarized well for us the main areas in which browser-based clients=
 have concerns:<br>
<br>
<ul><li>User Interface</li><li>3D Rendering</li><li>Networking</li><li>Audi=
o and Voice</li><li>Logic</li><li>Application Host/Framework</li></ul>
<br>
In each of these areas, you need to assess how a VW protocol interacts=20
with the client-side issue to understand whether the protocol creates an
 unnecessary implementation constraint, or whether the problems are=20
self-imposed by choice of platform.=A0 This is how browser-based clients=20
score:<br>
<br>
<ul><li><b>UI</b>:=A0 No concern of the protocol.=A0 Self-imposed problem.<=
/li><li><b>Rendering</b>:=A0 No concern of the protocol.=A0 Self-imposed pr=
oblem.</li><li><b>Networking</b>:=A0 Platform defines networking to suit We=
b=20
applications (very sensibly), which VWs are not.=A0 (VWs have an=20
inherently different network architecture to Web apps.)=A0 Self-imposed=20
problem.</li><li><b>Audio and Voice</b>:=A0 VW protocols don&#39;t dictate =
media formats,
 so at worst there is just a temporary incompatibility in the formats=20
chosen, no long-term constraint.=A0 Not really a problem.<br>
  </li><li><b>Logic</b>:=A0 Virtual worlds will cover a wide range of compl=
exities.=A0 Some may be simple enough that the required program logic is pe=
rceived as &quot;no download&quot; from a user perspective,
 but it is not reasonable to assume that a majority will.=A0 Everybody=20
wants more features, even those users who illogically also want=20
zero-download.=A0 I would expect a huge growth in VW complexities, not a=20
reduction, and this directly impacts on the size of program logic.=A0 No=20
concern of the protocol.=A0 Self-imposed problem if a platform expects the
 impossible.</li><li><b>Framework</b>:=A0 The browser framework supports a =
Web app model in which sites are strongly isolated from each other and also=
 isolated from client-side resources, in the interest of security.=A0
 The importance of this isolation cannot be overstated.=A0 Unfortunately,=
=20
this also means that nothing running in the framework can extend the=20
power of clients on the user&#39;s behalf, because that would get exploited=
=20
maliciously.=A0 This is why browsers load extensions out-of-band ---=A0 the=
=20
actual Web application framework is too weak to support it, on purpose.=A0 =
No concern of the protocol.=A0 Self-imposed problem, but by design.</li></u=
l>
<br>
This breakdown suggests to me that the protocol is quite orthogonal to=20
the actual problems suffered by browser-based clients, in all areas=20
except networking.=A0 And in the networking area, the &quot;problem&quot; s=
tems from
 browser advocates failing to understand that VWs are not Web=20
applications, so unsurprisingly Web browsers are not a natural host for=20
VW clients.<br>
<br>
There is nothing that VW protocols can do to alleviate these=20
shortcomings of the browser platform, because virtual worlds don&#39;t work=
=20
like websites.=A0 The in-world objects and the avatars are highly stateful
 and persistent, the users in a region all see each other,=20
interoperating objects travel between worlds in what would be Web=20
cross-site anathema, and there is nothing remotely like transparent=20
region crossing in Web apps.=A0 Really we&#39;re talking about chalk and=20
cheese here.<br>
<br>
SGML&#39;s crown was usurped by HTML as a simpler format that worked better=
=20
in the online markup space.=A0 But VWs are already an online space, a=20
newer one than the Web, and Web browsers don&#39;t work better in this new=
=20
space at all.<br>
<br>
(<b>Light</b> clients don&#39;t really have any inherent problems, by the=
=20
way, other than managing their limited resources.=A0 Here we&#39;re talking=
=20
about <b>browser-based</b> clients which also need to be light, but they&#3=
9;re a subset of the category of &quot;light clients&quot;.)<br>
<br>
<br>
Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br=
><br><div class=3D"gmail_quote">On Sat, Dec 18, 2010 at 1:51 PM, peter host=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:virtualregions@gmail.com">virtualr=
egions@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Maybe also, one p=
roblem is the narrow definition of what a virtual<br>
world is or should be. LL created a very rich model, but also a very<br>
heavy one. Regardless of whether SL/OS virtual world clients will be<br>
ported to the browser or handheld devices, virtual worlds will (and<br>
are already, to some extent) be ported to lightweight OSes. The<br>
browsers ports will always be 2/3 years late, but it&#39;s always been the<=
br>
case, and as the browser security model (flawed as it is) still is<br>
better than most OSes security models, hence (virtual money, asset<br>
storing,...) I doubt support for those platforms will lag for long.<br>
Moreover, sofar the browser platform is as close to cross platform as<br>
can be. Mono will be dead before it achieves that.<br>
<br>
The big question, in my opinion, is : do SL/OS developpers<br>
wish/have_the_resouces to hop in the browser/handheld market (at the<br>
cost of graceful degradation of performances, which is an inevitable<br>
tradeback),... or not. If they don&#39;t others will. To take the example<b=
r>
of the closed Unity model (cf. Unite, Asset Store) they already ARE on<br>
all browsers, but also on most TV box sets, handheld devices, and<br>
consoles. What makes a technology successful, in the end, is user<br>
adoption. Not the amazingly rich experience. (which is a shame, but<br>
erhhh, well...)<br>
<br>
And to the (diffuse but omnipresent) argument that OS/SL are such<br>
heavy, difficult, dauntingly overcomplicated project, so was Apache,<br>
and what happened ? Nginx happened, nodejs happened. Storing assets in<br>
mysql ? Gosh, how about redis, mongo, couch,... Want more sqlness,<br>
take riak,... Opengl on my iphone ? Hey, it&#39;s been there for years.<br>
Javascript too slow ? You didn&#39;t test v8 properly, and even so,<br>
javascript will be the glue, not the core language for libraries, etc,<br>
etc...<br>
<br>
To sum things up, vw protocols had better take light clients into<br>
account, or they will end as the next sgml. Now, that&#39;s just my<br>
opinion.<br>
<br>
<br>
<br>
<a href=3D"http://twitter.com/peterhost" target=3D"_blank">http://twitter.c=
om/peterhost</a><br>
<div><div></div><div class=3D"h5"><br>
On Dec 17, 2010, at 18:10, JohnnyB Hammerer &lt;<a href=3D"mailto:johnnybha=
mmerer@cox.net">johnnybhammerer@cox.net</a>&gt; wrote:<br>
<br>
&gt; I don&#39;t understand why having a web based solution needs any justi=
fication by technical merits. =A0If those developing web based solutions fi=
nd technical adequacy in web technologies to meet their goals I don&#39;t s=
ee a problem.<br>

&gt;<br>
&gt; I&#39;ll skip analogies involving lemmings. =A0;-) =A0I will point out=
 while I process most email with a dedicated email application I am very gl=
ad to have some web alternatives on those occasions that call for them.<br>

&gt;<br>
&gt; John.<br>
&gt; _______________________________________________<br>
&gt; vwrap mailing list<br>
&gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_bla=
nk">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</div></div></blockquote></div><br>

--0016363b9292df5e250497bdc5e8--

From lopes@ics.uci.edu  Sun Dec 19 08:28:28 2010
Return-Path: <lopes@ics.uci.edu>
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 5E5A13A6809 for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 08:28:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.684
X-Spam-Level: 
X-Spam-Status: No, score=-1.684 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_51=0.6, SARE_MILLIONSOF=0.315]
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 hTOtfRH9t1Xc for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 08:28:27 -0800 (PST)
Received: from colin-baker-v0.ics.uci.edu (colin-baker-v0.ics.uci.edu [128.195.1.153]) by core3.amsl.com (Postfix) with ESMTP id 819613A680C for <vwrap@ietf.org>; Sun, 19 Dec 2010 08:28:27 -0800 (PST)
Received: from [169.234.242.112] (susan-foreman.ics.uci.edu [128.195.1.134]) (authenticated bits=0) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id oBJGUAVh029256 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for <vwrap@ietf.org>; Sun, 19 Dec 2010 08:30:14 -0800
Message-ID: <4D0E3316.1010504@ics.uci.edu>
Date: Sun, 19 Dec 2010 08:30:14 -0800
From: Cristina Videira Lopes <lopes@ics.uci.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: vwrap@ietf.org
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com>	<AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com>	<AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com>	<AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <AANLkTikFiJsLf2jNnJve90oXpChzFNc+6PQiYmWtMW9y@mail.gmail.com>
In-Reply-To: <AANLkTikFiJsLf2jNnJve90oXpChzFNc+6PQiYmWtMW9y@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information
X-ICS-MailScanner-ID: oBJGUAVh029256
X-ICS-MailScanner: Found to be clean
X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.125, required 5, autolearn=disabled, ALL_TRUSTED -1.44, SARE_MILLIONSOF 0.32)
X-ICS-MailScanner-From: lopes@ics.uci.edu
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Sun, 19 Dec 2010 16:28:28 -0000

Morgaine says:

 > Has anyone seen a well argued technical assessment supporting the 
concept of "VW client in a browser"?

"VW client in a browser" has been a reality for many years, I'm not sure 
it needs to be argued for. Hundreds of millions of people use them on a 
regular basis. All Flash-based virtual worlds out there are as much 
interactive virtual worlds as Second Life, they're just poorer in terms 
of graphics. We're now starting to see a lot of interest in 
Unity3D-based environments, namely the webplayer, which provides 
excellent graphics on the browser (among other delivery platforms). And 
the next version of Flash supporting 3D is around the corner.

Browser plugin approaches, such as Flash and Unity3D, are perfectly 
valid approachesfor Web apps. They're all part of the hypermedia concept 
upon which the Web stands: the "players" (programs) are associated with 
specific MIME types that web clients may or may not be equipped to 
interpret. Technically speaking, these plugins can do anything you want 
them to do -- there is no difference between a dedicated, independently 
installed client, and a client that runs as a browser plugin. Some 
plugins are so important that they become de-facto standards, at least 
until something better comes along -- that's the case with Flash.

Linden Lab could deliver the SL viewer as a browser plugin, too, 
especially now that OpenSim exists. It wouldn't solve the firewall 
issues associated with the LLUDP protocol. But it would go along the 
lines of developing a platform for 3rd-party 3D web application 
development, which is the sorely needed solution space for massifying 
online 3D that Flash and Unity3d are in.

If you're in the business of creating your own virtual world from 
scratch, a dedicated client or a standard media like mpeg video may make 
more sense than a browser plugin. However, if you're in the business of 
being a middleware of sorts that allows others to create and host their 
own applications (like Adobe Flash and Unity3D), then a browser plugin 
-- paired with the proper server-side component (like SmartFoxServer or 
OpenSim) -- makes a lot of sense, because your users' users need only to 
install a plugin -- a one-time, automatic, well-oiled process that 
doesn't feel like a separate download, and that doesn't force people to 
start up this other program every time they want to visit the VW.

For the time being, JavaScript+WebGL+WebSockets can only support very 
simple interactions. Eventually, this combo may be good enough to 
replace these dedicated plugins. But if/while that doesn't happen, and 
even if it happens, browser plugins are as good an approach as they have 
been for the past 15 years. One can only hope there will be more 
alternatives to Flash and Unity3D. I actually believe that the SL viewer 
could be a 3rd alternative.

(OpenSim is in par with SmartFoxServer, but open source: OpenSim is a 
platform for multi-user 3D application development, just like SmartFox; 
it just happens to have started around the LL protocol instead of around 
Flash.)

Regards,
Crista


From virtualregions@gmail.com  Sun Dec 19 08:32:30 2010
Return-Path: <virtualregions@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 0B9DC3A680C for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 08:32:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 u9yogW5Px1xX for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 08:32:29 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 1AF143A67F2 for <vwrap@ietf.org>; Sun, 19 Dec 2010 08:32:29 -0800 (PST)
Received: by qwg5 with SMTP id 5so2130095qwg.31 for <vwrap@ietf.org>; Sun, 19 Dec 2010 08:34:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=TbB/k2aw0XDYNlBrzNoMwcrrbxMLqkc8APEdSe/j080=; b=U65bqCPegeH/WN2fmUECI1tg6VRd91Z9C4J/vbk5Epqb4JGsWygVrDWK0mDl4InNSU tjFrHmvpN8LvDcXKLG0ve8lCpf7FzwemClF9B1TjPleGJ231nSKSoCcn/Ck/Uo2V3zas jkkMHt1rYyiaxGVSSUCUF1+qYLkikXUUabuIs=
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 :content-type:content-transfer-encoding; b=e78GB5npaFJMwTuOaD1rA7TZiX4Frbqs10xvZkOIkZ4SOwXSMoN4iR6tacQRVmrqy4 WRiSDIRXc+GLrd79q5lA2HgEW9LXC9eLysmZ6yc0xSzNzlphYZm+11q6OUG7XfGMwvKj FW2i0vhRg9tZrm/zOxtLuEMbMwOwNN++2bmW0=
MIME-Version: 1.0
Received: by 10.229.215.9 with SMTP id hc9mr2928751qcb.117.1292776460641; Sun, 19 Dec 2010 08:34:20 -0800 (PST)
Received: by 10.229.38.65 with HTTP; Sun, 19 Dec 2010 08:34:20 -0800 (PST)
In-Reply-To: <AANLkTimKN6+rpc3FidpWYAca2P6qAbKR3kf9fn=MQu9Q@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <4D0B9962.1030904@cox.net> <-6200480179825888771@unknownmsgid> <AANLkTimKN6+rpc3FidpWYAca2P6qAbKR3kf9fn=MQu9Q@mail.gmail.com>
Date: Sun, 19 Dec 2010 17:34:20 +0100
Message-ID: <AANLkTinBrB0wFmvJYSH_F4VbCekf0zKSm4GQOjo7e689@mail.gmail.com>
From: peter host <virtualregions@gmail.com>
To: vwrap@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Sun, 19 Dec 2010 16:32:30 -0000

> There is nothing that VW protocols can do to alleviate these shortcomings=
 of
> the browser platform, because virtual worlds don't work like websites.=A0=
 The
> in-world objects and the avatars are highly stateful and persistent, the
> users in a region all see each other, interoperating objects travel betwe=
en
> worlds in what would be Web cross-site anathema, and there is nothing
> remotely like transparent region crossing in Web apps.=A0 Really we're ta=
lking
> about chalk and cheese here.

hmmm... you might want to take a look at node.js' implementation of socketi=
o.
It's already there and already working.
I am personally working for my current clients on a project which
links websites virtually (via a javascript client)
showing you what your 'friends' are doing, on the website, in real
time. It's 'co-surfing'. Mouse movement, clicks & all. And there's
quite a lot of data going back and forth. Our major limitation is the
lattency of TCP.

NB : the term web apps might be misleading. The sort of apps
websockets make feasible
 don't really care about the 'document' web, they are endpoints for
octet streams, and 'web' servers are just only proxies to lower-level
interfaces (say a ROBUST server, a datastore, whatever)


> SGML's crown was usurped by HTML as a simpler format that worked better i=
n
> the online markup space.=A0 But VWs are already an online space, a newer =
one
> than the Web, and Web browsers don't work better in this new space at all=
.

Good point.

From sm@resistor.net  Sun Dec 19 14:32:04 2010
Return-Path: <sm@resistor.net>
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 DC93F3A692F for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 14:32:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.526
X-Spam-Level: 
X-Spam-Status: No, score=-103.526 tagged_above=-999 required=5 tests=[AWL=0.073, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 NNJvHfFhj162 for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 14:32:04 -0800 (PST)
Received: from ns1.qubic.net (ns1.qubic.net [208.69.177.116]) by core3.amsl.com (Postfix) with ESMTP id 111263A692E for <vwrap@ietf.org>; Sun, 19 Dec 2010 14:32:04 -0800 (PST)
Received: from SUBMAN.resistor.net ([10.0.0.1]) (authenticated bits=0) by ns1.qubic.net (8.14.5.Alpha0/8.14.5.Alpha0) with ESMTP id oBJMXjxL026502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Dec 2010 14:33:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opendkim.org; s=mail2010; t=1292798035; x=1292884435; bh=XDEQU/bCTBGtC/iT/e2wsAPU7vCL3LvXKk/e/bQStqo=; h=Message-Id:Date:To:From:Subject:Cc:In-Reply-To:References: Mime-Version:Content-Type:Cc; b=N1sd2An337QkaQagFsO1s8OzYUkn0r+uycIe7Gj1gSgXE+AbnpGGHfl/JUleRw/Wn hYw5W5DRim/4fNsyQFXKEuSC5eeAcut9LtLHkXJc2ohYTp4ONIjidWLNOUyygBaVyC 4CDYuGIYmEn6/dlRWhmolz8vocIOTYqi7Ku+W44c=
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=resistor.net; s=mail; t=1292798035; x=1292884435; bh=XDEQU/bCTBGtC/iT/e2wsAPU7vCL3LvXKk/e/bQStqo=; h=Message-Id:Date:To:From:Subject:Cc:In-Reply-To:References: Mime-Version:Content-Type:Cc; b=QZcZuLo7s+/1cRlBEQUeEbULZxLRw7xivG2e/h3cvQCFK5DUsF2REvioeN1SzPq0B SvvoHON+mrxGH2oq6V8jy9CFYRWHUAH2HScjvQKcXcwDmnUBgWDmmVRMRsjOE6i93k IDavbVCYwQBY0SWJQSa/1wvttK61ZC0oNODsS0X4=
DomainKey-Signature: a=rsa-sha1; s=mail; d=resistor.net; c=simple; q=dns; b=tuxsoF20tkHTsAvryr02UP3He29nLkK7xRjLG8pbepwumIycSpAeI5GJs/pMBMjSn kp3ydjIzE8KgKaQ5nUn0b7ikNCBZ7+8dxxr4EzSVofYHiiPFZqDRXnnUV0ovtyMuCkR 68mULPQHBnzXgsGtSd4d8NQqWtYBCZfSi9aXjc8=
Message-Id: <6.2.5.6.2.20101219141829.0a381da8@resistor.net>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Sun, 19 Dec 2010 14:22:04 -0800
To: Joshua Bell <josh@lindenlab.com>
From: SM <sm@resistor.net>
In-Reply-To: <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.c om>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Sun, 19 Dec 2010 22:32:05 -0000

Hi Joshua,
At 09:07 16-12-10, Joshua Bell wrote:
>    * Net: WebSockets is not stabilized yet and does not offer UDP 
> (which may be necessary for some low-latency scenarios); further, 
> cross-platform
Is there any interest for UDP support in Websockets?

Regards,
-sm 


From ohmeadhbh@gmail.com  Sun Dec 19 15:24:56 2010
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 54EAB3A6952 for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 15:24:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=-0.001, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 v0lsdyuCoSd0 for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 15:24:55 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 5F4043A694F for <vwrap@ietf.org>; Sun, 19 Dec 2010 15:24:55 -0800 (PST)
Received: by vws7 with SMTP id 7so1097547vws.31 for <vwrap@ietf.org>; Sun, 19 Dec 2010 15:26:47 -0800 (PST)
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=HB2aZWJGcRoxlESRDNsYbK7g+iriABgJTpL1VFtRl4A=; b=T7rOUcO2O+dEl3SjILSV1gzKckxxytVMAT/nrrWXjpssbV3ySjinkp+COFa3A3B6hs j0BakL5uM5bl+j707rzS3/OhKUCC/Vau4WFQAKBK5Xetv/IYStpnBeHWeNujJJAp44QY JhKtt7C14weYK0iy7DyZgIq0pAm3MILrx3gCk=
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=qHU3jhX5lTjWqV5wIeyqRmykmWwoe2ZGwKnjbKVxmAIswqIxAZdH2KYFrlhhTS5gLE pVkhGIZY5RTvicgU2dR2278j1SPEqdLi/UvE1n4EyigFT+WvUk4WA/yCmpkC9T5XQSRW 5ZFalfC0jkwwhJ54ATDo4wJGc0y0+FwhQm9MM=
MIME-Version: 1.0
Received: by 10.220.179.68 with SMTP id bp4mr1074276vcb.87.1292801207355; Sun, 19 Dec 2010 15:26:47 -0800 (PST)
Received: by 10.220.99.21 with HTTP; Sun, 19 Dec 2010 15:26:47 -0800 (PST)
Received: by 10.220.99.21 with HTTP; Sun, 19 Dec 2010 15:26:47 -0800 (PST)
In-Reply-To: <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com>
Date: Sun, 19 Dec 2010 15:26:47 -0800
Message-ID: <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com>
From: Meadhbh Hamrick <ohmeadhbh@gmail.com>
To: SM <sm@resistor.net>
Content-Type: multipart/alternative; boundary=90e6ba53aab8bad47d0497cbbc95
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Sun, 19 Dec 2010 23:24:56 -0000

--90e6ba53aab8bad47d0497cbbc95
Content-Type: text/plain; charset=ISO-8859-1

do we really know that UDP is what we want, even for low latency? if you're
multiplexing messages over a websocket connection, it's highly likely it'll
be an existing connection (i.e.- it's likely one tcp/ip connection will
carry several multiplexed websockets messages.)

in my tests, UDP doesn't do much better than TCP if you're near the network
rate as it seems a lot of routers tend to dump UDP packets first.

most modern OSes now have api calls to let you disable TCP slow-start.

i guess what i'm saying is it might be a good idea to define messages in a
way so they're transport agnostic. that and I would wager that any latency
improvements from UDP are dwarfed by latency introduced by application layer
mechanisms to replace TCP's flow control & resend semantics.

just my $0.02.
On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:

--90e6ba53aab8bad47d0497cbbc95
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p>do we really know that UDP is what we want, even for low latency? if you=
&#39;re multiplexing messages over a websocket connection, it&#39;s highly =
likely it&#39;ll be an existing connection (i.e.- it&#39;s likely one tcp/i=
p connection will carry several multiplexed websockets messages.)</p>

<p>in my tests, UDP doesn&#39;t do much better than TCP if you&#39;re near =
the network rate as it seems a lot of routers tend to dump UDP packets firs=
t.</p>
<p>most modern OSes now have api calls to let you disable TCP slow-start.</=
p>
<p>i guess what i&#39;m saying is it might be a good idea to define message=
s in a way so they&#39;re transport agnostic. that and I would wager that a=
ny latency improvements from UDP are dwarfed by latency introduced by appli=
cation layer mechanisms to replace TCP&#39;s flow control &amp; resend sema=
ntics.</p>

<p>just my $0.02.</p>
<div class=3D"gmail_quote">On Dec 19, 2010 2:34 PM, &quot;SM&quot; &lt;<a h=
ref=3D"mailto:sm@resistor.net">sm@resistor.net</a>&gt; wrote:<br type=3D"at=
tribution"></div>

--90e6ba53aab8bad47d0497cbbc95--

From dahliatrimble@gmail.com  Sun Dec 19 16:54:50 2010
Return-Path: <dahliatrimble@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 0BD073A698E for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 16:54:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 X74hOajBdTfD for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 16:54:48 -0800 (PST)
Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by core3.amsl.com (Postfix) with ESMTP id 542013A6989 for <vwrap@ietf.org>; Sun, 19 Dec 2010 16:54:48 -0800 (PST)
Received: by wwi17 with SMTP id 17so2344972wwi.1 for <vwrap@ietf.org>; Sun, 19 Dec 2010 16:56:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=NqezDDqNin/ZdUqPDRXbJ7VAkyKMZvncxb0UA6kT7kc=; b=SSb/8BNPSTfd5elOr4f/cW6PpYuQ5i9IkpRQIEsePTXZmgCWRDMwG2PRugsK25MK+T UE/zSBxUh5t6tom3HAj8nurnHs3l+rjRuGBmkQQ70zWQeDsLZpR7Fjpjoju7k4dmRFaW mkQdPwkFCUNbd/gS2/lo/BzE9pYmSO1H0bWPA=
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=QjaBKlAp0McjK599tpogzT36nnrpWaeu4TsRoinr0FGEKIOjSLCldErhTBU14Knwp7 NTABhXha40PSqFwJAqxeg13tGgeNuxRTxcUCsCs3pVEvdhZoB+Hk0aLEHjveKKg6wsGV h7VGEV1PxsRq/k3U6gsaQi907wItGQbPsii8w=
MIME-Version: 1.0
Received: by 10.216.16.21 with SMTP id g21mr2089191weg.6.1292806599050; Sun, 19 Dec 2010 16:56:39 -0800 (PST)
Received: by 10.216.86.210 with HTTP; Sun, 19 Dec 2010 16:56:39 -0800 (PST)
In-Reply-To: <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com>
Date: Sun, 19 Dec 2010 16:56:39 -0800
Message-ID: <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com>
From: Dahlia Trimble <dahliatrimble@gmail.com>
To: Meadhbh Hamrick <ohmeadhbh@gmail.com>
Content-Type: multipart/alternative; boundary=0015176f16f61985860497ccfe42
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 00:54:50 -0000

--0015176f16f61985860497ccfe42
Content-Type: text/plain; charset=ISO-8859-1

I have used both TCP and UDP in VW applications. I've found that TCP has
acceptable latency and is not really any worse than UDP when either are
tried over a clean, highly functional connection. I've not seen any routers
which drop UDP packets in favor of TCP, and I've not seen any evidence of
better quality TCP connections than UDP in any of my tests. To the contrary,
I've seen UDP perform much better when network conditions are less than
optimal as small messages can be sent immediately and repeated as needed
without waiting for prior message acknowledgement or waiting for a TCP
stream to recover in the event of dropped packets.

TCP seems to be favorable when latency is not critical as it's generally
(but not always) easier to use. UDP seems favorable when latency is critical
as it allows the programmer to control network traffic and tailor it to the
application requirements.

If anyone has any evidence of internet pathways that selectively favor TCP
over other traffic, I'd be interested in seeing it.


On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com>wrote:

> do we really know that UDP is what we want, even for low latency? if you're
> multiplexing messages over a websocket connection, it's highly likely it'll
> be an existing connection (i.e.- it's likely one tcp/ip connection will
> carry several multiplexed websockets messages.)
>
> in my tests, UDP doesn't do much better than TCP if you're near the network
> rate as it seems a lot of routers tend to dump UDP packets first.
>
> most modern OSes now have api calls to let you disable TCP slow-start.
>
> i guess what i'm saying is it might be a good idea to define messages in a
> way so they're transport agnostic. that and I would wager that any latency
> improvements from UDP are dwarfed by latency introduced by application layer
> mechanisms to replace TCP's flow control & resend semantics.
>
> just my $0.02.
> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

--0015176f16f61985860497ccfe42
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have used both TCP and UDP in VW applications. I&#39;ve found that TCP ha=
s
 acceptable latency and is not really any worse than UDP when either are
 tried over a clean, highly functional connection. I&#39;ve not seen any ro=
uters which drop UDP packets in favor of TCP, and I&#39;ve not seen any evi=
dence of better quality TCP connections than UDP in any of my tests. To the=
 contrary, I&#39;ve seen UDP perform much better when network conditions ar=
e less than optimal as small messages can be sent immediately and repeated =
as needed without waiting for prior message acknowledgement or waiting for =
a TCP stream to recover in the event of dropped packets.<br>
<br>TCP seems to be favorable when latency is not critical as it&#39;s gene=
rally (but not always) easier to use. UDP seems favorable when latency is c=
ritical as it allows the programmer to control network traffic and tailor i=
t to the application requirements.<br>
<br>If anyone has any evidence of internet pathways that selectively favor =
TCP over other traffic, I&#39;d be interested in seeing it. <br><br><br><di=
v class=3D"gmail_quote">On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:ohmeadhbh@gmail.com">ohmeadhbh@gmail.=
com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><p>do we really know that UDP is what we wa=
nt, even for low latency? if you&#39;re multiplexing messages over a websoc=
ket connection, it&#39;s highly likely it&#39;ll be an existing connection =
(i.e.- it&#39;s likely one tcp/ip connection will carry several multiplexed=
 websockets messages.)</p>


<p>in my tests, UDP doesn&#39;t do much better than TCP if you&#39;re near =
the network rate as it seems a lot of routers tend to dump UDP packets firs=
t.</p>
<p>most modern OSes now have api calls to let you disable TCP slow-start.</=
p>
<p>i guess what i&#39;m saying is it might be a good idea to define message=
s in a way so they&#39;re transport agnostic. that and I would wager that a=
ny latency improvements from UDP are dwarfed by latency introduced by appli=
cation layer mechanisms to replace TCP&#39;s flow control &amp; resend sema=
ntics.</p>


<p>just my $0.02.</p>
<div class=3D"gmail_quote">On Dec 19, 2010 2:34 PM, &quot;SM&quot; &lt;<a h=
ref=3D"mailto:sm@resistor.net" target=3D"_blank">sm@resistor.net</a>&gt; wr=
ote:<br type=3D"attribution"></div>
<br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>

--0015176f16f61985860497ccfe42--

From john.hurliman@intel.com  Sun Dec 19 19:07:16 2010
Return-Path: <john.hurliman@intel.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 59B8E3A69B9 for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 19:07:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 EILnju6+ZjwE for <vwrap@core3.amsl.com>; Sun, 19 Dec 2010 19:07:15 -0800 (PST)
Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by core3.amsl.com (Postfix) with ESMTP id 6ABE73A69AA for <vwrap@ietf.org>; Sun, 19 Dec 2010 19:07:15 -0800 (PST)
Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 19 Dec 2010 19:09:06 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="4.60,199,1291622400"; d="scan'208";a="638159391"
Received: from rrsmsx603.amr.corp.intel.com ([10.31.0.57]) by fmsmga002.fm.intel.com with ESMTP; 19 Dec 2010 19:09:06 -0800
Received: from rrsmsx506.amr.corp.intel.com ([10.31.0.39]) by rrsmsx603.amr.corp.intel.com ([10.31.0.57]) with mapi; Sun, 19 Dec 2010 20:09:05 -0700
From: "Hurliman, John" <john.hurliman@intel.com>
To: Meadhbh Hamrick <ohmeadhbh@gmail.com>
Date: Sun, 19 Dec 2010 20:09:05 -0700
Thread-Topic: [vwrap] Technical basis for VW client in a web browser?
Thread-Index: Acuf80KgR4MTf+pbQeWYXrPEn12Eog==
Message-ID: <788D9C2E-595D-49B6-B83F-A6C18627A90D@intel.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com>
In-Reply-To: <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Cc: "vwrap@ietf.org" <vwrap@ietf.org>
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 03:07:16 -0000

QWdyZWVkIDEwMCUNCg0KSm9obg0KDQpPbiBEZWMgMTksIDIwMTAsIGF0IDM6MjYgUE0sICJNZWFk
aGJoIEhhbXJpY2siIDxvaG1lYWRoYmhAZ21haWwuY29tPG1haWx0bzpvaG1lYWRoYmhAZ21haWwu
Y29tPj4gd3JvdGU6DQoNCg0KZG8gd2UgcmVhbGx5IGtub3cgdGhhdCBVRFAgaXMgd2hhdCB3ZSB3
YW50LCBldmVuIGZvciBsb3cgbGF0ZW5jeT8gaWYgeW91J3JlIG11bHRpcGxleGluZyBtZXNzYWdl
cyBvdmVyIGEgd2Vic29ja2V0IGNvbm5lY3Rpb24sIGl0J3MgaGlnaGx5IGxpa2VseSBpdCdsbCBi
ZSBhbiBleGlzdGluZyBjb25uZWN0aW9uIChpLmUuLSBpdCdzIGxpa2VseSBvbmUgdGNwL2lwIGNv
bm5lY3Rpb24gd2lsbCBjYXJyeSBzZXZlcmFsIG11bHRpcGxleGVkIHdlYnNvY2tldHMgbWVzc2Fn
ZXMuKQ0KDQppbiBteSB0ZXN0cywgVURQIGRvZXNuJ3QgZG8gbXVjaCBiZXR0ZXIgdGhhbiBUQ1Ag
aWYgeW91J3JlIG5lYXIgdGhlIG5ldHdvcmsgcmF0ZSBhcyBpdCBzZWVtcyBhIGxvdCBvZiByb3V0
ZXJzIHRlbmQgdG8gZHVtcCBVRFAgcGFja2V0cyBmaXJzdC4NCg0KbW9zdCBtb2Rlcm4gT1NlcyBu
b3cgaGF2ZSBhcGkgY2FsbHMgdG8gbGV0IHlvdSBkaXNhYmxlIFRDUCBzbG93LXN0YXJ0Lg0KDQpp
IGd1ZXNzIHdoYXQgaSdtIHNheWluZyBpcyBpdCBtaWdodCBiZSBhIGdvb2QgaWRlYSB0byBkZWZp
bmUgbWVzc2FnZXMgaW4gYSB3YXkgc28gdGhleSdyZSB0cmFuc3BvcnQgYWdub3N0aWMuIHRoYXQg
YW5kIEkgd291bGQgd2FnZXIgdGhhdCBhbnkgbGF0ZW5jeSBpbXByb3ZlbWVudHMgZnJvbSBVRFAg
YXJlIGR3YXJmZWQgYnkgbGF0ZW5jeSBpbnRyb2R1Y2VkIGJ5IGFwcGxpY2F0aW9uIGxheWVyIG1l
Y2hhbmlzbXMgdG8gcmVwbGFjZSBUQ1AncyBmbG93IGNvbnRyb2wgJiByZXNlbmQgc2VtYW50aWNz
Lg0KDQpqdXN0IG15ICQwLjAyLg0KDQpPbiBEZWMgMTksIDIwMTAgMjozNCBQTSwgIlNNIiA8PG1h
aWx0bzpzbUByZXNpc3Rvci5uZXQ+c21AcmVzaXN0b3IubmV0PG1haWx0bzpzbUByZXNpc3Rvci5u
ZXQ+PiB3cm90ZToNCg==

From cmickeyb@gmail.com  Mon Dec 20 08:39:04 2010
Return-Path: <cmickeyb@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 9B7643A6A60 for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 08:39:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 0XCbe7Gi-x79 for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 08:39:02 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 3D2453A6A5F for <vwrap@ietf.org>; Mon, 20 Dec 2010 08:39:02 -0800 (PST)
Received: by wyf23 with SMTP id 23so3031042wyf.31 for <vwrap@ietf.org>; Mon, 20 Dec 2010 08:40:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/x52eTFN4sG0/Phugv3lHUS5buZqxOlUDlS/mPaNneE=; b=dI7mpqhzIjvBqka+sWWJ5edTk0H38dqSBaloI5n9RFldWL83V5f92PC+i4VjEI37F1 vdOMPGKejWK8nhb7gRJbGjXat8fsLqFoIPNj4ZJImMUqS8myopR4/Rq19lXNW/qOFXwM sKR6IY+Z8clMFfiR/NpFiMD/UTa3x1DSMvjs8=
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=UwRE/biJX31rIqdE627BQaeWVt8vzstxP9GBuRNAy9mLhaiOxrZKLT3wOW6+e++H8t 34/v3UKD4uwThR06h99VCC0Dcbd8XOO/0likoC+EbcAaV/LiQWVk4UJL1P+BBFIiknWM UDebEkVATd86gzZ1xN2TypgSQvU2knvggFwzg=
MIME-Version: 1.0
Received: by 10.216.178.138 with SMTP id f10mr4838223wem.98.1292863254278; Mon, 20 Dec 2010 08:40:54 -0800 (PST)
Received: by 10.216.211.196 with HTTP; Mon, 20 Dec 2010 08:40:54 -0800 (PST)
In-Reply-To: <788D9C2E-595D-49B6-B83F-A6C18627A90D@intel.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <788D9C2E-595D-49B6-B83F-A6C18627A90D@intel.com>
Date: Mon, 20 Dec 2010 08:40:54 -0800
Message-ID: <AANLkTikPS4PzWboyX6RJY+MKZs86Pi7d867MqUePOxeb@mail.gmail.com>
From: Mic Bowman <cmickeyb@gmail.com>
To: "Hurliman, John" <john.hurliman@intel.com>
Content-Type: multipart/alternative; boundary=00163642664503b3b90497da2f99
Cc: "vwrap@ietf.org" <vwrap@ietf.org>, Meadhbh Hamrick <ohmeadhbh@gmail.com>
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 16:39:04 -0000

--00163642664503b3b90497da2f99
Content-Type: text/plain; charset=ISO-8859-1

Its never that straightforward...

most applications that use UDP (unless they are truly and completely
unreliable) have some form of flow control/packet retransmission code that
is implemented entirely in user space. for a single connection, the overhead
is negligible but it doesn't really scale well when the number of
connections (on the server) goes up. TCP provides kernel level support for
the retransmission and, often, all packet processing can be moved off to the
NIC itself.

and, of course... there is a reason why TCP has slow start...

a nice paper on one alternative approach:
http://hci.stanford.edu/cstr/reports/2010-01.pdf

--mic




On Sun, Dec 19, 2010 at 7:09 PM, Hurliman, John <john.hurliman@intel.com>wrote:

> Agreed 100%
>
> John
>
> On Dec 19, 2010, at 3:26 PM, "Meadhbh Hamrick" <ohmeadhbh@gmail.com
> <mailto:ohmeadhbh@gmail.com>> wrote:
>
>
> do we really know that UDP is what we want, even for low latency? if you're
> multiplexing messages over a websocket connection, it's highly likely it'll
> be an existing connection (i.e.- it's likely one tcp/ip connection will
> carry several multiplexed websockets messages.)
>
> in my tests, UDP doesn't do much better than TCP if you're near the network
> rate as it seems a lot of routers tend to dump UDP packets first.
>
> most modern OSes now have api calls to let you disable TCP slow-start.
>
> i guess what i'm saying is it might be a good idea to define messages in a
> way so they're transport agnostic. that and I would wager that any latency
> improvements from UDP are dwarfed by latency introduced by application layer
> mechanisms to replace TCP's flow control & resend semantics.
>
> just my $0.02.
>
> On Dec 19, 2010 2:34 PM, "SM" <<mailto:sm@resistor.net>sm@resistor.net
> <mailto:sm@resistor.net>> wrote:
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

--00163642664503b3b90497da2f99
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Its never that straightforward...=A0<div><br></div><div>most applications t=
hat use UDP (unless they are truly and completely unreliable) have some for=
m of flow control/packet retransmission code that is implemented entirely i=
n user space. for a single connection, the overhead is=A0negligible but it =
doesn&#39;t really scale well when the number of connections (on the server=
) goes up. TCP provides kernel level support for the retransmission and, of=
ten, all packet processing can be moved off to the NIC itself.=A0<div>
<br></div><div>and, of course... there is a reason why TCP has slow start..=
.<br><div><br></div><div>a nice paper on one alternative approach:=A0</div>=
<div><a href=3D"http://hci.stanford.edu/cstr/reports/2010-01.pdf">http://hc=
i.stanford.edu/cstr/reports/2010-01.pdf</a></div>
<div><br></div><div>--mic</div><div><br><div><br></div><div><br><br><div cl=
ass=3D"gmail_quote">On Sun, Dec 19, 2010 at 7:09 PM, Hurliman, John <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:john.hurliman@intel.com">john.hurliman@int=
el.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">Agreed 100%<br>
<font color=3D"#888888"><br>
John<br>
</font><div><div></div><div class=3D"h5"><br>
On Dec 19, 2010, at 3:26 PM, &quot;Meadhbh Hamrick&quot; &lt;<a href=3D"mai=
lto:ohmeadhbh@gmail.com">ohmeadhbh@gmail.com</a>&lt;mailto:<a href=3D"mailt=
o:ohmeadhbh@gmail.com">ohmeadhbh@gmail.com</a>&gt;&gt; wrote:<br>
<br>
<br>
do we really know that UDP is what we want, even for low latency? if you&#3=
9;re multiplexing messages over a websocket connection, it&#39;s highly lik=
ely it&#39;ll be an existing connection (i.e.- it&#39;s likely one tcp/ip c=
onnection will carry several multiplexed websockets messages.)<br>

<br>
in my tests, UDP doesn&#39;t do much better than TCP if you&#39;re near the=
 network rate as it seems a lot of routers tend to dump UDP packets first.<=
br>
<br>
most modern OSes now have api calls to let you disable TCP slow-start.<br>
<br>
i guess what i&#39;m saying is it might be a good idea to define messages i=
n a way so they&#39;re transport agnostic. that and I would wager that any =
latency improvements from UDP are dwarfed by latency introduced by applicat=
ion layer mechanisms to replace TCP&#39;s flow control &amp; resend semanti=
cs.<br>

<br>
just my $0.02.<br>
<br>
</div></div><div><div></div><div class=3D"h5">On Dec 19, 2010 2:34 PM, &quo=
t;SM&quot; &lt;&lt;mailto:<a href=3D"mailto:sm@resistor.net">sm@resistor.ne=
t</a>&gt;<a href=3D"mailto:sm@resistor.net">sm@resistor.net</a>&lt;mailto:<=
a href=3D"mailto:sm@resistor.net">sm@resistor.net</a>&gt;&gt; wrote:<br>

_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</div></div></blockquote></div><br></div></div></div></div>

--00163642664503b3b90497da2f99--

From morgaine.dinova@googlemail.com  Mon Dec 20 08:42:45 2010
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 B27503A6A5F for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 08:42:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.842
X-Spam-Level: 
X-Spam-Status: No, score=-2.842 tagged_above=-999 required=5 tests=[AWL=0.134,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 9Vjv0Hpkz19c for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 08:42:44 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 9F48C3A69FC for <vwrap@ietf.org>; Mon, 20 Dec 2010 08:42:43 -0800 (PST)
Received: by qwg5 with SMTP id 5so3036477qwg.31 for <vwrap@ietf.org>; Mon, 20 Dec 2010 08:44:37 -0800 (PST)
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=qfkzkvwzopjwz+x6IAS2XxEm7cSPLFEmmQO6As321OY=; b=GVIJ5eLLre+idfJmT0or461okSYgF6k3VWnbNfvudi/N0LwkET9eACS9AYKCCcT6VW HN6Toq47hbKuV3N9xbsYmtZBBO2MIVwxykhNE6Ya9D9/KkG4z1iSkHeE3Mw7gy61mSMG zkZzoL0MG1BDOh3Rib22nMD+9oYNbuMrQbozI=
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=sJgXX0wcad0K+nlgH1Owcb5qjCzgSNSxJ0d1r2Nx8HCZ5cHmOuV2KRnzkE3QSFv7FT IW80ykUFR0HOxZQL+V0b5UIlJU2b332K4++x5n5PU9asjUOfFeo0QQ4XKKomaKcywl4K C03NWuULdvCyGBYPZTGzXV46g0H5dBSczArSk=
MIME-Version: 1.0
Received: by 10.229.184.13 with SMTP id ci13mr3886569qcb.134.1292863476994; Mon, 20 Dec 2010 08:44:36 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Mon, 20 Dec 2010 08:44:36 -0800 (PST)
In-Reply-To: <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com>
Date: Mon, 20 Dec 2010 16:44:36 +0000
Message-ID: <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016363b92924bcae60497da3cb6
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 16:42:45 -0000

--0016363b92924bcae60497da3cb6
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <dahliatrimble@gmail.com>wrote:

>
> If anyone has any evidence of internet pathways that selectively favor TCP
> over other traffic, I'd be interested in seeing it.
>


I have first-hand knowledge of this.  I worked for several years at the
Network Operations Centre of a top-tier ISP, and one of my duties was
looking after service routers and firewalls.  Policy-based routing and
firewall access lists are configured with rulesets which are processed
sequentially and eat up router CPU, which is a finite resource.

Under off-peak conditions, packet loss is quite rare in the absence of
interface or line faults, and router CPUs are scaled to handle the expected
load so packets are never dropped willfully.  When networks are congested
however, which unfortunately is not uncommon during peak hours owing to the
common practice of oversubscribing capacity (or poor scalability planning),
CPU load often reaches critical levels, and routers are configured to
prioritize certain payload types in favor of others when this happens.

TCP always gets top priority because it carries HTTP which is most closely
tied to business revenue.  In contrast, UDP (and also ICMP Echo) are
normally configured right down the bottom end of the priority list, so under
peak load when the CPU has to make a choice what to drop to stay within safe
operating limits, UDP gets the chop first.  This was business as usual at
the ISP, and that's how the network designers wanted the traffic priorities
configured.  (I was merely implementing policy, not creating it.)

Gaming fans sometimes complain that ISPs are reducing the quality of service
of their UDP traffic, and in some sense it's true.  From my experience it's
not done maliciously nor as an conscious policy of network non-neutrality,
but simply as a means of protecting the more prized resource of TCP payloads
when operating conditions mandate that something has to be thrown away.

On the positive side, I've never known UDP packets (nor any other kind) to
be dropped willfully for the above reason when all equipment is working
within safe design limits and there is enough capacity to carry them.  If it
happens off-peak then something is very wrong with network sizing, or the
equipment is faulty.

Unfortunately, that's not the end of the saga with UDP.  It's just the
beginning, because there is another big reason for dropped packets, and this
one occurs even when equipment is working within its designed operating
limits:  traffic shaping.

IP traffic shaping is performed by packet queuing as a first resort, to slow
down traffic in the hope that the source notices and adapts.  If the packet
rate doesn't slow down then the method of last resort is to drop excess
packets when queue buffers hit their configured highwater marks.  TCP
implements a lot of things to mitigate packet loss, such as slow start,
exponential backoff and transmit pacing, with the purpose of adapting
transmit rate to receipt rate across paths of limited bandwidth so that
traffic-shaping routers don't enter their drop state.

UDP has no such flow control, so the onus falls upon the UDP application
endpoints to carry out adaptive flow control themselves.  The likelihood of
this being done by UDP applications as effectively as it is done in today's
finely honed TCP stacks is very low.  It may not even be done at all.

As a result, UDP packets can get dropped for being bad network citizens and
not slowing down in response to packet queueing and transmit pacing.  UDP
applications may think that they're free of the shackles of TCP flow
control, but they're not.  They either slow down when given the hint, or
their traffic gets the chop.  As a result, a UDP application that is
oblivious of end-to-end timing should expect packet loss when the network
acts to protect itself against congestion.  See RFC-2309 for more details
about this issue, in particular "MANAGING AGGRESSIVE FLOWS".  There is no
free lunch for UDP packets.

This is why the best advice to give prospective users of UDP is "*Don't,
unless your application is tolerant of packet loss, packet duplication,
packet delay, corrupted packets, and out of order delivery.*"  To try to
work around these properties of UDP and make it reliable while
simultaneously not impacting on the congestion controls of TCP over the
shared path is highly unlikely to be successful, unless you reimplement the
clever control features of TCP, and do it compatibly.  Bulldozing your UDP
packets through a shared network is not a solution, and will fail.

*[PS. The problems don't even stop there, as there are further causes of UDP
packet loss.  One is the effect of TCP flow-control synchronization on UDP
loss rate over congested paths, which counter-intuitively negates any
benefit that could result from reducing UDP traffic rates because TCP
synchronization picks up any bandwidth slack that reducing UDP traffic has
freed.  As a result, TCP congestion actually increases UDP packet drop
rates.  (This has been a topic of research.)  Networks protocols have very
complex behaviors.]*


Morgaine.




======================================

On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <dahliatrimble@gmail.com>wrote:

> I have used both TCP and UDP in VW applications. I've found that TCP has
> acceptable latency and is not really any worse than UDP when either are
> tried over a clean, highly functional connection. I've not seen any routers
> which drop UDP packets in favor of TCP, and I've not seen any evidence of
> better quality TCP connections than UDP in any of my tests. To the contrary,
> I've seen UDP perform much better when network conditions are less than
> optimal as small messages can be sent immediately and repeated as needed
> without waiting for prior message acknowledgement or waiting for a TCP
> stream to recover in the event of dropped packets.
>
> TCP seems to be favorable when latency is not critical as it's generally
> (but not always) easier to use. UDP seems favorable when latency is critical
> as it allows the programmer to control network traffic and tailor it to the
> application requirements.
>
> If anyone has any evidence of internet pathways that selectively favor TCP
> over other traffic, I'd be interested in seeing it.
>
>
> On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com>wrote:
>
>> do we really know that UDP is what we want, even for low latency? if
>> you're multiplexing messages over a websocket connection, it's highly likely
>> it'll be an existing connection (i.e.- it's likely one tcp/ip connection
>> will carry several multiplexed websockets messages.)
>>
>> in my tests, UDP doesn't do much better than TCP if you're near the
>> network rate as it seems a lot of routers tend to dump UDP packets first.
>>
>> most modern OSes now have api calls to let you disable TCP slow-start.
>>
>> i guess what i'm saying is it might be a good idea to define messages in a
>> way so they're transport agnostic. that and I would wager that any latency
>> improvements from UDP are dwarfed by latency introduced by application layer
>> mechanisms to replace TCP's flow control & resend semantics.
>>
>> just my $0.02.
>> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
>>
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>>
>>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

--0016363b92924bcae60497da3cb6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:dahliatrimble@gmail.com">dahliatrimble@gmail.com</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt=
 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>If anyone has any evidence of internet pathways that selectively favor =
TCP over other traffic, I&#39;d be interested in seeing it. <br></blockquot=
e><br><br>I have first-hand knowledge of this.=A0 I worked for several year=
s at the Network Operations Centre of a top-tier ISP, and one of my duties =
was looking after service routers and firewalls.=A0 Policy-based routing an=
d firewall access lists are configured with rulesets which are processed se=
quentially and eat up router CPU, which is a finite resource.<br>
<br>Under off-peak conditions, packet loss is quite rare in the absence of =
interface or line faults, and router CPUs are scaled to handle the expected=
 load so packets are never dropped willfully.=A0 When networks are congeste=
d however, which unfortunately is not uncommon during peak hours owing to t=
he common practice of oversubscribing capacity (or poor scalability plannin=
g), CPU load often reaches critical levels, and routers are configured to p=
rioritize certain payload types in favor of others when this happens.<br>
<br>TCP always gets top priority because it carries HTTP which is most clos=
ely tied to business revenue.=A0 In contrast, UDP (and also ICMP Echo) are =
normally configured right down the bottom end of the priority list, so unde=
r peak load when the CPU has to make a choice what to drop to stay within s=
afe operating limits, UDP gets the chop first.=A0 This was business as usua=
l at the ISP, and that&#39;s how the network designers wanted the traffic p=
riorities configured.=A0 (I was merely implementing policy, not creating it=
.)<br>
<br>Gaming fans sometimes complain that ISPs are reducing the quality of se=
rvice of their UDP traffic, and in some sense it&#39;s true.=A0 From my exp=
erience it&#39;s not done maliciously nor as an conscious policy of network=
 non-neutrality, but simply as a means of protecting the more prized resour=
ce of TCP payloads when operating conditions mandate that something has to =
be thrown away.<br>
<br>On the positive side, I&#39;ve never known UDP packets (nor any other k=
ind) to be dropped willfully for the above reason when all equipment is wor=
king within safe design limits and there is enough capacity to carry them.=
=A0 If it happens off-peak then something is very wrong with network sizing=
, or the equipment is faulty.<br>
<br>Unfortunately, that&#39;s not the end of the saga with UDP.=A0 It&#39;s=
 just the beginning, because there is another big reason for dropped packet=
s, and this one occurs even when equipment is working within its designed o=
perating limits:=A0 traffic shaping.<br>
<br>IP traffic shaping is performed by packet queuing as a first resort, to=
 slow down traffic in the hope that the source notices and adapts.=A0 If th=
e packet rate doesn&#39;t slow down then the method of last resort is to dr=
op excess packets when queue buffers hit their configured highwater marks.=
=A0 TCP implements a lot of things to mitigate packet loss, such as slow st=
art, exponential backoff and transmit pacing, with the purpose of adapting =
transmit rate to receipt rate across paths of limited bandwidth so that tra=
ffic-shaping routers don&#39;t enter their drop state.<br>
<br>UDP has no such flow control, so the onus falls upon the UDP applicatio=
n endpoints to carry out adaptive flow control themselves.=A0 The likelihoo=
d of this being done by UDP applications as effectively as it is done in to=
day&#39;s finely honed TCP stacks is very low.=A0 It may not even be done a=
t all.<br>
<br>As a result, UDP packets can get dropped for being bad network citizens=
 and not slowing down in response to packet queueing and transmit pacing.=
=A0 UDP applications may think that they&#39;re free of the shackles of TCP=
 flow control, but they&#39;re not.=A0 They either slow down when given the=
 hint, or their traffic gets the chop.=A0 As a result, a UDP application th=
at is oblivious of end-to-end timing should expect packet loss when the net=
work acts to protect itself against congestion.=A0 See RFC-2309 for more de=
tails about this issue, in particular &quot;MANAGING AGGRESSIVE FLOWS&quot;=
.=A0 There is no free lunch for UDP packets.<br>
<br>This is why the best advice to give prospective users of UDP is &quot;<=
b>Don&#39;t, unless your application is tolerant of packet loss, packet dup=
lication, packet delay, corrupted packets, and out of order delivery.</b>&q=
uot;=A0 To try to work around these properties of UDP and make it reliable =
while simultaneously not impacting on the congestion controls of TCP over t=
he shared path is highly unlikely to be successful, unless you reimplement =
the clever control features of TCP, and do it compatibly.=A0 Bulldozing you=
r UDP packets through a shared network is not a solution, and will fail.<br=
>
<br><i>[PS. The problems don&#39;t even stop there, as there are further ca=
uses of UDP packet loss.=A0 One is the effect of TCP flow-control synchroni=
zation on UDP loss rate over congested paths, which counter-intuitively neg=
ates any benefit that could result from reducing UDP traffic rates because =
TCP synchronization picks up any bandwidth slack that reducing UDP traffic =
has freed.=A0 As a result, TCP congestion actually increases UDP packet dro=
p rates.=A0 (This has been a topic of research.)=A0 Networks protocols have=
 very complex behaviors.]</i><br>
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D<br><br><div class=3D"gmail_quote">On Mon, Dec 20, 2010 at 12:56 AM, Dah=
lia Trimble <span dir=3D"ltr">&lt;<a href=3D"mailto:dahliatrimble@gmail.com=
">dahliatrimble@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I have used both =
TCP and UDP in VW applications. I&#39;ve found that TCP has
 acceptable latency and is not really any worse than UDP when either are
 tried over a clean, highly functional connection. I&#39;ve not seen any ro=
uters which drop UDP packets in favor of TCP, and I&#39;ve not seen any evi=
dence of better quality TCP connections than UDP in any of my tests. To the=
 contrary, I&#39;ve seen UDP perform much better when network conditions ar=
e less than optimal as small messages can be sent immediately and repeated =
as needed without waiting for prior message acknowledgement or waiting for =
a TCP stream to recover in the event of dropped packets.<br>

<br>TCP seems to be favorable when latency is not critical as it&#39;s gene=
rally (but not always) easier to use. UDP seems favorable when latency is c=
ritical as it allows the programmer to control network traffic and tailor i=
t to the application requirements.<br>

<br>If anyone has any evidence of internet pathways that selectively favor =
TCP over other traffic, I&#39;d be interested in seeing it. <br><br><br><di=
v class=3D"gmail_quote"><div><div></div><div class=3D"h5">On Sun, Dec 19, 2=
010 at 3:26 PM, Meadhbh Hamrick <span dir=3D"ltr">&lt;<a href=3D"mailto:ohm=
eadhbh@gmail.com" target=3D"_blank">ohmeadhbh@gmail.com</a>&gt;</span> wrot=
e:<br>

</div></div><blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt =
0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>=
<div></div><div class=3D"h5"><p>do we really know that UDP is what we want,=
 even for low latency? if you&#39;re multiplexing messages over a websocket=
 connection, it&#39;s highly likely it&#39;ll be an existing connection (i.=
e.- it&#39;s likely one tcp/ip connection will carry several multiplexed we=
bsockets messages.)</p>



<p>in my tests, UDP doesn&#39;t do much better than TCP if you&#39;re near =
the network rate as it seems a lot of routers tend to dump UDP packets firs=
t.</p>
<p>most modern OSes now have api calls to let you disable TCP slow-start.</=
p>
<p>i guess what i&#39;m saying is it might be a good idea to define message=
s in a way so they&#39;re transport agnostic. that and I would wager that a=
ny latency improvements from UDP are dwarfed by latency introduced by appli=
cation layer mechanisms to replace TCP&#39;s flow control &amp; resend sema=
ntics.</p>



<p>just my $0.02.</p>
<div class=3D"gmail_quote">On Dec 19, 2010 2:34 PM, &quot;SM&quot; &lt;<a h=
ref=3D"mailto:sm@resistor.net" target=3D"_blank">sm@resistor.net</a>&gt; wr=
ote:<br type=3D"attribution"></div>
<br></div></div><div class=3D"im">_________________________________________=
______<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></div></blockquote></div><br>
<br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>

--0016363b92924bcae60497da3cb6--

From dahliatrimble@gmail.com  Mon Dec 20 09:56:21 2010
Return-Path: <dahliatrimble@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 05B0A3A6AA1 for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 09:56:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level: 
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
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 tpaSEz9GCaRV for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 09:56:18 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 146FC3A6A9D for <vwrap@ietf.org>; Mon, 20 Dec 2010 09:56:16 -0800 (PST)
Received: by wyf23 with SMTP id 23so3103517wyf.31 for <vwrap@ietf.org>; Mon, 20 Dec 2010 09:58:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=eB5QhVSxK1EcNpG3aM9a9yNvd9/tjlkAgOrwLjlV940=; b=Dac4EkWkTQ1p5+AWiBQk+toAfrBhfwzXcXFOKRyDDr626zEVy82AGrlYSe+5QAzEaU H3EmlfHBcWuPb5Yjum27pZyiI4jo25TVfqdY8KKl1haxbqYAtJDLUmZ60bYnFmqNwMBE TCxHTbLsysetp9FADv+eag0WQj1D73AeOpr64=
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=JAIRHyrzdjXPGM784M5NlSsx+bXZQBOGUSYlLSL53J1EOl94hnDOjqvZmuZ83wtqCS ywoWaMmdyT/X6UxIBpiGuSfcSHHCXfiCLy1SNfZ2I4aiTSaAf/DV06XRunBCq+VJoQuw TzGUtxDX9+h5uqJxdPQR5zeF+9lmziQvEbBEA=
MIME-Version: 1.0
Received: by 10.216.17.202 with SMTP id j52mr7910939wej.36.1292867889692; Mon, 20 Dec 2010 09:58:09 -0800 (PST)
Received: by 10.216.86.210 with HTTP; Mon, 20 Dec 2010 09:58:09 -0800 (PST)
In-Reply-To: <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com> <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com>
Date: Mon, 20 Dec 2010 09:58:09 -0800
Message-ID: <AANLkTim4zeG3rXViO83jJ2=BdaQy8waUP4voUk7kuG-J@mail.gmail.com>
From: Dahlia Trimble <dahliatrimble@gmail.com>
To: Morgaine <morgaine.dinova@googlemail.com>
Content-Type: multipart/alternative; boundary=0016e64c3cd44e7f2a0497db43f6
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 17:56:21 -0000

--0016e64c3cd44e7f2a0497db43f6
Content-Type: text/plain; charset=ISO-8859-1

Morgaine, thanks for providing some in-depth insight into this issue.

Often the arguments I hear against UDP are based around duplicating TCP
functionality at the application level. I do not believe this to be an
adequate design goal, and if the functionality that TCP provides is deemed
necessary then it would seem a poor choice to use any other protocol.

One problem I've found with TCP is that it's used as a delivery mechanism
for a serial stream of data. One end point effectively pushes data into a
serial queue and the other end pulls it off the queue. If there is
congestion, the queue cannot continue to deliver data to the application
until the missing pieces are resolved. Multiplexing several message streams
into one TCP stream will effectively shut down *all* streams while there are
any missing packets for which resends must be negotiated. The application
has no means of overriding this. Hence, in an implementation where
time-critical messages are sharing a serial message queue with other less
critical messages, they must wait their turn while all preceeding message
are successfully received by the other end point. UDP, by contrast, is not
subject to these effects as any message can be pushed out the interface at
any time regardless of what other queues may exist. Cleverly designed
protocols may use optimized acknowledgement schemes such as the "appended
ack" scheme in the LLUDP (Linden Lab UDP) protocol, or by more sophisticated
means if desired. Simply hammering out messages at full speed until the
application gets back the desired response would *not* be what I consider a
practical scheme, due to many of the reasons you described about "MANAGING
AGGRESSIVE FLOWS". It's also likely that under heavy network congestion
periods, a well-designed UDP based message protocol might actually reduce
traffic as some messages which lose their value as time passes will not need
to be resent in the case of packet loss, TCP streams however *must* resolve
all lost information to maintain a serial stream and application end points
cannot discard any messages once they have been placed into the stream.

I agree that poorly designed UDP base protocols are not desirable, but I
would rather not see UDP be regarded as a poor choice simply because poor
implementations exist. I'm sure I could find equally poor implementations
using TCP if I tried, but I would not want to see TCP be brushed off
either.  It would seem a useful design goal that a protocol could
selectively route messages thru the best available mechanisms at run time
for each message type. and fall back to less optimal choices if the best are
not available.


On Mon, Dec 20, 2010 at 8:44 AM, Morgaine <morgaine.dinova@googlemail.com>wrote:

> On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <dahliatrimble@gmail.com>wrote:
>
>>
>> If anyone has any evidence of internet pathways that selectively favor TCP
>> over other traffic, I'd be interested in seeing it.
>>
>
>
> I have first-hand knowledge of this.  I worked for several years at the
> Network Operations Centre of a top-tier ISP, and one of my duties was
> looking after service routers and firewalls.  Policy-based routing and
> firewall access lists are configured with rulesets which are processed
> sequentially and eat up router CPU, which is a finite resource.
>
> Under off-peak conditions, packet loss is quite rare in the absence of
> interface or line faults, and router CPUs are scaled to handle the expected
> load so packets are never dropped willfully.  When networks are congested
> however, which unfortunately is not uncommon during peak hours owing to the
> common practice of oversubscribing capacity (or poor scalability planning),
> CPU load often reaches critical levels, and routers are configured to
> prioritize certain payload types in favor of others when this happens.
>
> TCP always gets top priority because it carries HTTP which is most closely
> tied to business revenue.  In contrast, UDP (and also ICMP Echo) are
> normally configured right down the bottom end of the priority list, so under
> peak load when the CPU has to make a choice what to drop to stay within safe
> operating limits, UDP gets the chop first.  This was business as usual at
> the ISP, and that's how the network designers wanted the traffic priorities
> configured.  (I was merely implementing policy, not creating it.)
>
> Gaming fans sometimes complain that ISPs are reducing the quality of
> service of their UDP traffic, and in some sense it's true.  From my
> experience it's not done maliciously nor as an conscious policy of network
> non-neutrality, but simply as a means of protecting the more prized resource
> of TCP payloads when operating conditions mandate that something has to be
> thrown away.
>
> On the positive side, I've never known UDP packets (nor any other kind) to
> be dropped willfully for the above reason when all equipment is working
> within safe design limits and there is enough capacity to carry them.  If it
> happens off-peak then something is very wrong with network sizing, or the
> equipment is faulty.
>
> Unfortunately, that's not the end of the saga with UDP.  It's just the
> beginning, because there is another big reason for dropped packets, and this
> one occurs even when equipment is working within its designed operating
> limits:  traffic shaping.
>
> IP traffic shaping is performed by packet queuing as a first resort, to
> slow down traffic in the hope that the source notices and adapts.  If the
> packet rate doesn't slow down then the method of last resort is to drop
> excess packets when queue buffers hit their configured highwater marks.  TCP
> implements a lot of things to mitigate packet loss, such as slow start,
> exponential backoff and transmit pacing, with the purpose of adapting
> transmit rate to receipt rate across paths of limited bandwidth so that
> traffic-shaping routers don't enter their drop state.
>
> UDP has no such flow control, so the onus falls upon the UDP application
> endpoints to carry out adaptive flow control themselves.  The likelihood of
> this being done by UDP applications as effectively as it is done in today's
> finely honed TCP stacks is very low.  It may not even be done at all.
>
> As a result, UDP packets can get dropped for being bad network citizens and
> not slowing down in response to packet queueing and transmit pacing.  UDP
> applications may think that they're free of the shackles of TCP flow
> control, but they're not.  They either slow down when given the hint, or
> their traffic gets the chop.  As a result, a UDP application that is
> oblivious of end-to-end timing should expect packet loss when the network
> acts to protect itself against congestion.  See RFC-2309 for more details
> about this issue, in particular "MANAGING AGGRESSIVE FLOWS".  There is no
> free lunch for UDP packets.
>
> This is why the best advice to give prospective users of UDP is "*Don't,
> unless your application is tolerant of packet loss, packet duplication,
> packet delay, corrupted packets, and out of order delivery.*"  To try to
> work around these properties of UDP and make it reliable while
> simultaneously not impacting on the congestion controls of TCP over the
> shared path is highly unlikely to be successful, unless you reimplement the
> clever control features of TCP, and do it compatibly.  Bulldozing your UDP
> packets through a shared network is not a solution, and will fail.
>
> *[PS. The problems don't even stop there, as there are further causes of
> UDP packet loss.  One is the effect of TCP flow-control synchronization on
> UDP loss rate over congested paths, which counter-intuitively negates any
> benefit that could result from reducing UDP traffic rates because TCP
> synchronization picks up any bandwidth slack that reducing UDP traffic has
> freed.  As a result, TCP congestion actually increases UDP packet drop
> rates.  (This has been a topic of research.)  Networks protocols have very
> complex behaviors.]*
>
>
> Morgaine.
>
>
>
>
> ======================================
>
>
> On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <dahliatrimble@gmail.com>wrote:
>
>> I have used both TCP and UDP in VW applications. I've found that TCP has
>> acceptable latency and is not really any worse than UDP when either are
>> tried over a clean, highly functional connection. I've not seen any routers
>> which drop UDP packets in favor of TCP, and I've not seen any evidence of
>> better quality TCP connections than UDP in any of my tests. To the contrary,
>> I've seen UDP perform much better when network conditions are less than
>> optimal as small messages can be sent immediately and repeated as needed
>> without waiting for prior message acknowledgement or waiting for a TCP
>> stream to recover in the event of dropped packets.
>>
>> TCP seems to be favorable when latency is not critical as it's generally
>> (but not always) easier to use. UDP seems favorable when latency is critical
>> as it allows the programmer to control network traffic and tailor it to the
>> application requirements.
>>
>> If anyone has any evidence of internet pathways that selectively favor TCP
>> over other traffic, I'd be interested in seeing it.
>>
>>
>> On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com>wrote:
>>
>>> do we really know that UDP is what we want, even for low latency? if
>>> you're multiplexing messages over a websocket connection, it's highly likely
>>> it'll be an existing connection (i.e.- it's likely one tcp/ip connection
>>> will carry several multiplexed websockets messages.)
>>>
>>> in my tests, UDP doesn't do much better than TCP if you're near the
>>> network rate as it seems a lot of routers tend to dump UDP packets first.
>>>
>>> most modern OSes now have api calls to let you disable TCP slow-start.
>>>
>>> i guess what i'm saying is it might be a good idea to define messages in
>>> a way so they're transport agnostic. that and I would wager that any latency
>>> improvements from UDP are dwarfed by latency introduced by application layer
>>> mechanisms to replace TCP's flow control & resend semantics.
>>>
>>> just my $0.02.
>>> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
>>>
>>> _______________________________________________
>>> vwrap mailing list
>>> vwrap@ietf.org
>>> https://www.ietf.org/mailman/listinfo/vwrap
>>>
>>>
>>
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>>
>>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

--0016e64c3cd44e7f2a0497db43f6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Morgaine, thanks for providing some in-depth insight into this issue.<br><b=
r>Often the arguments I hear against UDP are based around duplicating TCP f=
unctionality at the application level. I do not believe this to be an adequ=
ate design goal, and if the functionality that TCP provides is deemed neces=
sary then it would seem a poor choice to use any other protocol. <br>
<br>One problem I&#39;ve found with TCP is that it&#39;s used as a delivery=
 mechanism for a serial stream of data. One end point effectively pushes da=
ta into a serial queue and the other end pulls it off the queue. If there i=
s congestion, the queue cannot continue to deliver data to the application =
until the missing pieces are resolved. Multiplexing several message streams=
 into one TCP stream will effectively shut down *all* streams while there a=
re any missing packets for which resends must be negotiated. The applicatio=
n has no means of overriding this. Hence, in an implementation where time-c=
ritical messages are sharing a serial message queue with other less critica=
l messages, they must wait their turn while all preceeding message are succ=
essfully received by the other end point. UDP, by contrast, is not subject =
to these effects as any message can be pushed out the interface at any time=
 regardless of what other queues may exist. Cleverly designed protocols may=
 use optimized acknowledgement schemes such as the &quot;appended ack&quot;=
 scheme in the LLUDP (Linden Lab UDP) protocol, or by more sophisticated me=
ans if desired. Simply hammering out messages at full speed until the appli=
cation gets back the desired response would *not* be what I consider a prac=
tical scheme, due to many of the reasons you described about &quot;MANAGING=
 AGGRESSIVE FLOWS&quot;. It&#39;s also likely that under heavy network cong=
estion periods, a well-designed UDP based message protocol might actually r=
educe traffic as some messages which lose their value as time passes will n=
ot need to be resent in the case of packet loss, TCP streams however *must*=
 resolve all lost information to maintain a serial stream and application e=
nd points cannot discard any messages once they have been placed into the s=
tream.<br>
<br>I agree that poorly designed UDP base protocols are not desirable, but =
I would rather not see UDP be regarded as a poor choice simply because poor=
 implementations exist. I&#39;m sure I could find equally poor implementati=
ons using TCP if I tried, but I would not want to see TCP be brushed off ei=
ther.=A0 It would seem a useful design goal that a protocol could selective=
ly route messages thru the best available mechanisms at run time for each m=
essage type. and fall back to less optimal choices if the best are not avai=
lable. <br>
<br><br><div class=3D"gmail_quote">On Mon, Dec 20, 2010 at 8:44 AM, Morgain=
e <span dir=3D"ltr">&lt;<a href=3D"mailto:morgaine.dinova@googlemail.com">m=
orgaine.dinova@googlemail.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex;">
<div class=3D"im">On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <span di=
r=3D"ltr">&lt;<a href=3D"mailto:dahliatrimble@gmail.com" target=3D"_blank">=
dahliatrimble@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 20=
4, 204);padding-left:1ex">

<br>If anyone has any evidence of internet pathways that selectively favor =
TCP over other traffic, I&#39;d be interested in seeing it. <br></blockquot=
e><br><br></div>I have first-hand knowledge of this.=A0 I worked for severa=
l years at the Network Operations Centre of a top-tier ISP, and one of my d=
uties was looking after service routers and firewalls.=A0 Policy-based rout=
ing and firewall access lists are configured with rulesets which are proces=
sed sequentially and eat up router CPU, which is a finite resource.<br>

<br>Under off-peak conditions, packet loss is quite rare in the absence of =
interface or line faults, and router CPUs are scaled to handle the expected=
 load so packets are never dropped willfully.=A0 When networks are congeste=
d however, which unfortunately is not uncommon during peak hours owing to t=
he common practice of oversubscribing capacity (or poor scalability plannin=
g), CPU load often reaches critical levels, and routers are configured to p=
rioritize certain payload types in favor of others when this happens.<br>

<br>TCP always gets top priority because it carries HTTP which is most clos=
ely tied to business revenue.=A0 In contrast, UDP (and also ICMP Echo) are =
normally configured right down the bottom end of the priority list, so unde=
r peak load when the CPU has to make a choice what to drop to stay within s=
afe operating limits, UDP gets the chop first.=A0 This was business as usua=
l at the ISP, and that&#39;s how the network designers wanted the traffic p=
riorities configured.=A0 (I was merely implementing policy, not creating it=
.)<br>

<br>Gaming fans sometimes complain that ISPs are reducing the quality of se=
rvice of their UDP traffic, and in some sense it&#39;s true.=A0 From my exp=
erience it&#39;s not done maliciously nor as an conscious policy of network=
 non-neutrality, but simply as a means of protecting the more prized resour=
ce of TCP payloads when operating conditions mandate that something has to =
be thrown away.<br>

<br>On the positive side, I&#39;ve never known UDP packets (nor any other k=
ind) to be dropped willfully for the above reason when all equipment is wor=
king within safe design limits and there is enough capacity to carry them.=
=A0 If it happens off-peak then something is very wrong with network sizing=
, or the equipment is faulty.<br>

<br>Unfortunately, that&#39;s not the end of the saga with UDP.=A0 It&#39;s=
 just the beginning, because there is another big reason for dropped packet=
s, and this one occurs even when equipment is working within its designed o=
perating limits:=A0 traffic shaping.<br>

<br>IP traffic shaping is performed by packet queuing as a first resort, to=
 slow down traffic in the hope that the source notices and adapts.=A0 If th=
e packet rate doesn&#39;t slow down then the method of last resort is to dr=
op excess packets when queue buffers hit their configured highwater marks.=
=A0 TCP implements a lot of things to mitigate packet loss, such as slow st=
art, exponential backoff and transmit pacing, with the purpose of adapting =
transmit rate to receipt rate across paths of limited bandwidth so that tra=
ffic-shaping routers don&#39;t enter their drop state.<br>

<br>UDP has no such flow control, so the onus falls upon the UDP applicatio=
n endpoints to carry out adaptive flow control themselves.=A0 The likelihoo=
d of this being done by UDP applications as effectively as it is done in to=
day&#39;s finely honed TCP stacks is very low.=A0 It may not even be done a=
t all.<br>

<br>As a result, UDP packets can get dropped for being bad network citizens=
 and not slowing down in response to packet queueing and transmit pacing.=
=A0 UDP applications may think that they&#39;re free of the shackles of TCP=
 flow control, but they&#39;re not.=A0 They either slow down when given the=
 hint, or their traffic gets the chop.=A0 As a result, a UDP application th=
at is oblivious of end-to-end timing should expect packet loss when the net=
work acts to protect itself against congestion.=A0 See RFC-2309 for more de=
tails about this issue, in particular &quot;MANAGING AGGRESSIVE FLOWS&quot;=
.=A0 There is no free lunch for UDP packets.<br>

<br>This is why the best advice to give prospective users of UDP is &quot;<=
b>Don&#39;t, unless your application is tolerant of packet loss, packet dup=
lication, packet delay, corrupted packets, and out of order delivery.</b>&q=
uot;=A0 To try to work around these properties of UDP and make it reliable =
while simultaneously not impacting on the congestion controls of TCP over t=
he shared path is highly unlikely to be successful, unless you reimplement =
the clever control features of TCP, and do it compatibly.=A0 Bulldozing you=
r UDP packets through a shared network is not a solution, and will fail.<br=
>

<br><i>[PS. The problems don&#39;t even stop there, as there are further ca=
uses of UDP packet loss.=A0 One is the effect of TCP flow-control synchroni=
zation on UDP loss rate over congested paths, which counter-intuitively neg=
ates any benefit that could result from reducing UDP traffic rates because =
TCP synchronization picks up any bandwidth slack that reducing UDP traffic =
has freed.=A0 As a result, TCP congestion actually increases UDP packet dro=
p rates.=A0 (This has been a topic of research.)=A0 Networks protocols have=
 very complex behaviors.]</i><br>
<font color=3D"#888888">
<br><br>Morgaine.<br><br><br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D</font><div><div></div><div class=3D"h5"><br><br><div class=3D"gmail_quo=
te">On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <span dir=3D"ltr">&lt;=
<a href=3D"mailto:dahliatrimble@gmail.com" target=3D"_blank">dahliatrimble@=
gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-=
left:1px solid rgb(204, 204, 204);padding-left:1ex">I have used both TCP an=
d UDP in VW applications. I&#39;ve found that TCP has
 acceptable latency and is not really any worse than UDP when either are
 tried over a clean, highly functional connection. I&#39;ve not seen any ro=
uters which drop UDP packets in favor of TCP, and I&#39;ve not seen any evi=
dence of better quality TCP connections than UDP in any of my tests. To the=
 contrary, I&#39;ve seen UDP perform much better when network conditions ar=
e less than optimal as small messages can be sent immediately and repeated =
as needed without waiting for prior message acknowledgement or waiting for =
a TCP stream to recover in the event of dropped packets.<br>


<br>TCP seems to be favorable when latency is not critical as it&#39;s gene=
rally (but not always) easier to use. UDP seems favorable when latency is c=
ritical as it allows the programmer to control network traffic and tailor i=
t to the application requirements.<br>


<br>If anyone has any evidence of internet pathways that selectively favor =
TCP over other traffic, I&#39;d be interested in seeing it. <br><br><br><di=
v class=3D"gmail_quote"><div><div></div><div>On Sun, Dec 19, 2010 at 3:26 P=
M, Meadhbh Hamrick <span dir=3D"ltr">&lt;<a href=3D"mailto:ohmeadhbh@gmail.=
com" target=3D"_blank">ohmeadhbh@gmail.com</a>&gt;</span> wrote:<br>


</div></div><blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0=
.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div><=
/div><div><p>do we really know that UDP is what we want, even for low laten=
cy? if you&#39;re multiplexing messages over a websocket connection, it&#39=
;s highly likely it&#39;ll be an existing connection (i.e.- it&#39;s likely=
 one tcp/ip connection will carry several multiplexed websockets messages.)=
</p>




<p>in my tests, UDP doesn&#39;t do much better than TCP if you&#39;re near =
the network rate as it seems a lot of routers tend to dump UDP packets firs=
t.</p>
<p>most modern OSes now have api calls to let you disable TCP slow-start.</=
p>
<p>i guess what i&#39;m saying is it might be a good idea to define message=
s in a way so they&#39;re transport agnostic. that and I would wager that a=
ny latency improvements from UDP are dwarfed by latency introduced by appli=
cation layer mechanisms to replace TCP&#39;s flow control &amp; resend sema=
ntics.</p>




<p>just my $0.02.</p>
<div class=3D"gmail_quote">On Dec 19, 2010 2:34 PM, &quot;SM&quot; &lt;<a h=
ref=3D"mailto:sm@resistor.net" target=3D"_blank">sm@resistor.net</a>&gt; wr=
ote:<br type=3D"attribution"></div>
<br></div></div><div>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></div></blockquote></div><br>
<br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>

--0016e64c3cd44e7f2a0497db43f6--

From dcolivares@gmail.com  Mon Dec 20 11:09:22 2010
Return-Path: <dcolivares@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 12C383A6A8F for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 11:09:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.196
X-Spam-Level: 
X-Spam-Status: No, score=-1.196 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_51=0.6, LONGWORDS=1.803, RCVD_IN_DNSWL_LOW=-1]
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 vFsycxKLV-z0 for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 11:09:20 -0800 (PST)
Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by core3.amsl.com (Postfix) with ESMTP id C0C3E3A6893 for <vwrap@ietf.org>; Mon, 20 Dec 2010 11:09:19 -0800 (PST)
Received: by ewy6 with SMTP id 6so1614642ewy.40 for <vwrap@ietf.org>; Mon, 20 Dec 2010 11:11:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jKMjgew2BW5/3RmBsDklvsJup10VCDHJOUPRdYTQmx8=; b=UC0IkaY5D1g0zHp+EY+wXdKnlvJDhb4X2qPBgy4O+yqKoZ5cw3k6/uF5+QZ7SX71K4 wi5OwuzxaFJMbzstTS2CeR4qhBo63Lw3GP1BK3++kNuhx1FGwmGjKVivlc420R1D4awa kGBfmc1f7a/VLcQjWUwjKXnBQMYvdPsLZHs7I=
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:content-transfer-encoding; b=BhMY1cyMRXOzzKm8DAk6ai3mfg8yi5EhPEtF7GZpG10wpNtOyVuzx7dZgRvyxfcbFC Llfqtx/A4VZBanSiyvj//Mlz5HMqaBAJ4npeo/KB3YTUZW7PEDsVe/rxD9ePwAG5AXAk AkSv1bIMkaosN6a/WtZTXOkRJ4vBnYdlSU9pg=
MIME-Version: 1.0
Received: by 10.213.28.133 with SMTP id m5mr5312704ebc.24.1292872273290; Mon, 20 Dec 2010 11:11:13 -0800 (PST)
Received: by 10.213.35.16 with HTTP; Mon, 20 Dec 2010 11:11:13 -0800 (PST)
In-Reply-To: <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com> <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com>
Date: Mon, 20 Dec 2010 14:11:13 -0500
Message-ID: <AANLkTinhzO0=hyxUy++g21uB00tkKqtbMuCEMP00nkki@mail.gmail.com>
From: Dan Olivares <dcolivares@gmail.com>
To: Morgaine <morgaine.dinova@googlemail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 19:09:22 -0000

I think, one thing that we've learned by exploring the leading virtual
world technologies that exist today is that TCP should be used for any
transmission that requires ordered and reliable delivery.   Doing so,
shares the 'flow control' load across the devices on the internet (for
free).

The user level UDP flow control may /seem/ negligible.  With a small
amount of users and high quality connections, it is negligible.
However, as the load increases and the quality of the network links
decreases, there's a considerable spike in CPU time required to
maintain reliable delivery.  Generally, with UDP, flow control, and
bad quality or overloaded connections, the load is felt on the CPU of
the server managing the flow control.   *The quality to CPU usage
curve is precipitous.*  As the quality of the connection decreases a
little, the CPU load increases a LOT.  At a certain point, the server
falls off of the edge of the cliff and can no longer keep up.  Sending
reliable data in any but the lowest quantity, is far worse for the
overall user experience over UDP then TCP as the load increases.
Network congestion, leading to single server CPU overload doesn't just
affect the experience of one user with a low quality connection.  It
affects the quality of the experience for every user connected.
With ISPs de-prioritizing UDP packets, using it for a large amount of
reliable communication isn't a good option.

UDP is of most benefit when there is a significant amount of
unreliable traffic that can be dropped if it comes in out of order.
Real time spacial information, for example, benefits from this
approach.

The flow control coupled with the quantity of traffic that results
from the server relaying reliable updates over UDP leaves less CPU
resources for other things on the server and is one of the reasons for
the 'SecondLife 100 user Limit'.    Intel reached 1000 users by
separating the client manager from the world space managing
server(simulator). (#0)   (There are other reasons for the 100 user
limit, but they're beyond the scope of this document)


TCP has guaranteed delivery of every packet.  In the content space,
TCP is the most effective delivery mechanism for everything except a
small subset of technologies.

That doesn't mean that we should throw UDP out.  TCP has it's own
problems.   With TCP, the load isn't felt on the CPU, it's felt in the
speed of delivery of the content.

As Dahlia said, every packet must arrive before the next one can begin
to be sent.  It isn't effective to send large quantities of quickly
expiring data over TCP.   With multiple types of data requiring
different speeds of delivery, it also isn't effective stuffing
everything into the same connection.

Browsers overcome this problem by making multiple temporary
connections downloading referenced resources immediately after
downloading a full 'index' (html) content page.

Some people might think that if browsers have overcome this problem
then it might just be better to use the same technology for virtual
worlds (HTTP).   There's still an issue with that reasoning.   The
issue is that HTTP was really designed to transmit files and not a
'data stream of multiple objects'.   There is overhead and there are
restrictions, designed with files in mind, built into HTTP that make
it, not quite a perfect fit.  You can overlay 'streaming compatible
files' on top of HTTP but it usually involves establishing several
connections over time for the same content element.

This is where web sockets find their sweet spot.   It's the middle
ground, getting the benefits of TCP while not encountering the
restrictions of HTTP.  You can create multiple TCP connections for
different types of data allowing you to get around the TCP queue bog.
  They still don't really solve the 'mass quantities of quickly
expiring data' problem though, so we still can't throw UDP out the
window.

In conclusion, at the moment, none of the existing underlying
protocols are optimal for the complex nature of the data of virtual
worlds.  However, with some ingenuity and 'out of the box' thinking,
we can utilize what's there to 'almost' get there.

We do need a few things:
1. Web Sockets standard in browsers (we can make due without UDP
support, but we really really want it)
2. Solid, and accepted standard for 3d rendering in the browser.
(Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed +
Closed source renderer?, Unity3d + Plugin distribution + closed source
renderer?)
3. Faster JavaScript (Each WebGL frame, fully processed with
JavaScript is a bit much when you consider the problem space of
thousands of user created objects being displayed)

Regards

Daniel Olivares

References:
(0) : http://nwn.blogs.com/nwn/2010/09/intel-science-sim.html



On Mon, Dec 20, 2010 at 11:44 AM, Morgaine
<morgaine.dinova@googlemail.com> wrote:
> On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <dahliatrimble@gmail.com=
>
> wrote:
>>
>> If anyone has any evidence of internet pathways that selectively favor T=
CP
>> over other traffic, I'd be interested in seeing it.
>
>
> I have first-hand knowledge of this.=A0 I worked for several years at the
> Network Operations Centre of a top-tier ISP, and one of my duties was
> looking after service routers and firewalls.=A0 Policy-based routing and
> firewall access lists are configured with rulesets which are processed
> sequentially and eat up router CPU, which is a finite resource.
>
> Under off-peak conditions, packet loss is quite rare in the absence of
> interface or line faults, and router CPUs are scaled to handle the expect=
ed
> load so packets are never dropped willfully.=A0 When networks are congest=
ed
> however, which unfortunately is not uncommon during peak hours owing to t=
he
> common practice of oversubscribing capacity (or poor scalability planning=
),
> CPU load often reaches critical levels, and routers are configured to
> prioritize certain payload types in favor of others when this happens.
>
> TCP always gets top priority because it carries HTTP which is most closel=
y
> tied to business revenue.=A0 In contrast, UDP (and also ICMP Echo) are
> normally configured right down the bottom end of the priority list, so un=
der
> peak load when the CPU has to make a choice what to drop to stay within s=
afe
> operating limits, UDP gets the chop first.=A0 This was business as usual =
at
> the ISP, and that's how the network designers wanted the traffic prioriti=
es
> configured.=A0 (I was merely implementing policy, not creating it.)
>
> Gaming fans sometimes complain that ISPs are reducing the quality of serv=
ice
> of their UDP traffic, and in some sense it's true.=A0 From my experience =
it's
> not done maliciously nor as an conscious policy of network non-neutrality=
,
> but simply as a means of protecting the more prized resource of TCP paylo=
ads
> when operating conditions mandate that something has to be thrown away.
>
> On the positive side, I've never known UDP packets (nor any other kind) t=
o
> be dropped willfully for the above reason when all equipment is working
> within safe design limits and there is enough capacity to carry them.=A0 =
If it
> happens off-peak then something is very wrong with network sizing, or the
> equipment is faulty.
>
> Unfortunately, that's not the end of the saga with UDP.=A0 It's just the
> beginning, because there is another big reason for dropped packets, and t=
his
> one occurs even when equipment is working within its designed operating
> limits:=A0 traffic shaping.
>
> IP traffic shaping is performed by packet queuing as a first resort, to s=
low
> down traffic in the hope that the source notices and adapts.=A0 If the pa=
cket
> rate doesn't slow down then the method of last resort is to drop excess
> packets when queue buffers hit their configured highwater marks.=A0 TCP
> implements a lot of things to mitigate packet loss, such as slow start,
> exponential backoff and transmit pacing, with the purpose of adapting
> transmit rate to receipt rate across paths of limited bandwidth so that
> traffic-shaping routers don't enter their drop state.
>
> UDP has no such flow control, so the onus falls upon the UDP application
> endpoints to carry out adaptive flow control themselves.=A0 The likelihoo=
d of
> this being done by UDP applications as effectively as it is done in today=
's
> finely honed TCP stacks is very low.=A0 It may not even be done at all.
>
> As a result, UDP packets can get dropped for being bad network citizens a=
nd
> not slowing down in response to packet queueing and transmit pacing.=A0 U=
DP
> applications may think that they're free of the shackles of TCP flow
> control, but they're not.=A0 They either slow down when given the hint, o=
r
> their traffic gets the chop.=A0 As a result, a UDP application that is
> oblivious of end-to-end timing should expect packet loss when the network
> acts to protect itself against congestion.=A0 See RFC-2309 for more detai=
ls
> about this issue, in particular "MANAGING AGGRESSIVE FLOWS".=A0 There is =
no
> free lunch for UDP packets.
>
> This is why the best advice to give prospective users of UDP is "Don't,
> unless your application is tolerant of packet loss, packet duplication,
> packet delay, corrupted packets, and out of order delivery."=A0 To try to=
 work
> around these properties of UDP and make it reliable while simultaneously =
not
> impacting on the congestion controls of TCP over the shared path is highl=
y
> unlikely to be successful, unless you reimplement the clever control
> features of TCP, and do it compatibly.=A0 Bulldozing your UDP packets thr=
ough
> a shared network is not a solution, and will fail.
>
> [PS. The problems don't even stop there, as there are further causes of U=
DP
> packet loss.=A0 One is the effect of TCP flow-control synchronization on =
UDP
> loss rate over congested paths, which counter-intuitively negates any
> benefit that could result from reducing UDP traffic rates because TCP
> synchronization picks up any bandwidth slack that reducing UDP traffic ha=
s
> freed.=A0 As a result, TCP congestion actually increases UDP packet drop
> rates.=A0 (This has been a topic of research.)=A0 Networks protocols have=
 very
> complex behaviors.]
>
>
> Morgaine.
>
>
>
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <dahliatrimble@gmail.com=
>
> wrote:
>>
>> I have used both TCP and UDP in VW applications. I've found that TCP has
>> acceptable latency and is not really any worse than UDP when either are
>> tried over a clean, highly functional connection. I've not seen any rout=
ers
>> which drop UDP packets in favor of TCP, and I've not seen any evidence o=
f
>> better quality TCP connections than UDP in any of my tests. To the contr=
ary,
>> I've seen UDP perform much better when network conditions are less than
>> optimal as small messages can be sent immediately and repeated as needed
>> without waiting for prior message acknowledgement or waiting for a TCP
>> stream to recover in the event of dropped packets.
>>
>> TCP seems to be favorable when latency is not critical as it's generally
>> (but not always) easier to use. UDP seems favorable when latency is crit=
ical
>> as it allows the programmer to control network traffic and tailor it to =
the
>> application requirements.
>>
>> If anyone has any evidence of internet pathways that selectively favor T=
CP
>> over other traffic, I'd be interested in seeing it.
>>
>>
>> On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com>
>> wrote:
>>>
>>> do we really know that UDP is what we want, even for low latency? if
>>> you're multiplexing messages over a websocket connection, it's highly l=
ikely
>>> it'll be an existing connection (i.e.- it's likely one tcp/ip connectio=
n
>>> will carry several multiplexed websockets messages.)
>>>
>>> in my tests, UDP doesn't do much better than TCP if you're near the
>>> network rate as it seems a lot of routers tend to dump UDP packets firs=
t.
>>>
>>> most modern OSes now have api calls to let you disable TCP slow-start.
>>>
>>> i guess what i'm saying is it might be a good idea to define messages i=
n
>>> a way so they're transport agnostic. that and I would wager that any la=
tency
>>> improvements from UDP are dwarfed by latency introduced by application =
layer
>>> mechanisms to replace TCP's flow control & resend semantics.
>>>
>>> just my $0.02.
>>>
>>> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
>>>
>>> _______________________________________________
>>> vwrap mailing list
>>> vwrap@ietf.org
>>> https://www.ietf.org/mailman/listinfo/vwrap
>>>
>>
>>
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>>
>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

From dahliatrimble@gmail.com  Mon Dec 20 11:36:00 2010
Return-Path: <dahliatrimble@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 1DF443A68A6 for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 11:36:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.397
X-Spam-Level: 
X-Spam-Status: No, score=-2.397 tagged_above=-999 required=5 tests=[AWL=-1.202, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_51=0.6, LONGWORDS=1.803, RCVD_IN_DNSWL_LOW=-1]
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 q4Yi8LbVK9Nb for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 11:35:57 -0800 (PST)
Received: from mail-wy0-f194.google.com (mail-wy0-f194.google.com [74.125.82.194]) by core3.amsl.com (Postfix) with ESMTP id AE8023A6A63 for <vwrap@ietf.org>; Mon, 20 Dec 2010 11:35:56 -0800 (PST)
Received: by wyf23 with SMTP id 23so1141559wyf.1 for <vwrap@ietf.org>; Mon, 20 Dec 2010 11:37:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=83DAA4MNhdR88XiEw9JHDEeOce0ahlEY2ZjmJ3L72CE=; b=W66AP/hlt1vJkPcApiZsiyrhqj4mmCSPoU3kPVOTZKM0KqWQuJ6kw5WnzYnrHWmGxd 85qu4+oUPzW3Ti2e0rxWIAuEsIEN9N0NC9dXXnsYkFjLHnMoFoQZhYmlAMYXmS9xmDwn 7mmVdLEj/TabLSTIRdEF9f8tlpVDUTjyyyj84=
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=Tcussvn2ax05uiuVm3Xt11Yh7fcoI4AJSY2mbd3WaTLxx8QsCN11FGkDHaWYUeuvaW lea2aaCYvh9zUAPdkpuKwcZqvXdatZoF92FQVDEHeqzMQWdiloV2OvRGhUH87LkG2I3R 3n53jWZrMek2u2EaOMQm/bSwbejnpG8MYSH1Q=
MIME-Version: 1.0
Received: by 10.216.170.213 with SMTP id p63mr8012708wel.6.1292873870376; Mon, 20 Dec 2010 11:37:50 -0800 (PST)
Received: by 10.216.86.210 with HTTP; Mon, 20 Dec 2010 11:37:50 -0800 (PST)
In-Reply-To: <AANLkTinhzO0=hyxUy++g21uB00tkKqtbMuCEMP00nkki@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com> <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com> <AANLkTinhzO0=hyxUy++g21uB00tkKqtbMuCEMP00nkki@mail.gmail.com>
Date: Mon, 20 Dec 2010 11:37:50 -0800
Message-ID: <AANLkTinH+Ym6oQyKRAfsRiQ_LFjWLUFxtYjGQ0WNaDxf@mail.gmail.com>
From: Dahlia Trimble <dahliatrimble@gmail.com>
To: Dan Olivares <dcolivares@gmail.com>
Content-Type: multipart/alternative; boundary=0016363ba666c87eab0497dca71d
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 19:36:00 -0000

--0016363ba666c87eab0497dca71d
Content-Type: text/plain; charset=ISO-8859-1

I believe part of the problem Dan refers to with CPU load is with the
implementation of LLUDP in OpenSimulator ( http://opensimulator.org ). In
this implementation, the scenegraph simulation server communicates with
multiple clients and much (most?) information is transmitted via UDP,
including many assets which could be retrieved from other sources and using
other protocols. In this case the choice of UDP for *all* communications may
have been a poor one, at least from a scalability perspective. Linden Lab
has recently moved some server<->client information transfer to other
processes outside the main simulation server, and via HTTP protocol. I
suspect as the benefits of this are realized there may be more non-realtime
messaging moving out of Linden's simulator process, and the OpenSimulator
implementation of this protocol will follow.

On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivares <dcolivares@gmail.com> wrote:

> I think, one thing that we've learned by exploring the leading virtual
> world technologies that exist today is that TCP should be used for any
> transmission that requires ordered and reliable delivery.   Doing so,
> shares the 'flow control' load across the devices on the internet (for
> free).
>
> The user level UDP flow control may /seem/ negligible.  With a small
> amount of users and high quality connections, it is negligible.
> However, as the load increases and the quality of the network links
> decreases, there's a considerable spike in CPU time required to
> maintain reliable delivery.  Generally, with UDP, flow control, and
> bad quality or overloaded connections, the load is felt on the CPU of
> the server managing the flow control.   *The quality to CPU usage
> curve is precipitous.*  As the quality of the connection decreases a
> little, the CPU load increases a LOT.  At a certain point, the server
> falls off of the edge of the cliff and can no longer keep up.  Sending
> reliable data in any but the lowest quantity, is far worse for the
> overall user experience over UDP then TCP as the load increases.
> Network congestion, leading to single server CPU overload doesn't just
> affect the experience of one user with a low quality connection.  It
> affects the quality of the experience for every user connected.
> With ISPs de-prioritizing UDP packets, using it for a large amount of
> reliable communication isn't a good option.
>
> UDP is of most benefit when there is a significant amount of
> unreliable traffic that can be dropped if it comes in out of order.
> Real time spacial information, for example, benefits from this
> approach.
>
> The flow control coupled with the quantity of traffic that results
> from the server relaying reliable updates over UDP leaves less CPU
> resources for other things on the server and is one of the reasons for
> the 'SecondLife 100 user Limit'.    Intel reached 1000 users by
> separating the client manager from the world space managing
> server(simulator). (#0)   (There are other reasons for the 100 user
> limit, but they're beyond the scope of this document)
>
>
> TCP has guaranteed delivery of every packet.  In the content space,
> TCP is the most effective delivery mechanism for everything except a
> small subset of technologies.
>
> That doesn't mean that we should throw UDP out.  TCP has it's own
> problems.   With TCP, the load isn't felt on the CPU, it's felt in the
> speed of delivery of the content.
>
> As Dahlia said, every packet must arrive before the next one can begin
> to be sent.  It isn't effective to send large quantities of quickly
> expiring data over TCP.   With multiple types of data requiring
> different speeds of delivery, it also isn't effective stuffing
> everything into the same connection.
>
> Browsers overcome this problem by making multiple temporary
> connections downloading referenced resources immediately after
> downloading a full 'index' (html) content page.
>
> Some people might think that if browsers have overcome this problem
> then it might just be better to use the same technology for virtual
> worlds (HTTP).   There's still an issue with that reasoning.   The
> issue is that HTTP was really designed to transmit files and not a
> 'data stream of multiple objects'.   There is overhead and there are
> restrictions, designed with files in mind, built into HTTP that make
> it, not quite a perfect fit.  You can overlay 'streaming compatible
> files' on top of HTTP but it usually involves establishing several
> connections over time for the same content element.
>
> This is where web sockets find their sweet spot.   It's the middle
> ground, getting the benefits of TCP while not encountering the
> restrictions of HTTP.  You can create multiple TCP connections for
> different types of data allowing you to get around the TCP queue bog.
>  They still don't really solve the 'mass quantities of quickly
> expiring data' problem though, so we still can't throw UDP out the
> window.
>
> In conclusion, at the moment, none of the existing underlying
> protocols are optimal for the complex nature of the data of virtual
> worlds.  However, with some ingenuity and 'out of the box' thinking,
> we can utilize what's there to 'almost' get there.
>
> We do need a few things:
> 1. Web Sockets standard in browsers (we can make due without UDP
> support, but we really really want it)
> 2. Solid, and accepted standard for 3d rendering in the browser.
> (Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed +
> Closed source renderer?, Unity3d + Plugin distribution + closed source
> renderer?)
> 3. Faster JavaScript (Each WebGL frame, fully processed with
> JavaScript is a bit much when you consider the problem space of
> thousands of user created objects being displayed)
>
> Regards
>
> Daniel Olivares
>
> References:
> (0) : http://nwn.blogs.com/nwn/2010/09/intel-science-sim.html
>
>
>
> On Mon, Dec 20, 2010 at 11:44 AM, Morgaine
> <morgaine.dinova@googlemail.com> wrote:
> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <
> dahliatrimble@gmail.com>
> > wrote:
> >>
> >> If anyone has any evidence of internet pathways that selectively favor
> TCP
> >> over other traffic, I'd be interested in seeing it.
> >
> >
> > I have first-hand knowledge of this.  I worked for several years at the
> > Network Operations Centre of a top-tier ISP, and one of my duties was
> > looking after service routers and firewalls.  Policy-based routing and
> > firewall access lists are configured with rulesets which are processed
> > sequentially and eat up router CPU, which is a finite resource.
> >
> > Under off-peak conditions, packet loss is quite rare in the absence of
> > interface or line faults, and router CPUs are scaled to handle the
> expected
> > load so packets are never dropped willfully.  When networks are congested
> > however, which unfortunately is not uncommon during peak hours owing to
> the
> > common practice of oversubscribing capacity (or poor scalability
> planning),
> > CPU load often reaches critical levels, and routers are configured to
> > prioritize certain payload types in favor of others when this happens.
> >
> > TCP always gets top priority because it carries HTTP which is most
> closely
> > tied to business revenue.  In contrast, UDP (and also ICMP Echo) are
> > normally configured right down the bottom end of the priority list, so
> under
> > peak load when the CPU has to make a choice what to drop to stay within
> safe
> > operating limits, UDP gets the chop first.  This was business as usual at
> > the ISP, and that's how the network designers wanted the traffic
> priorities
> > configured.  (I was merely implementing policy, not creating it.)
> >
> > Gaming fans sometimes complain that ISPs are reducing the quality of
> service
> > of their UDP traffic, and in some sense it's true.  From my experience
> it's
> > not done maliciously nor as an conscious policy of network
> non-neutrality,
> > but simply as a means of protecting the more prized resource of TCP
> payloads
> > when operating conditions mandate that something has to be thrown away.
> >
> > On the positive side, I've never known UDP packets (nor any other kind)
> to
> > be dropped willfully for the above reason when all equipment is working
> > within safe design limits and there is enough capacity to carry them.  If
> it
> > happens off-peak then something is very wrong with network sizing, or the
> > equipment is faulty.
> >
> > Unfortunately, that's not the end of the saga with UDP.  It's just the
> > beginning, because there is another big reason for dropped packets, and
> this
> > one occurs even when equipment is working within its designed operating
> > limits:  traffic shaping.
> >
> > IP traffic shaping is performed by packet queuing as a first resort, to
> slow
> > down traffic in the hope that the source notices and adapts.  If the
> packet
> > rate doesn't slow down then the method of last resort is to drop excess
> > packets when queue buffers hit their configured highwater marks.  TCP
> > implements a lot of things to mitigate packet loss, such as slow start,
> > exponential backoff and transmit pacing, with the purpose of adapting
> > transmit rate to receipt rate across paths of limited bandwidth so that
> > traffic-shaping routers don't enter their drop state.
> >
> > UDP has no such flow control, so the onus falls upon the UDP application
> > endpoints to carry out adaptive flow control themselves.  The likelihood
> of
> > this being done by UDP applications as effectively as it is done in
> today's
> > finely honed TCP stacks is very low.  It may not even be done at all.
> >
> > As a result, UDP packets can get dropped for being bad network citizens
> and
> > not slowing down in response to packet queueing and transmit pacing.  UDP
> > applications may think that they're free of the shackles of TCP flow
> > control, but they're not.  They either slow down when given the hint, or
> > their traffic gets the chop.  As a result, a UDP application that is
> > oblivious of end-to-end timing should expect packet loss when the network
> > acts to protect itself against congestion.  See RFC-2309 for more details
> > about this issue, in particular "MANAGING AGGRESSIVE FLOWS".  There is no
> > free lunch for UDP packets.
> >
> > This is why the best advice to give prospective users of UDP is "Don't,
> > unless your application is tolerant of packet loss, packet duplication,
> > packet delay, corrupted packets, and out of order delivery."  To try to
> work
> > around these properties of UDP and make it reliable while simultaneously
> not
> > impacting on the congestion controls of TCP over the shared path is
> highly
> > unlikely to be successful, unless you reimplement the clever control
> > features of TCP, and do it compatibly.  Bulldozing your UDP packets
> through
> > a shared network is not a solution, and will fail.
> >
> > [PS. The problems don't even stop there, as there are further causes of
> UDP
> > packet loss.  One is the effect of TCP flow-control synchronization on
> UDP
> > loss rate over congested paths, which counter-intuitively negates any
> > benefit that could result from reducing UDP traffic rates because TCP
> > synchronization picks up any bandwidth slack that reducing UDP traffic
> has
> > freed.  As a result, TCP congestion actually increases UDP packet drop
> > rates.  (This has been a topic of research.)  Networks protocols have
> very
> > complex behaviors.]
> >
> >
> > Morgaine.
> >
> >
> >
> >
> > ======================================
> >
> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble <
> dahliatrimble@gmail.com>
> > wrote:
> >>
> >> I have used both TCP and UDP in VW applications. I've found that TCP has
> >> acceptable latency and is not really any worse than UDP when either are
> >> tried over a clean, highly functional connection. I've not seen any
> routers
> >> which drop UDP packets in favor of TCP, and I've not seen any evidence
> of
> >> better quality TCP connections than UDP in any of my tests. To the
> contrary,
> >> I've seen UDP perform much better when network conditions are less than
> >> optimal as small messages can be sent immediately and repeated as needed
> >> without waiting for prior message acknowledgement or waiting for a TCP
> >> stream to recover in the event of dropped packets.
> >>
> >> TCP seems to be favorable when latency is not critical as it's generally
> >> (but not always) easier to use. UDP seems favorable when latency is
> critical
> >> as it allows the programmer to control network traffic and tailor it to
> the
> >> application requirements.
> >>
> >> If anyone has any evidence of internet pathways that selectively favor
> TCP
> >> over other traffic, I'd be interested in seeing it.
> >>
> >>
> >> On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com>
> >> wrote:
> >>>
> >>> do we really know that UDP is what we want, even for low latency? if
> >>> you're multiplexing messages over a websocket connection, it's highly
> likely
> >>> it'll be an existing connection (i.e.- it's likely one tcp/ip
> connection
> >>> will carry several multiplexed websockets messages.)
> >>>
> >>> in my tests, UDP doesn't do much better than TCP if you're near the
> >>> network rate as it seems a lot of routers tend to dump UDP packets
> first.
> >>>
> >>> most modern OSes now have api calls to let you disable TCP slow-start.
> >>>
> >>> i guess what i'm saying is it might be a good idea to define messages
> in
> >>> a way so they're transport agnostic. that and I would wager that any
> latency
> >>> improvements from UDP are dwarfed by latency introduced by application
> layer
> >>> mechanisms to replace TCP's flow control & resend semantics.
> >>>
> >>> just my $0.02.
> >>>
> >>> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
> >>>
> >>> _______________________________________________
> >>> vwrap mailing list
> >>> vwrap@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/vwrap
> >>>
> >>
> >>
> >> _______________________________________________
> >> vwrap mailing list
> >> vwrap@ietf.org
> >> https://www.ietf.org/mailman/listinfo/vwrap
> >>
> >
> >
> > _______________________________________________
> > vwrap mailing list
> > vwrap@ietf.org
> > https://www.ietf.org/mailman/listinfo/vwrap
> >
> >
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>

--0016363ba666c87eab0497dca71d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I believe part of the problem Dan refers to with CPU load is with the imple=
mentation of LLUDP in OpenSimulator ( <a href=3D"http://opensimulator.org">=
http://opensimulator.org</a> ). In this implementation, the scenegraph simu=
lation server communicates with multiple clients and much (most?) informati=
on is transmitted via UDP, including many assets which could be retrieved f=
rom other sources and using other protocols. In this case the choice of UDP=
 for *all* communications may have been a poor one, at least from a scalabi=
lity perspective. Linden Lab has recently moved some server&lt;-&gt;client =
information transfer to other processes outside the main simulation server,=
 and via HTTP protocol. I suspect as the benefits of this are realized ther=
e may be more non-realtime messaging moving out of Linden&#39;s simulator p=
rocess, and the OpenSimulator implementation of this protocol will follow.<=
br>
<br><div class=3D"gmail_quote">On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivar=
es <span dir=3D"ltr">&lt;<a href=3D"mailto:dcolivares@gmail.com">dcolivares=
@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I think, one thing that we&#39;ve learned by exploring the leading virtual<=
br>
world technologies that exist today is that TCP should be used for any<br>
transmission that requires ordered and reliable delivery. =A0 Doing so,<br>
shares the &#39;flow control&#39; load across the devices on the internet (=
for<br>
free).<br>
<br>
The user level UDP flow control may /seem/ negligible. =A0With a small<br>
amount of users and high quality connections, it is negligible.<br>
However, as the load increases and the quality of the network links<br>
decreases, there&#39;s a considerable spike in CPU time required to<br>
maintain reliable delivery. =A0Generally, with UDP, flow control, and<br>
bad quality or overloaded connections, the load is felt on the CPU of<br>
the server managing the flow control. =A0 *The quality to CPU usage<br>
curve is precipitous.* =A0As the quality of the connection decreases a<br>
little, the CPU load increases a LOT. =A0At a certain point, the server<br>
falls off of the edge of the cliff and can no longer keep up. =A0Sending<br=
>
reliable data in any but the lowest quantity, is far worse for the<br>
overall user experience over UDP then TCP as the load increases.<br>
Network congestion, leading to single server CPU overload doesn&#39;t just<=
br>
affect the experience of one user with a low quality connection. =A0It<br>
affects the quality of the experience for every user connected.<br>
With ISPs de-prioritizing UDP packets, using it for a large amount of<br>
reliable communication isn&#39;t a good option.<br>
<br>
UDP is of most benefit when there is a significant amount of<br>
unreliable traffic that can be dropped if it comes in out of order.<br>
Real time spacial information, for example, benefits from this<br>
approach.<br>
<br>
The flow control coupled with the quantity of traffic that results<br>
from the server relaying reliable updates over UDP leaves less CPU<br>
resources for other things on the server and is one of the reasons for<br>
the &#39;SecondLife 100 user Limit&#39;. =A0 =A0Intel reached 1000 users by=
<br>
separating the client manager from the world space managing<br>
server(simulator). (#0) =A0 (There are other reasons for the 100 user<br>
limit, but they&#39;re beyond the scope of this document)<br>
<br>
<br>
TCP has guaranteed delivery of every packet. =A0In the content space,<br>
TCP is the most effective delivery mechanism for everything except a<br>
small subset of technologies.<br>
<br>
That doesn&#39;t mean that we should throw UDP out. =A0TCP has it&#39;s own=
<br>
problems. =A0 With TCP, the load isn&#39;t felt on the CPU, it&#39;s felt i=
n the<br>
speed of delivery of the content.<br>
<br>
As Dahlia said, every packet must arrive before the next one can begin<br>
to be sent. =A0It isn&#39;t effective to send large quantities of quickly<b=
r>
expiring data over TCP. =A0 With multiple types of data requiring<br>
different speeds of delivery, it also isn&#39;t effective stuffing<br>
everything into the same connection.<br>
<br>
Browsers overcome this problem by making multiple temporary<br>
connections downloading referenced resources immediately after<br>
downloading a full &#39;index&#39; (html) content page.<br>
<br>
Some people might think that if browsers have overcome this problem<br>
then it might just be better to use the same technology for virtual<br>
worlds (HTTP). =A0 There&#39;s still an issue with that reasoning. =A0 The<=
br>
issue is that HTTP was really designed to transmit files and not a<br>
&#39;data stream of multiple objects&#39;. =A0 There is overhead and there =
are<br>
restrictions, designed with files in mind, built into HTTP that make<br>
it, not quite a perfect fit. =A0You can overlay &#39;streaming compatible<b=
r>
files&#39; on top of HTTP but it usually involves establishing several<br>
connections over time for the same content element.<br>
<br>
This is where web sockets find their sweet spot. =A0 It&#39;s the middle<br=
>
ground, getting the benefits of TCP while not encountering the<br>
restrictions of HTTP. =A0You can create multiple TCP connections for<br>
different types of data allowing you to get around the TCP queue bog.<br>
 =A0They still don&#39;t really solve the &#39;mass quantities of quickly<b=
r>
expiring data&#39; problem though, so we still can&#39;t throw UDP out the<=
br>
window.<br>
<br>
In conclusion, at the moment, none of the existing underlying<br>
protocols are optimal for the complex nature of the data of virtual<br>
worlds. =A0However, with some ingenuity and &#39;out of the box&#39; thinki=
ng,<br>
we can utilize what&#39;s there to &#39;almost&#39; get there.<br>
<br>
We do need a few things:<br>
1. Web Sockets standard in browsers (we can make due without UDP<br>
support, but we really really want it)<br>
2. Solid, and accepted standard for 3d rendering in the browser.<br>
(Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed +<br>
Closed source renderer?, Unity3d + Plugin distribution + closed source<br>
renderer?)<br>
3. Faster JavaScript (Each WebGL frame, fully processed with<br>
JavaScript is a bit much when you consider the problem space of<br>
thousands of user created objects being displayed)<br>
<br>
Regards<br>
<br>
Daniel Olivares<br>
<br>
References:<br>
(0) : <a href=3D"http://nwn.blogs.com/nwn/2010/09/intel-science-sim.html" t=
arget=3D"_blank">http://nwn.blogs.com/nwn/2010/09/intel-science-sim.html</a=
><br>
<br>
<br>
<br>
On Mon, Dec 20, 2010 at 11:44 AM, Morgaine<br>
<div class=3D"im">&lt;<a href=3D"mailto:morgaine.dinova@googlemail.com">mor=
gaine.dinova@googlemail.com</a>&gt; wrote:<br>
</div><div><div></div><div class=3D"h5">&gt; On Mon, Dec 20, 2010 at 12:56 =
AM, Dahlia Trimble &lt;<a href=3D"mailto:dahliatrimble@gmail.com">dahliatri=
mble@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; If anyone has any evidence of internet pathways that selectively f=
avor TCP<br>
&gt;&gt; over other traffic, I&#39;d be interested in seeing it.<br>
&gt;<br>
&gt;<br>
&gt; I have first-hand knowledge of this.=A0 I worked for several years at =
the<br>
&gt; Network Operations Centre of a top-tier ISP, and one of my duties was<=
br>
&gt; looking after service routers and firewalls.=A0 Policy-based routing a=
nd<br>
&gt; firewall access lists are configured with rulesets which are processed=
<br>
&gt; sequentially and eat up router CPU, which is a finite resource.<br>
&gt;<br>
&gt; Under off-peak conditions, packet loss is quite rare in the absence of=
<br>
&gt; interface or line faults, and router CPUs are scaled to handle the exp=
ected<br>
&gt; load so packets are never dropped willfully.=A0 When networks are cong=
ested<br>
&gt; however, which unfortunately is not uncommon during peak hours owing t=
o the<br>
&gt; common practice of oversubscribing capacity (or poor scalability plann=
ing),<br>
&gt; CPU load often reaches critical levels, and routers are configured to<=
br>
&gt; prioritize certain payload types in favor of others when this happens.=
<br>
&gt;<br>
&gt; TCP always gets top priority because it carries HTTP which is most clo=
sely<br>
&gt; tied to business revenue.=A0 In contrast, UDP (and also ICMP Echo) are=
<br>
&gt; normally configured right down the bottom end of the priority list, so=
 under<br>
&gt; peak load when the CPU has to make a choice what to drop to stay withi=
n safe<br>
&gt; operating limits, UDP gets the chop first.=A0 This was business as usu=
al at<br>
&gt; the ISP, and that&#39;s how the network designers wanted the traffic p=
riorities<br>
&gt; configured.=A0 (I was merely implementing policy, not creating it.)<br=
>
&gt;<br>
&gt; Gaming fans sometimes complain that ISPs are reducing the quality of s=
ervice<br>
&gt; of their UDP traffic, and in some sense it&#39;s true.=A0 From my expe=
rience it&#39;s<br>
&gt; not done maliciously nor as an conscious policy of network non-neutral=
ity,<br>
&gt; but simply as a means of protecting the more prized resource of TCP pa=
yloads<br>
&gt; when operating conditions mandate that something has to be thrown away=
.<br>
&gt;<br>
&gt; On the positive side, I&#39;ve never known UDP packets (nor any other =
kind) to<br>
&gt; be dropped willfully for the above reason when all equipment is workin=
g<br>
&gt; within safe design limits and there is enough capacity to carry them.=
=A0 If it<br>
&gt; happens off-peak then something is very wrong with network sizing, or =
the<br>
&gt; equipment is faulty.<br>
&gt;<br>
&gt; Unfortunately, that&#39;s not the end of the saga with UDP.=A0 It&#39;=
s just the<br>
&gt; beginning, because there is another big reason for dropped packets, an=
d this<br>
&gt; one occurs even when equipment is working within its designed operatin=
g<br>
&gt; limits:=A0 traffic shaping.<br>
&gt;<br>
&gt; IP traffic shaping is performed by packet queuing as a first resort, t=
o slow<br>
&gt; down traffic in the hope that the source notices and adapts.=A0 If the=
 packet<br>
&gt; rate doesn&#39;t slow down then the method of last resort is to drop e=
xcess<br>
&gt; packets when queue buffers hit their configured highwater marks.=A0 TC=
P<br>
&gt; implements a lot of things to mitigate packet loss, such as slow start=
,<br>
&gt; exponential backoff and transmit pacing, with the purpose of adapting<=
br>
&gt; transmit rate to receipt rate across paths of limited bandwidth so tha=
t<br>
&gt; traffic-shaping routers don&#39;t enter their drop state.<br>
&gt;<br>
&gt; UDP has no such flow control, so the onus falls upon the UDP applicati=
on<br>
&gt; endpoints to carry out adaptive flow control themselves.=A0 The likeli=
hood of<br>
&gt; this being done by UDP applications as effectively as it is done in to=
day&#39;s<br>
&gt; finely honed TCP stacks is very low.=A0 It may not even be done at all=
.<br>
&gt;<br>
&gt; As a result, UDP packets can get dropped for being bad network citizen=
s and<br>
&gt; not slowing down in response to packet queueing and transmit pacing.=
=A0 UDP<br>
&gt; applications may think that they&#39;re free of the shackles of TCP fl=
ow<br>
&gt; control, but they&#39;re not.=A0 They either slow down when given the =
hint, or<br>
&gt; their traffic gets the chop.=A0 As a result, a UDP application that is=
<br>
&gt; oblivious of end-to-end timing should expect packet loss when the netw=
ork<br>
&gt; acts to protect itself against congestion.=A0 See RFC-2309 for more de=
tails<br>
&gt; about this issue, in particular &quot;MANAGING AGGRESSIVE FLOWS&quot;.=
=A0 There is no<br>
&gt; free lunch for UDP packets.<br>
&gt;<br>
&gt; This is why the best advice to give prospective users of UDP is &quot;=
Don&#39;t,<br>
&gt; unless your application is tolerant of packet loss, packet duplication=
,<br>
&gt; packet delay, corrupted packets, and out of order delivery.&quot;=A0 T=
o try to work<br>
&gt; around these properties of UDP and make it reliable while simultaneous=
ly not<br>
&gt; impacting on the congestion controls of TCP over the shared path is hi=
ghly<br>
&gt; unlikely to be successful, unless you reimplement the clever control<b=
r>
&gt; features of TCP, and do it compatibly.=A0 Bulldozing your UDP packets =
through<br>
&gt; a shared network is not a solution, and will fail.<br>
&gt;<br>
&gt; [PS. The problems don&#39;t even stop there, as there are further caus=
es of UDP<br>
&gt; packet loss.=A0 One is the effect of TCP flow-control synchronization =
on UDP<br>
&gt; loss rate over congested paths, which counter-intuitively negates any<=
br>
&gt; benefit that could result from reducing UDP traffic rates because TCP<=
br>
&gt; synchronization picks up any bandwidth slack that reducing UDP traffic=
 has<br>
&gt; freed.=A0 As a result, TCP congestion actually increases UDP packet dr=
op<br>
&gt; rates.=A0 (This has been a topic of research.)=A0 Networks protocols h=
ave very<br>
&gt; complex behaviors.]<br>
&gt;<br>
&gt;<br>
&gt; Morgaine.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt;<br>
&gt; On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble &lt;<a href=3D"mailto=
:dahliatrimble@gmail.com">dahliatrimble@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I have used both TCP and UDP in VW applications. I&#39;ve found th=
at TCP has<br>
&gt;&gt; acceptable latency and is not really any worse than UDP when eithe=
r are<br>
&gt;&gt; tried over a clean, highly functional connection. I&#39;ve not see=
n any routers<br>
&gt;&gt; which drop UDP packets in favor of TCP, and I&#39;ve not seen any =
evidence of<br>
&gt;&gt; better quality TCP connections than UDP in any of my tests. To the=
 contrary,<br>
&gt;&gt; I&#39;ve seen UDP perform much better when network conditions are =
less than<br>
&gt;&gt; optimal as small messages can be sent immediately and repeated as =
needed<br>
&gt;&gt; without waiting for prior message acknowledgement or waiting for a=
 TCP<br>
&gt;&gt; stream to recover in the event of dropped packets.<br>
&gt;&gt;<br>
&gt;&gt; TCP seems to be favorable when latency is not critical as it&#39;s=
 generally<br>
&gt;&gt; (but not always) easier to use. UDP seems favorable when latency i=
s critical<br>
&gt;&gt; as it allows the programmer to control network traffic and tailor =
it to the<br>
&gt;&gt; application requirements.<br>
&gt;&gt;<br>
&gt;&gt; If anyone has any evidence of internet pathways that selectively f=
avor TCP<br>
&gt;&gt; over other traffic, I&#39;d be interested in seeing it.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick &lt;<a href=3D"ma=
ilto:ohmeadhbh@gmail.com">ohmeadhbh@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; do we really know that UDP is what we want, even for low laten=
cy? if<br>
&gt;&gt;&gt; you&#39;re multiplexing messages over a websocket connection, =
it&#39;s highly likely<br>
&gt;&gt;&gt; it&#39;ll be an existing connection (i.e.- it&#39;s likely one=
 tcp/ip connection<br>
&gt;&gt;&gt; will carry several multiplexed websockets messages.)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; in my tests, UDP doesn&#39;t do much better than TCP if you&#3=
9;re near the<br>
&gt;&gt;&gt; network rate as it seems a lot of routers tend to dump UDP pac=
kets first.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; most modern OSes now have api calls to let you disable TCP slo=
w-start.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; i guess what i&#39;m saying is it might be a good idea to defi=
ne messages in<br>
&gt;&gt;&gt; a way so they&#39;re transport agnostic. that and I would wage=
r that any latency<br>
&gt;&gt;&gt; improvements from UDP are dwarfed by latency introduced by app=
lication layer<br>
&gt;&gt;&gt; mechanisms to replace TCP&#39;s flow control &amp; resend sema=
ntics.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; just my $0.02.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Dec 19, 2010 2:34 PM, &quot;SM&quot; &lt;<a href=3D"mailto:=
sm@resistor.net">sm@resistor.net</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; vwrap mailing list<br>
&gt;&gt;&gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
&gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=
=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; vwrap mailing list<br>
&gt;&gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; vwrap mailing list<br>
&gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_bla=
nk">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
</div></div></blockquote></div><br>

--0016363ba666c87eab0497dca71d--

From dcolivares@gmail.com  Mon Dec 20 12:29:46 2010
Return-Path: <dcolivares@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 6A7F33A6ABC for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 12:29:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.797
X-Spam-Level: 
X-Spam-Status: No, score=-1.797 tagged_above=-999 required=5 tests=[AWL=0.602,  BAYES_00=-2.599, J_CHICKENPOX_48=0.6, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-1]
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 3DaB4Mufyjfd for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 12:29:44 -0800 (PST)
Received: from mail-ew0-f53.google.com (mail-ew0-f53.google.com [209.85.215.53]) by core3.amsl.com (Postfix) with ESMTP id E44E73A68A5 for <vwrap@ietf.org>; Mon, 20 Dec 2010 12:29:43 -0800 (PST)
Received: by ewy6 with SMTP id 6so1657008ewy.40 for <vwrap@ietf.org>; Mon, 20 Dec 2010 12:31:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Abfw07x7NOVwrXLQLprLIXffY6WvpicOGb3ua34sCzw=; b=Nby0lqUzFa/P31s4EObXwq+YqQtI/YzlHcZ8f/H0ff15jgXLybWeuXpqGUwKCrwOy6 ISthBt8BQR9UuNKTYEIJtDMaVIKp7grrxCaDvK53yCDd3/iQ8+fV9uOpKqRG/Dwd2Mim m2wsJznVCiFUJWplIAKMI9ulD6/uigOj819b4=
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:content-transfer-encoding; b=aor/Z/7DvkmrJw8kXXPrS+JEFRM6/eA2lpZ+hTDjKRT96A2p96c/Tbdnvsz0GmKO/z Lmg3CnrJB/fOixGVvX9Ffuc64M6xSzEBjbiomVjZAHytClBZUPpWDNnO8KOeICLYtMb5 W0qdc3H8402HqO9BpvGr9OlXsnbsYxh36wNi4=
MIME-Version: 1.0
Received: by 10.213.105.72 with SMTP id s8mr4260010ebo.37.1292877097348; Mon, 20 Dec 2010 12:31:37 -0800 (PST)
Received: by 10.213.35.16 with HTTP; Mon, 20 Dec 2010 12:31:37 -0800 (PST)
In-Reply-To: <AANLkTinH+Ym6oQyKRAfsRiQ_LFjWLUFxtYjGQ0WNaDxf@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com> <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com> <AANLkTinhzO0=hyxUy++g21uB00tkKqtbMuCEMP00nkki@mail.gmail.com> <AANLkTinH+Ym6oQyKRAfsRiQ_LFjWLUFxtYjGQ0WNaDxf@mail.gmail.com>
Date: Mon, 20 Dec 2010 15:31:37 -0500
Message-ID: <AANLkTimOjLygVOuoNbssjwUJ01Ma5nPj4BNRnTZX7cQ-@mail.gmail.com>
From: Dan Olivares <dcolivares@gmail.com>
To: Dahlia Trimble <dahliatrimble@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 20:29:46 -0000

While OpenSimulator's UDP stack was a learning ground, I'm talking in
a more general sense about what UDP is good at while evaluating it's
fitness as a technical base for virtual worlds in a web browser.

Using UDP with flow control puts the flow control cost squarely on the
server managing the connection.     Using TCP, when flow control is
required, spreads the cost of the flow control over the devices on the
internet.    It also ensures that connections with bad links are
segmented.  Regardless of the point of view here(business or
technical), UDP with flow control isn't a great option.

>From a business standpoint, with UDP, the organization hosting the
server bears all of the cost of the flow control.   Servers are a
costly limited resource.   It makes more sense to spread the load out
onto the network and dedicate the servers to more important tasks like
hosting an additional simulator that can be rented to increase the
bottom line.

>From a technical standpoint, spreading it out over the network makes
it more scalable and fault tolerant.

That's not to say that we should throw UDP out the window.   It's good
at sending large amounts of quickly expiring data.

Regards

Daniel Olivares



On Mon, Dec 20, 2010 at 2:37 PM, Dahlia Trimble <dahliatrimble@gmail.com> w=
rote:
> I believe part of the problem Dan refers to with CPU load is with the
> implementation of LLUDP in OpenSimulator ( http://opensimulator.org ). In
> this implementation, the scenegraph simulation server communicates with
> multiple clients and much (most?) information is transmitted via UDP,
> including many assets which could be retrieved from other sources and usi=
ng
> other protocols. In this case the choice of UDP for *all* communications =
may
> have been a poor one, at least from a scalability perspective. Linden Lab
> has recently moved some server<->client information transfer to other
> processes outside the main simulation server, and via HTTP protocol. I
> suspect as the benefits of this are realized there may be more non-realti=
me
> messaging moving out of Linden's simulator process, and the OpenSimulator
> implementation of this protocol will follow.
>
> On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivares <dcolivares@gmail.com> wro=
te:
>>
>> I think, one thing that we've learned by exploring the leading virtual
>> world technologies that exist today is that TCP should be used for any
>> transmission that requires ordered and reliable delivery. =A0 Doing so,
>> shares the 'flow control' load across the devices on the internet (for
>> free).
>>
>> The user level UDP flow control may /seem/ negligible. =A0With a small
>> amount of users and high quality connections, it is negligible.
>> However, as the load increases and the quality of the network links
>> decreases, there's a considerable spike in CPU time required to
>> maintain reliable delivery. =A0Generally, with UDP, flow control, and
>> bad quality or overloaded connections, the load is felt on the CPU of
>> the server managing the flow control. =A0 *The quality to CPU usage
>> curve is precipitous.* =A0As the quality of the connection decreases a
>> little, the CPU load increases a LOT. =A0At a certain point, the server
>> falls off of the edge of the cliff and can no longer keep up. =A0Sending
>> reliable data in any but the lowest quantity, is far worse for the
>> overall user experience over UDP then TCP as the load increases.
>> Network congestion, leading to single server CPU overload doesn't just
>> affect the experience of one user with a low quality connection. =A0It
>> affects the quality of the experience for every user connected.
>> With ISPs de-prioritizing UDP packets, using it for a large amount of
>> reliable communication isn't a good option.
>>
>> UDP is of most benefit when there is a significant amount of
>> unreliable traffic that can be dropped if it comes in out of order.
>> Real time spacial information, for example, benefits from this
>> approach.
>>
>> The flow control coupled with the quantity of traffic that results
>> from the server relaying reliable updates over UDP leaves less CPU
>> resources for other things on the server and is one of the reasons for
>> the 'SecondLife 100 user Limit'. =A0 =A0Intel reached 1000 users by
>> separating the client manager from the world space managing
>> server(simulator). (#0) =A0 (There are other reasons for the 100 user
>> limit, but they're beyond the scope of this document)
>>
>>
>> TCP has guaranteed delivery of every packet. =A0In the content space,
>> TCP is the most effective delivery mechanism for everything except a
>> small subset of technologies.
>>
>> That doesn't mean that we should throw UDP out. =A0TCP has it's own
>> problems. =A0 With TCP, the load isn't felt on the CPU, it's felt in the
>> speed of delivery of the content.
>>
>> As Dahlia said, every packet must arrive before the next one can begin
>> to be sent. =A0It isn't effective to send large quantities of quickly
>> expiring data over TCP. =A0 With multiple types of data requiring
>> different speeds of delivery, it also isn't effective stuffing
>> everything into the same connection.
>>
>> Browsers overcome this problem by making multiple temporary
>> connections downloading referenced resources immediately after
>> downloading a full 'index' (html) content page.
>>
>> Some people might think that if browsers have overcome this problem
>> then it might just be better to use the same technology for virtual
>> worlds (HTTP). =A0 There's still an issue with that reasoning. =A0 The
>> issue is that HTTP was really designed to transmit files and not a
>> 'data stream of multiple objects'. =A0 There is overhead and there are
>> restrictions, designed with files in mind, built into HTTP that make
>> it, not quite a perfect fit. =A0You can overlay 'streaming compatible
>> files' on top of HTTP but it usually involves establishing several
>> connections over time for the same content element.
>>
>> This is where web sockets find their sweet spot. =A0 It's the middle
>> ground, getting the benefits of TCP while not encountering the
>> restrictions of HTTP. =A0You can create multiple TCP connections for
>> different types of data allowing you to get around the TCP queue bog.
>> =A0They still don't really solve the 'mass quantities of quickly
>> expiring data' problem though, so we still can't throw UDP out the
>> window.
>>
>> In conclusion, at the moment, none of the existing underlying
>> protocols are optimal for the complex nature of the data of virtual
>> worlds. =A0However, with some ingenuity and 'out of the box' thinking,
>> we can utilize what's there to 'almost' get there.
>>
>> We do need a few things:
>> 1. Web Sockets standard in browsers (we can make due without UDP
>> support, but we really really want it)
>> 2. Solid, and accepted standard for 3d rendering in the browser.
>> (Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed +
>> Closed source renderer?, Unity3d + Plugin distribution + closed source
>> renderer?)
>> 3. Faster JavaScript (Each WebGL frame, fully processed with
>> JavaScript is a bit much when you consider the problem space of
>> thousands of user created objects being displayed)
>>
>> Regards
>>
>> Daniel Olivares
>>
>> References:
>> (0) : http://nwn.blogs.com/nwn/2010/09/intel-science-sim.html
>>
>>
>>
>> On Mon, Dec 20, 2010 at 11:44 AM, Morgaine
>> <morgaine.dinova@googlemail.com> wrote:
>> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble
>> > <dahliatrimble@gmail.com>
>> > wrote:
>> >>
>> >> If anyone has any evidence of internet pathways that selectively favo=
r
>> >> TCP
>> >> over other traffic, I'd be interested in seeing it.
>> >
>> >
>> > I have first-hand knowledge of this.=A0 I worked for several years at =
the
>> > Network Operations Centre of a top-tier ISP, and one of my duties was
>> > looking after service routers and firewalls.=A0 Policy-based routing a=
nd
>> > firewall access lists are configured with rulesets which are processed
>> > sequentially and eat up router CPU, which is a finite resource.
>> >
>> > Under off-peak conditions, packet loss is quite rare in the absence of
>> > interface or line faults, and router CPUs are scaled to handle the
>> > expected
>> > load so packets are never dropped willfully.=A0 When networks are
>> > congested
>> > however, which unfortunately is not uncommon during peak hours owing t=
o
>> > the
>> > common practice of oversubscribing capacity (or poor scalability
>> > planning),
>> > CPU load often reaches critical levels, and routers are configured to
>> > prioritize certain payload types in favor of others when this happens.
>> >
>> > TCP always gets top priority because it carries HTTP which is most
>> > closely
>> > tied to business revenue.=A0 In contrast, UDP (and also ICMP Echo) are
>> > normally configured right down the bottom end of the priority list, so
>> > under
>> > peak load when the CPU has to make a choice what to drop to stay withi=
n
>> > safe
>> > operating limits, UDP gets the chop first.=A0 This was business as usu=
al
>> > at
>> > the ISP, and that's how the network designers wanted the traffic
>> > priorities
>> > configured.=A0 (I was merely implementing policy, not creating it.)
>> >
>> > Gaming fans sometimes complain that ISPs are reducing the quality of
>> > service
>> > of their UDP traffic, and in some sense it's true.=A0 From my experien=
ce
>> > it's
>> > not done maliciously nor as an conscious policy of network
>> > non-neutrality,
>> > but simply as a means of protecting the more prized resource of TCP
>> > payloads
>> > when operating conditions mandate that something has to be thrown away=
.
>> >
>> > On the positive side, I've never known UDP packets (nor any other kind=
)
>> > to
>> > be dropped willfully for the above reason when all equipment is workin=
g
>> > within safe design limits and there is enough capacity to carry them.
>> > If it
>> > happens off-peak then something is very wrong with network sizing, or
>> > the
>> > equipment is faulty.
>> >
>> > Unfortunately, that's not the end of the saga with UDP.=A0 It's just t=
he
>> > beginning, because there is another big reason for dropped packets, an=
d
>> > this
>> > one occurs even when equipment is working within its designed operatin=
g
>> > limits:=A0 traffic shaping.
>> >
>> > IP traffic shaping is performed by packet queuing as a first resort, t=
o
>> > slow
>> > down traffic in the hope that the source notices and adapts.=A0 If the
>> > packet
>> > rate doesn't slow down then the method of last resort is to drop exces=
s
>> > packets when queue buffers hit their configured highwater marks.=A0 TC=
P
>> > implements a lot of things to mitigate packet loss, such as slow start=
,
>> > exponential backoff and transmit pacing, with the purpose of adapting
>> > transmit rate to receipt rate across paths of limited bandwidth so tha=
t
>> > traffic-shaping routers don't enter their drop state.
>> >
>> > UDP has no such flow control, so the onus falls upon the UDP applicati=
on
>> > endpoints to carry out adaptive flow control themselves.=A0 The likeli=
hood
>> > of
>> > this being done by UDP applications as effectively as it is done in
>> > today's
>> > finely honed TCP stacks is very low.=A0 It may not even be done at all=
.
>> >
>> > As a result, UDP packets can get dropped for being bad network citizen=
s
>> > and
>> > not slowing down in response to packet queueing and transmit pacing.
>> > UDP
>> > applications may think that they're free of the shackles of TCP flow
>> > control, but they're not.=A0 They either slow down when given the hint=
, or
>> > their traffic gets the chop.=A0 As a result, a UDP application that is
>> > oblivious of end-to-end timing should expect packet loss when the
>> > network
>> > acts to protect itself against congestion.=A0 See RFC-2309 for more
>> > details
>> > about this issue, in particular "MANAGING AGGRESSIVE FLOWS".=A0 There =
is
>> > no
>> > free lunch for UDP packets.
>> >
>> > This is why the best advice to give prospective users of UDP is "Don't=
,
>> > unless your application is tolerant of packet loss, packet duplication=
,
>> > packet delay, corrupted packets, and out of order delivery."=A0 To try=
 to
>> > work
>> > around these properties of UDP and make it reliable while simultaneous=
ly
>> > not
>> > impacting on the congestion controls of TCP over the shared path is
>> > highly
>> > unlikely to be successful, unless you reimplement the clever control
>> > features of TCP, and do it compatibly.=A0 Bulldozing your UDP packets
>> > through
>> > a shared network is not a solution, and will fail.
>> >
>> > [PS. The problems don't even stop there, as there are further causes o=
f
>> > UDP
>> > packet loss.=A0 One is the effect of TCP flow-control synchronization =
on
>> > UDP
>> > loss rate over congested paths, which counter-intuitively negates any
>> > benefit that could result from reducing UDP traffic rates because TCP
>> > synchronization picks up any bandwidth slack that reducing UDP traffic
>> > has
>> > freed.=A0 As a result, TCP congestion actually increases UDP packet dr=
op
>> > rates.=A0 (This has been a topic of research.)=A0 Networks protocols h=
ave
>> > very
>> > complex behaviors.]
>> >
>> >
>> > Morgaine.
>> >
>> >
>> >
>> >
>> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> >
>> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble
>> > <dahliatrimble@gmail.com>
>> > wrote:
>> >>
>> >> I have used both TCP and UDP in VW applications. I've found that TCP
>> >> has
>> >> acceptable latency and is not really any worse than UDP when either a=
re
>> >> tried over a clean, highly functional connection. I've not seen any
>> >> routers
>> >> which drop UDP packets in favor of TCP, and I've not seen any evidenc=
e
>> >> of
>> >> better quality TCP connections than UDP in any of my tests. To the
>> >> contrary,
>> >> I've seen UDP perform much better when network conditions are less th=
an
>> >> optimal as small messages can be sent immediately and repeated as
>> >> needed
>> >> without waiting for prior message acknowledgement or waiting for a TC=
P
>> >> stream to recover in the event of dropped packets.
>> >>
>> >> TCP seems to be favorable when latency is not critical as it's
>> >> generally
>> >> (but not always) easier to use. UDP seems favorable when latency is
>> >> critical
>> >> as it allows the programmer to control network traffic and tailor it =
to
>> >> the
>> >> application requirements.
>> >>
>> >> If anyone has any evidence of internet pathways that selectively favo=
r
>> >> TCP
>> >> over other traffic, I'd be interested in seeing it.
>> >>
>> >>
>> >> On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <ohmeadhbh@gmail.com=
>
>> >> wrote:
>> >>>
>> >>> do we really know that UDP is what we want, even for low latency? if
>> >>> you're multiplexing messages over a websocket connection, it's highl=
y
>> >>> likely
>> >>> it'll be an existing connection (i.e.- it's likely one tcp/ip
>> >>> connection
>> >>> will carry several multiplexed websockets messages.)
>> >>>
>> >>> in my tests, UDP doesn't do much better than TCP if you're near the
>> >>> network rate as it seems a lot of routers tend to dump UDP packets
>> >>> first.
>> >>>
>> >>> most modern OSes now have api calls to let you disable TCP slow-star=
t.
>> >>>
>> >>> i guess what i'm saying is it might be a good idea to define message=
s
>> >>> in
>> >>> a way so they're transport agnostic. that and I would wager that any
>> >>> latency
>> >>> improvements from UDP are dwarfed by latency introduced by applicati=
on
>> >>> layer
>> >>> mechanisms to replace TCP's flow control & resend semantics.
>> >>>
>> >>> just my $0.02.
>> >>>
>> >>> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
>> >>>
>> >>> _______________________________________________
>> >>> vwrap mailing list
>> >>> vwrap@ietf.org
>> >>> https://www.ietf.org/mailman/listinfo/vwrap
>> >>>
>> >>
>> >>
>> >> _______________________________________________
>> >> vwrap mailing list
>> >> vwrap@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/vwrap
>> >>
>> >
>> >
>> > _______________________________________________
>> > vwrap mailing list
>> > vwrap@ietf.org
>> > https://www.ietf.org/mailman/listinfo/vwrap
>> >
>> >
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>
>

From josh@lindenlab.com  Mon Dec 20 12:42:39 2010
Return-Path: <josh@lindenlab.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 AB14F3A68C3 for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 12:42:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.676
X-Spam-Level: 
X-Spam-Status: No, score=-102.676 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 Qkj-r+gxtg1L for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 12:42:38 -0800 (PST)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id 4A67A3A68C5 for <vwrap@ietf.org>; Mon, 20 Dec 2010 12:42:38 -0800 (PST)
Received: by gyd12 with SMTP id 12so1481190gyd.31 for <vwrap@ietf.org>; Mon, 20 Dec 2010 12:44:32 -0800 (PST)
MIME-Version: 1.0
Received: by 10.90.10.21 with SMTP id 21mr6020020agj.112.1292877871510; Mon, 20 Dec 2010 12:44:31 -0800 (PST)
Received: by 10.90.23.9 with HTTP; Mon, 20 Dec 2010 12:44:31 -0800 (PST)
In-Reply-To: <AANLkTinH+Ym6oQyKRAfsRiQ_LFjWLUFxtYjGQ0WNaDxf@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com> <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com> <AANLkTinhzO0=hyxUy++g21uB00tkKqtbMuCEMP00nkki@mail.gmail.com> <AANLkTinH+Ym6oQyKRAfsRiQ_LFjWLUFxtYjGQ0WNaDxf@mail.gmail.com>
Date: Mon, 20 Dec 2010 12:44:31 -0800
Message-ID: <AANLkTik2O41ZR_qJe2Ya7bmMbsrqjxcONCVGvfYL27G7@mail.gmail.com>
From: Joshua Bell <josh@lindenlab.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=0016361e890a44f5340497dd964a
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 20:42:39 -0000

--0016361e890a44f5340497dd964a
Content-Type: text/plain; charset=UTF-8

The presentation I tried to give at IETF-77 (but we ran out of time, slides
here: http://tools.ietf.org/agenda/77/slides/vwrap-6.pdf) broke down the SL
protocol into three big buckets:

(1) Request/Response
(2) Streaming, Reliable
(3) Streaming, Unreliable

In terms of the overall SL protocol, in terms of both bytes sent and message
types, the overwhelming majority falls into category #1. This includes
resource fetching (textures, sounds, etc) and control of the world (change
appearance, add friend, buy item, etc). For these, HTTP makes perfect sense
as a transport (over TLS where necessary). (As Dahlia mentions, as
subsystems of SL are modified we tend towards replacing both the transport
of these message types and the endpoints with non-simulator HTTP.)

Reliable streams are necessary for text chat, presence and other
server-initiated notifications (downstream) and chat and avatar control
(upstream). Currently these are transmitted over UDP, but this is ideally
suited for TCP-based transmission, possibly using higher level protocols
like XMPP for some/all of the message types.

Unreliable streams are used in the SL protocol for transmitting scene graph
updates, and also video and audio streams. (These non-VW media streams are
handled by libraries not authored by Linden and use standard protocols like
RTSP, so we usually ignore them in these discussions.) The justification is
that latency is more important than accuracy and history of object positions
is unnecessary.

That said, it's unknown if, on the modern Internet, UDP is actually
required, or if TCP with appropriate intelligence about what to send would
suffice to provide an acceptable experience. Some testing has been done (I
can't recall by who, though; I can track this down if necessary) with
tunneling an SL connection (UDP+TCP traffic) over a TCP proxy, and the
result was functional. This would indicate that, for at least some quality
of connection and some subsets of content, TCP is adequate. (Not a
surprise.) Whether a higher level protocol like RTSP would be beneficial as
a transport for scene graph updates is also an open question.

To SM's question of whether UDP WebSockets would be of interest: at least
academically, yes. Are they necessary for the general case of an SL-like VW
client implemented using Web standards in the browser? Unknown. Are they the
long pole? Also unknown.

-- Josh

--0016361e890a44f5340497dd964a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

The presentation I tried to give at IETF-77 (but we ran out of time, slides=
 here:=C2=A0<a href=3D"http://tools.ietf.org/agenda/77/slides/vwrap-6.pdf">=
http://tools.ietf.org/agenda/77/slides/vwrap-6.pdf</a>) broke down the SL p=
rotocol into three big buckets:<div>
<br></div><div>(1) Request/Response</div><div>(2) Streaming, Reliable</div>=
<div>(3) Streaming, Unreliable</div><div><br></div><div>In terms of the ove=
rall SL protocol, in terms of both bytes sent and message types, the overwh=
elming majority falls into category #1. This includes resource fetching (te=
xtures, sounds, etc) and control of the world (change appearance, add frien=
d, buy item, etc). For these, HTTP makes perfect sense as a transport (over=
 TLS where necessary). (As Dahlia mentions, as subsystems of SL are modifie=
d we tend towards replacing both the transport of these message types and t=
he endpoints with non-simulator HTTP.)</div>
<div><br></div><div>Reliable streams are necessary for text chat, presence =
and other server-initiated notifications (downstream) and chat and avatar c=
ontrol (upstream). Currently these are transmitted over UDP, but this is id=
eally suited for TCP-based transmission, possibly using higher level protoc=
ols like XMPP for some/all of the message types.</div>
<div><br></div><div>Unreliable streams are used in the SL protocol for tran=
smitting scene graph updates, and also video and audio streams. (These non-=
VW media streams are handled by libraries not authored by Linden and use st=
andard protocols like RTSP, so we usually ignore them in these discussions.=
) The justification is that latency is more important than accuracy and his=
tory of object positions is unnecessary.</div>
<div><br></div><div>That said, it&#39;s unknown if, on the modern Internet,=
 UDP is actually required, or if TCP with appropriate intelligence about wh=
at to send would suffice to provide an acceptable experience. Some testing =
has been done (I can&#39;t recall by who, though; I can track this down if =
necessary) with tunneling an SL connection (UDP+TCP traffic) over a TCP pro=
xy, and the result was functional. This would indicate that, for at least s=
ome quality of connection and some subsets of content, TCP is adequate. (No=
t a surprise.) Whether a higher level protocol like RTSP would be beneficia=
l as a transport for scene graph updates is also an open question.</div>
<div><br></div><div>To SM&#39;s question of whether UDP WebSockets would be=
 of interest: at least academically, yes. Are they necessary for the genera=
l case of an SL-like VW client implemented using Web standards in the brows=
er? Unknown. Are they the long pole? Also unknown.</div>
<div><br></div><div>-- Josh</div><div><br></div>

--0016361e890a44f5340497dd964a--

From dahliatrimble@gmail.com  Mon Dec 20 13:24:10 2010
Return-Path: <dahliatrimble@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 CC3EC3A68EE for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 13:24:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level: 
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_48=0.6, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-1]
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 udtA5AHTwhbq for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 13:24:07 -0800 (PST)
Received: from mail-wy0-f194.google.com (mail-wy0-f194.google.com [74.125.82.194]) by core3.amsl.com (Postfix) with ESMTP id 145483A68DA for <vwrap@ietf.org>; Mon, 20 Dec 2010 13:24:06 -0800 (PST)
Received: by wyf23 with SMTP id 23so1169255wyf.1 for <vwrap@ietf.org>; Mon, 20 Dec 2010 13:26:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=pzoC0Xcgxl3MMJojAW/W02h3VwdRKhMF66ZZzjXQUuA=; b=IoSJNnKBB09GrBB9sgd+zCQsoYXyY5v18wxy6MRBVJZvGBk7joVRjHwDm/Sd87MSNq SHSNXD2yzXp1h8QjaUir3TNI0CK15p4LHivGAZd5SnIyQT3aib8xabhQ0/7bcFuxb6pb xh8WIW30trlrrjeaWb7TdjMvQiwbCc8X7G9M0=
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=oN+7E1t2xUgcRD6xdtNjfT3jO4v2YzTP1htWBi/GLF5GP1VH3vP0XdCIF8v6QNk7/Y R8oSex5cA8F4J+/WImue9LLO4RC6CUx1oGcUt4L62fZG6ZiLqUqG8mS0uJZ5hGj+lIsL vyG9LlGZndLTHvpbR1bkSqzdeVwu6BFajlME4=
MIME-Version: 1.0
Received: by 10.216.17.202 with SMTP id j52mr8131158wej.36.1292880359802; Mon, 20 Dec 2010 13:25:59 -0800 (PST)
Received: by 10.216.86.210 with HTTP; Mon, 20 Dec 2010 13:25:59 -0800 (PST)
In-Reply-To: <AANLkTimOjLygVOuoNbssjwUJ01Ma5nPj4BNRnTZX7cQ-@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com> <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com> <AANLkTinhzO0=hyxUy++g21uB00tkKqtbMuCEMP00nkki@mail.gmail.com> <AANLkTinH+Ym6oQyKRAfsRiQ_LFjWLUFxtYjGQ0WNaDxf@mail.gmail.com> <AANLkTimOjLygVOuoNbssjwUJ01Ma5nPj4BNRnTZX7cQ-@mail.gmail.com>
Date: Mon, 20 Dec 2010 13:25:59 -0800
Message-ID: <AANLkTi=tBq6YELYi8KP4WGiy9dTTApwpddoJnqUJRZfC@mail.gmail.com>
From: Dahlia Trimble <dahliatrimble@gmail.com>
To: Dan Olivares <dcolivares@gmail.com>
Content-Type: multipart/alternative; boundary=0016e64c3cd49548a60497de2a29
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Mon, 20 Dec 2010 21:24:10 -0000

--0016e64c3cd49548a60497de2a29
Content-Type: text/plain; charset=ISO-8859-1

 I'm not certain that TCP mitigates all of this, it merely moves it out of
process space. TCP also has additional end-point requirements; depending on
API design, it may require additional listener threads and associated
message queueing mechanisms and lock management in order to manage multiple
asynchronous streams. Streams are still buffered, and while the buffering
may not exist in process space and may be even shared with mid-stream hosts,
there are still costs involved with these buffers. Applications cannot
simply assume they can safely dump as much information into a TCP stream and
let someone else worry about it, if they did then any congestion that may
occur in the network (or even the receiving application) will increase
buffer memory requirements. One way around this may be to limit how much
data can be pushed into a stream without some form of readiness signal from
the other end, but might that be considered application level flow control?

If it sounds like I'm advocating UDP for reliable transport, I'm not. I'm
rather pointing out that TCP has it's share of problems as well.


On Mon, Dec 20, 2010 at 12:31 PM, Dan Olivares <dcolivares@gmail.com> wrote:

> While OpenSimulator's UDP stack was a learning ground, I'm talking in
> a more general sense about what UDP is good at while evaluating it's
> fitness as a technical base for virtual worlds in a web browser.
>
> Using UDP with flow control puts the flow control cost squarely on the
> server managing the connection.     Using TCP, when flow control is
> required, spreads the cost of the flow control over the devices on the
> internet.    It also ensures that connections with bad links are
> segmented.  Regardless of the point of view here(business or
> technical), UDP with flow control isn't a great option.
>
> From a business standpoint, with UDP, the organization hosting the
> server bears all of the cost of the flow control.   Servers are a
> costly limited resource.   It makes more sense to spread the load out
> onto the network and dedicate the servers to more important tasks like
> hosting an additional simulator that can be rented to increase the
> bottom line.
>
> From a technical standpoint, spreading it out over the network makes
> it more scalable and fault tolerant.
>
> That's not to say that we should throw UDP out the window.   It's good
> at sending large amounts of quickly expiring data.
>
> Regards
>
> Daniel Olivares
>
>
>
> On Mon, Dec 20, 2010 at 2:37 PM, Dahlia Trimble <dahliatrimble@gmail.com>
> wrote:
> > I believe part of the problem Dan refers to with CPU load is with the
> > implementation of LLUDP in OpenSimulator ( http://opensimulator.org ).
> In
> > this implementation, the scenegraph simulation server communicates with
> > multiple clients and much (most?) information is transmitted via UDP,
> > including many assets which could be retrieved from other sources and
> using
> > other protocols. In this case the choice of UDP for *all* communications
> may
> > have been a poor one, at least from a scalability perspective. Linden Lab
> > has recently moved some server<->client information transfer to other
> > processes outside the main simulation server, and via HTTP protocol. I
> > suspect as the benefits of this are realized there may be more
> non-realtime
> > messaging moving out of Linden's simulator process, and the OpenSimulator
> > implementation of this protocol will follow.
> >
> > On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivares <dcolivares@gmail.com>
> wrote:
> >>
> >> I think, one thing that we've learned by exploring the leading virtual
> >> world technologies that exist today is that TCP should be used for any
> >> transmission that requires ordered and reliable delivery.   Doing so,
> >> shares the 'flow control' load across the devices on the internet (for
> >> free).
> >>
> >> The user level UDP flow control may /seem/ negligible.  With a small
> >> amount of users and high quality connections, it is negligible.
> >> However, as the load increases and the quality of the network links
> >> decreases, there's a considerable spike in CPU time required to
> >> maintain reliable delivery.  Generally, with UDP, flow control, and
> >> bad quality or overloaded connections, the load is felt on the CPU of
> >> the server managing the flow control.   *The quality to CPU usage
> >> curve is precipitous.*  As the quality of the connection decreases a
> >> little, the CPU load increases a LOT.  At a certain point, the server
> >> falls off of the edge of the cliff and can no longer keep up.  Sending
> >> reliable data in any but the lowest quantity, is far worse for the
> >> overall user experience over UDP then TCP as the load increases.
> >> Network congestion, leading to single server CPU overload doesn't just
> >> affect the experience of one user with a low quality connection.  It
> >> affects the quality of the experience for every user connected.
> >> With ISPs de-prioritizing UDP packets, using it for a large amount of
> >> reliable communication isn't a good option.
> >>
> >> UDP is of most benefit when there is a significant amount of
> >> unreliable traffic that can be dropped if it comes in out of order.
> >> Real time spacial information, for example, benefits from this
> >> approach.
> >>
> >> The flow control coupled with the quantity of traffic that results
> >> from the server relaying reliable updates over UDP leaves less CPU
> >> resources for other things on the server and is one of the reasons for
> >> the 'SecondLife 100 user Limit'.    Intel reached 1000 users by
> >> separating the client manager from the world space managing
> >> server(simulator). (#0)   (There are other reasons for the 100 user
> >> limit, but they're beyond the scope of this document)
> >>
> >>
> >> TCP has guaranteed delivery of every packet.  In the content space,
> >> TCP is the most effective delivery mechanism for everything except a
> >> small subset of technologies.
> >>
> >> That doesn't mean that we should throw UDP out.  TCP has it's own
> >> problems.   With TCP, the load isn't felt on the CPU, it's felt in the
> >> speed of delivery of the content.
> >>
> >> As Dahlia said, every packet must arrive before the next one can begin
> >> to be sent.  It isn't effective to send large quantities of quickly
> >> expiring data over TCP.   With multiple types of data requiring
> >> different speeds of delivery, it also isn't effective stuffing
> >> everything into the same connection.
> >>
> >> Browsers overcome this problem by making multiple temporary
> >> connections downloading referenced resources immediately after
> >> downloading a full 'index' (html) content page.
> >>
> >> Some people might think that if browsers have overcome this problem
> >> then it might just be better to use the same technology for virtual
> >> worlds (HTTP).   There's still an issue with that reasoning.   The
> >> issue is that HTTP was really designed to transmit files and not a
> >> 'data stream of multiple objects'.   There is overhead and there are
> >> restrictions, designed with files in mind, built into HTTP that make
> >> it, not quite a perfect fit.  You can overlay 'streaming compatible
> >> files' on top of HTTP but it usually involves establishing several
> >> connections over time for the same content element.
> >>
> >> This is where web sockets find their sweet spot.   It's the middle
> >> ground, getting the benefits of TCP while not encountering the
> >> restrictions of HTTP.  You can create multiple TCP connections for
> >> different types of data allowing you to get around the TCP queue bog.
> >>  They still don't really solve the 'mass quantities of quickly
> >> expiring data' problem though, so we still can't throw UDP out the
> >> window.
> >>
> >> In conclusion, at the moment, none of the existing underlying
> >> protocols are optimal for the complex nature of the data of virtual
> >> worlds.  However, with some ingenuity and 'out of the box' thinking,
> >> we can utilize what's there to 'almost' get there.
> >>
> >> We do need a few things:
> >> 1. Web Sockets standard in browsers (we can make due without UDP
> >> support, but we really really want it)
> >> 2. Solid, and accepted standard for 3d rendering in the browser.
> >> (Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed +
> >> Closed source renderer?, Unity3d + Plugin distribution + closed source
> >> renderer?)
> >> 3. Faster JavaScript (Each WebGL frame, fully processed with
> >> JavaScript is a bit much when you consider the problem space of
> >> thousands of user created objects being displayed)
> >>
> >> Regards
> >>
> >> Daniel Olivares
> >>
> >> References:
> >> (0) : http://nwn.blogs.com/nwn/2010/09/intel-science-sim.html
> >>
> >>
> >>
> >> On Mon, Dec 20, 2010 at 11:44 AM, Morgaine
> >> <morgaine.dinova@googlemail.com> wrote:
> >> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble
> >> > <dahliatrimble@gmail.com>
> >> > wrote:
> >> >>
> >> >> If anyone has any evidence of internet pathways that selectively
> favor
> >> >> TCP
> >> >> over other traffic, I'd be interested in seeing it.
> >> >
> >> >
> >> > I have first-hand knowledge of this.  I worked for several years at
> the
> >> > Network Operations Centre of a top-tier ISP, and one of my duties was
> >> > looking after service routers and firewalls.  Policy-based routing and
> >> > firewall access lists are configured with rulesets which are processed
> >> > sequentially and eat up router CPU, which is a finite resource.
> >> >
> >> > Under off-peak conditions, packet loss is quite rare in the absence of
> >> > interface or line faults, and router CPUs are scaled to handle the
> >> > expected
> >> > load so packets are never dropped willfully.  When networks are
> >> > congested
> >> > however, which unfortunately is not uncommon during peak hours owing
> to
> >> > the
> >> > common practice of oversubscribing capacity (or poor scalability
> >> > planning),
> >> > CPU load often reaches critical levels, and routers are configured to
> >> > prioritize certain payload types in favor of others when this happens.
> >> >
> >> > TCP always gets top priority because it carries HTTP which is most
> >> > closely
> >> > tied to business revenue.  In contrast, UDP (and also ICMP Echo) are
> >> > normally configured right down the bottom end of the priority list, so
> >> > under
> >> > peak load when the CPU has to make a choice what to drop to stay
> within
> >> > safe
> >> > operating limits, UDP gets the chop first.  This was business as usual
> >> > at
> >> > the ISP, and that's how the network designers wanted the traffic
> >> > priorities
> >> > configured.  (I was merely implementing policy, not creating it.)
> >> >
> >> > Gaming fans sometimes complain that ISPs are reducing the quality of
> >> > service
> >> > of their UDP traffic, and in some sense it's true.  From my experience
> >> > it's
> >> > not done maliciously nor as an conscious policy of network
> >> > non-neutrality,
> >> > but simply as a means of protecting the more prized resource of TCP
> >> > payloads
> >> > when operating conditions mandate that something has to be thrown
> away.
> >> >
> >> > On the positive side, I've never known UDP packets (nor any other
> kind)
> >> > to
> >> > be dropped willfully for the above reason when all equipment is
> working
> >> > within safe design limits and there is enough capacity to carry them.
> >> > If it
> >> > happens off-peak then something is very wrong with network sizing, or
> >> > the
> >> > equipment is faulty.
> >> >
> >> > Unfortunately, that's not the end of the saga with UDP.  It's just the
> >> > beginning, because there is another big reason for dropped packets,
> and
> >> > this
> >> > one occurs even when equipment is working within its designed
> operating
> >> > limits:  traffic shaping.
> >> >
> >> > IP traffic shaping is performed by packet queuing as a first resort,
> to
> >> > slow
> >> > down traffic in the hope that the source notices and adapts.  If the
> >> > packet
> >> > rate doesn't slow down then the method of last resort is to drop
> excess
> >> > packets when queue buffers hit their configured highwater marks.  TCP
> >> > implements a lot of things to mitigate packet loss, such as slow
> start,
> >> > exponential backoff and transmit pacing, with the purpose of adapting
> >> > transmit rate to receipt rate across paths of limited bandwidth so
> that
> >> > traffic-shaping routers don't enter their drop state.
> >> >
> >> > UDP has no such flow control, so the onus falls upon the UDP
> application
> >> > endpoints to carry out adaptive flow control themselves.  The
> likelihood
> >> > of
> >> > this being done by UDP applications as effectively as it is done in
> >> > today's
> >> > finely honed TCP stacks is very low.  It may not even be done at all.
> >> >
> >> > As a result, UDP packets can get dropped for being bad network
> citizens
> >> > and
> >> > not slowing down in response to packet queueing and transmit pacing.
> >> > UDP
> >> > applications may think that they're free of the shackles of TCP flow
> >> > control, but they're not.  They either slow down when given the hint,
> or
> >> > their traffic gets the chop.  As a result, a UDP application that is
> >> > oblivious of end-to-end timing should expect packet loss when the
> >> > network
> >> > acts to protect itself against congestion.  See RFC-2309 for more
> >> > details
> >> > about this issue, in particular "MANAGING AGGRESSIVE FLOWS".  There is
> >> > no
> >> > free lunch for UDP packets.
> >> >
> >> > This is why the best advice to give prospective users of UDP is
> "Don't,
> >> > unless your application is tolerant of packet loss, packet
> duplication,
> >> > packet delay, corrupted packets, and out of order delivery."  To try
> to
> >> > work
> >> > around these properties of UDP and make it reliable while
> simultaneously
> >> > not
> >> > impacting on the congestion controls of TCP over the shared path is
> >> > highly
> >> > unlikely to be successful, unless you reimplement the clever control
> >> > features of TCP, and do it compatibly.  Bulldozing your UDP packets
> >> > through
> >> > a shared network is not a solution, and will fail.
> >> >
> >> > [PS. The problems don't even stop there, as there are further causes
> of
> >> > UDP
> >> > packet loss.  One is the effect of TCP flow-control synchronization on
> >> > UDP
> >> > loss rate over congested paths, which counter-intuitively negates any
> >> > benefit that could result from reducing UDP traffic rates because TCP
> >> > synchronization picks up any bandwidth slack that reducing UDP traffic
> >> > has
> >> > freed.  As a result, TCP congestion actually increases UDP packet drop
> >> > rates.  (This has been a topic of research.)  Networks protocols have
> >> > very
> >> > complex behaviors.]
> >> >
> >> >
> >> > Morgaine.
> >> >
> >> >
> >> >
> >> >
> >> > ======================================
> >> >
> >> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble
> >> > <dahliatrimble@gmail.com>
> >> > wrote:
> >> >>
> >> >> I have used both TCP and UDP in VW applications. I've found that TCP
> >> >> has
> >> >> acceptable latency and is not really any worse than UDP when either
> are
> >> >> tried over a clean, highly functional connection. I've not seen any
> >> >> routers
> >> >> which drop UDP packets in favor of TCP, and I've not seen any
> evidence
> >> >> of
> >> >> better quality TCP connections than UDP in any of my tests. To the
> >> >> contrary,
> >> >> I've seen UDP perform much better when network conditions are less
> than
> >> >> optimal as small messages can be sent immediately and repeated as
> >> >> needed
> >> >> without waiting for prior message acknowledgement or waiting for a
> TCP
> >> >> stream to recover in the event of dropped packets.
> >> >>
> >> >> TCP seems to be favorable when latency is not critical as it's
> >> >> generally
> >> >> (but not always) easier to use. UDP seems favorable when latency is
> >> >> critical
> >> >> as it allows the programmer to control network traffic and tailor it
> to
> >> >> the
> >> >> application requirements.
> >> >>
> >> >> If anyone has any evidence of internet pathways that selectively
> favor
> >> >> TCP
> >> >> over other traffic, I'd be interested in seeing it.
> >> >>
> >> >>
> >> >> On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <
> ohmeadhbh@gmail.com>
> >> >> wrote:
> >> >>>
> >> >>> do we really know that UDP is what we want, even for low latency? if
> >> >>> you're multiplexing messages over a websocket connection, it's
> highly
> >> >>> likely
> >> >>> it'll be an existing connection (i.e.- it's likely one tcp/ip
> >> >>> connection
> >> >>> will carry several multiplexed websockets messages.)
> >> >>>
> >> >>> in my tests, UDP doesn't do much better than TCP if you're near the
> >> >>> network rate as it seems a lot of routers tend to dump UDP packets
> >> >>> first.
> >> >>>
> >> >>> most modern OSes now have api calls to let you disable TCP
> slow-start.
> >> >>>
> >> >>> i guess what i'm saying is it might be a good idea to define
> messages
> >> >>> in
> >> >>> a way so they're transport agnostic. that and I would wager that any
> >> >>> latency
> >> >>> improvements from UDP are dwarfed by latency introduced by
> application
> >> >>> layer
> >> >>> mechanisms to replace TCP's flow control & resend semantics.
> >> >>>
> >> >>> just my $0.02.
> >> >>>
> >> >>> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
> >> >>>
> >> >>> _______________________________________________
> >> >>> vwrap mailing list
> >> >>> vwrap@ietf.org
> >> >>> https://www.ietf.org/mailman/listinfo/vwrap
> >> >>>
> >> >>
> >> >>
> >> >> _______________________________________________
> >> >> vwrap mailing list
> >> >> vwrap@ietf.org
> >> >> https://www.ietf.org/mailman/listinfo/vwrap
> >> >>
> >> >
> >> >
> >> > _______________________________________________
> >> > vwrap mailing list
> >> > vwrap@ietf.org
> >> > https://www.ietf.org/mailman/listinfo/vwrap
> >> >
> >> >
> >> _______________________________________________
> >> vwrap mailing list
> >> vwrap@ietf.org
> >> https://www.ietf.org/mailman/listinfo/vwrap
> >
> >
>

--0016e64c3cd49548a60497de2a29
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

 I&#39;m not certain that TCP mitigates all of this, it merely moves it out=
 of process space. TCP also has additional end-point requirements; dependin=
g on API design, it may require additional listener threads and associated =
message queueing mechanisms and lock management in order to manage multiple=
 asynchronous streams. Streams are still buffered, and while the buffering =
may not exist in process space and may be even shared with mid-stream hosts=
, there are still costs involved with these buffers. Applications cannot si=
mply assume they can safely dump as much information into a TCP stream and =
let someone else worry about it, if they did then any congestion that may o=
ccur in the network (or even the receiving application) will increase buffe=
r memory requirements. One way around this may be to limit how much data ca=
n be pushed into a stream without some form of readiness signal from the ot=
her end, but might that be considered application level flow control?<br>
<br>If it sounds like I&#39;m advocating UDP for reliable transport, I&#39;=
m not. I&#39;m rather pointing out that TCP has it&#39;s share of problems =
as well.<br><br><br><div class=3D"gmail_quote">On Mon, Dec 20, 2010 at 12:3=
1 PM, Dan Olivares <span dir=3D"ltr">&lt;<a href=3D"mailto:dcolivares@gmail=
.com">dcolivares@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;">While OpenSimulator&#39;s UDP stack was a l=
earning ground, I&#39;m talking in<br>
a more general sense about what UDP is good at while evaluating it&#39;s<br=
>
fitness as a technical base for virtual worlds in a web browser.<br>
<br>
Using UDP with flow control puts the flow control cost squarely on the<br>
server managing the connection. =A0 =A0 Using TCP, when flow control is<br>
required, spreads the cost of the flow control over the devices on the<br>
internet. =A0 =A0It also ensures that connections with bad links are<br>
segmented. =A0Regardless of the point of view here(business or<br>
technical), UDP with flow control isn&#39;t a great option.<br>
<br>
>From a business standpoint, with UDP, the organization hosting the<br>
server bears all of the cost of the flow control. =A0 Servers are a<br>
costly limited resource. =A0 It makes more sense to spread the load out<br>
onto the network and dedicate the servers to more important tasks like<br>
hosting an additional simulator that can be rented to increase the<br>
bottom line.<br>
<br>
>From a technical standpoint, spreading it out over the network makes<br>
it more scalable and fault tolerant.<br>
<br>
That&#39;s not to say that we should throw UDP out the window. =A0 It&#39;s=
 good<br>
at sending large amounts of quickly expiring data.<br>
<br>
Regards<br>
<br>
Daniel Olivares<br>
<div><div></div><div class=3D"h5"><br>
<br>
<br>
On Mon, Dec 20, 2010 at 2:37 PM, Dahlia Trimble &lt;<a href=3D"mailto:dahli=
atrimble@gmail.com">dahliatrimble@gmail.com</a>&gt; wrote:<br>
&gt; I believe part of the problem Dan refers to with CPU load is with the<=
br>
&gt; implementation of LLUDP in OpenSimulator ( <a href=3D"http://opensimul=
ator.org" target=3D"_blank">http://opensimulator.org</a> ). In<br>
&gt; this implementation, the scenegraph simulation server communicates wit=
h<br>
&gt; multiple clients and much (most?) information is transmitted via UDP,<=
br>
&gt; including many assets which could be retrieved from other sources and =
using<br>
&gt; other protocols. In this case the choice of UDP for *all* communicatio=
ns may<br>
&gt; have been a poor one, at least from a scalability perspective. Linden =
Lab<br>
&gt; has recently moved some server&lt;-&gt;client information transfer to =
other<br>
&gt; processes outside the main simulation server, and via HTTP protocol. I=
<br>
&gt; suspect as the benefits of this are realized there may be more non-rea=
ltime<br>
&gt; messaging moving out of Linden&#39;s simulator process, and the OpenSi=
mulator<br>
&gt; implementation of this protocol will follow.<br>
&gt;<br>
&gt; On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivares &lt;<a href=3D"mailto:d=
colivares@gmail.com">dcolivares@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I think, one thing that we&#39;ve learned by exploring the leading=
 virtual<br>
&gt;&gt; world technologies that exist today is that TCP should be used for=
 any<br>
&gt;&gt; transmission that requires ordered and reliable delivery. =A0 Doin=
g so,<br>
&gt;&gt; shares the &#39;flow control&#39; load across the devices on the i=
nternet (for<br>
&gt;&gt; free).<br>
&gt;&gt;<br>
&gt;&gt; The user level UDP flow control may /seem/ negligible. =A0With a s=
mall<br>
&gt;&gt; amount of users and high quality connections, it is negligible.<br=
>
&gt;&gt; However, as the load increases and the quality of the network link=
s<br>
&gt;&gt; decreases, there&#39;s a considerable spike in CPU time required t=
o<br>
&gt;&gt; maintain reliable delivery. =A0Generally, with UDP, flow control, =
and<br>
&gt;&gt; bad quality or overloaded connections, the load is felt on the CPU=
 of<br>
&gt;&gt; the server managing the flow control. =A0 *The quality to CPU usag=
e<br>
&gt;&gt; curve is precipitous.* =A0As the quality of the connection decreas=
es a<br>
&gt;&gt; little, the CPU load increases a LOT. =A0At a certain point, the s=
erver<br>
&gt;&gt; falls off of the edge of the cliff and can no longer keep up. =A0S=
ending<br>
&gt;&gt; reliable data in any but the lowest quantity, is far worse for the=
<br>
&gt;&gt; overall user experience over UDP then TCP as the load increases.<b=
r>
&gt;&gt; Network congestion, leading to single server CPU overload doesn&#3=
9;t just<br>
&gt;&gt; affect the experience of one user with a low quality connection. =
=A0It<br>
&gt;&gt; affects the quality of the experience for every user connected.<br=
>
&gt;&gt; With ISPs de-prioritizing UDP packets, using it for a large amount=
 of<br>
&gt;&gt; reliable communication isn&#39;t a good option.<br>
&gt;&gt;<br>
&gt;&gt; UDP is of most benefit when there is a significant amount of<br>
&gt;&gt; unreliable traffic that can be dropped if it comes in out of order=
.<br>
&gt;&gt; Real time spacial information, for example, benefits from this<br>
&gt;&gt; approach.<br>
&gt;&gt;<br>
&gt;&gt; The flow control coupled with the quantity of traffic that results=
<br>
&gt;&gt; from the server relaying reliable updates over UDP leaves less CPU=
<br>
&gt;&gt; resources for other things on the server and is one of the reasons=
 for<br>
&gt;&gt; the &#39;SecondLife 100 user Limit&#39;. =A0 =A0Intel reached 1000=
 users by<br>
&gt;&gt; separating the client manager from the world space managing<br>
&gt;&gt; server(simulator). (#0) =A0 (There are other reasons for the 100 u=
ser<br>
&gt;&gt; limit, but they&#39;re beyond the scope of this document)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; TCP has guaranteed delivery of every packet. =A0In the content spa=
ce,<br>
&gt;&gt; TCP is the most effective delivery mechanism for everything except=
 a<br>
&gt;&gt; small subset of technologies.<br>
&gt;&gt;<br>
&gt;&gt; That doesn&#39;t mean that we should throw UDP out. =A0TCP has it&=
#39;s own<br>
&gt;&gt; problems. =A0 With TCP, the load isn&#39;t felt on the CPU, it&#39=
;s felt in the<br>
&gt;&gt; speed of delivery of the content.<br>
&gt;&gt;<br>
&gt;&gt; As Dahlia said, every packet must arrive before the next one can b=
egin<br>
&gt;&gt; to be sent. =A0It isn&#39;t effective to send large quantities of =
quickly<br>
&gt;&gt; expiring data over TCP. =A0 With multiple types of data requiring<=
br>
&gt;&gt; different speeds of delivery, it also isn&#39;t effective stuffing=
<br>
&gt;&gt; everything into the same connection.<br>
&gt;&gt;<br>
&gt;&gt; Browsers overcome this problem by making multiple temporary<br>
&gt;&gt; connections downloading referenced resources immediately after<br>
&gt;&gt; downloading a full &#39;index&#39; (html) content page.<br>
&gt;&gt;<br>
&gt;&gt; Some people might think that if browsers have overcome this proble=
m<br>
&gt;&gt; then it might just be better to use the same technology for virtua=
l<br>
&gt;&gt; worlds (HTTP). =A0 There&#39;s still an issue with that reasoning.=
 =A0 The<br>
&gt;&gt; issue is that HTTP was really designed to transmit files and not a=
<br>
&gt;&gt; &#39;data stream of multiple objects&#39;. =A0 There is overhead a=
nd there are<br>
&gt;&gt; restrictions, designed with files in mind, built into HTTP that ma=
ke<br>
&gt;&gt; it, not quite a perfect fit. =A0You can overlay &#39;streaming com=
patible<br>
&gt;&gt; files&#39; on top of HTTP but it usually involves establishing sev=
eral<br>
&gt;&gt; connections over time for the same content element.<br>
&gt;&gt;<br>
&gt;&gt; This is where web sockets find their sweet spot. =A0 It&#39;s the =
middle<br>
&gt;&gt; ground, getting the benefits of TCP while not encountering the<br>
&gt;&gt; restrictions of HTTP. =A0You can create multiple TCP connections f=
or<br>
&gt;&gt; different types of data allowing you to get around the TCP queue b=
og.<br>
&gt;&gt; =A0They still don&#39;t really solve the &#39;mass quantities of q=
uickly<br>
&gt;&gt; expiring data&#39; problem though, so we still can&#39;t throw UDP=
 out the<br>
&gt;&gt; window.<br>
&gt;&gt;<br>
&gt;&gt; In conclusion, at the moment, none of the existing underlying<br>
&gt;&gt; protocols are optimal for the complex nature of the data of virtua=
l<br>
&gt;&gt; worlds. =A0However, with some ingenuity and &#39;out of the box&#3=
9; thinking,<br>
&gt;&gt; we can utilize what&#39;s there to &#39;almost&#39; get there.<br>
&gt;&gt;<br>
&gt;&gt; We do need a few things:<br>
&gt;&gt; 1. Web Sockets standard in browsers (we can make due without UDP<b=
r>
&gt;&gt; support, but we really really want it)<br>
&gt;&gt; 2. Solid, and accepted standard for 3d rendering in the browser.<b=
r>
&gt;&gt; (Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed =
+<br>
&gt;&gt; Closed source renderer?, Unity3d + Plugin distribution + closed so=
urce<br>
&gt;&gt; renderer?)<br>
&gt;&gt; 3. Faster JavaScript (Each WebGL frame, fully processed with<br>
&gt;&gt; JavaScript is a bit much when you consider the problem space of<br=
>
&gt;&gt; thousands of user created objects being displayed)<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt;<br>
&gt;&gt; Daniel Olivares<br>
&gt;&gt;<br>
&gt;&gt; References:<br>
&gt;&gt; (0) : <a href=3D"http://nwn.blogs.com/nwn/2010/09/intel-science-si=
m.html" target=3D"_blank">http://nwn.blogs.com/nwn/2010/09/intel-science-si=
m.html</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Dec 20, 2010 at 11:44 AM, Morgaine<br>
&gt;&gt; &lt;<a href=3D"mailto:morgaine.dinova@googlemail.com">morgaine.din=
ova@googlemail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble<br>
&gt;&gt; &gt; &lt;<a href=3D"mailto:dahliatrimble@gmail.com">dahliatrimble@=
gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; If anyone has any evidence of internet pathways that sele=
ctively favor<br>
&gt;&gt; &gt;&gt; TCP<br>
&gt;&gt; &gt;&gt; over other traffic, I&#39;d be interested in seeing it.<b=
r>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have first-hand knowledge of this.=A0 I worked for several =
years at the<br>
&gt;&gt; &gt; Network Operations Centre of a top-tier ISP, and one of my du=
ties was<br>
&gt;&gt; &gt; looking after service routers and firewalls.=A0 Policy-based =
routing and<br>
&gt;&gt; &gt; firewall access lists are configured with rulesets which are =
processed<br>
&gt;&gt; &gt; sequentially and eat up router CPU, which is a finite resourc=
e.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Under off-peak conditions, packet loss is quite rare in the a=
bsence of<br>
&gt;&gt; &gt; interface or line faults, and router CPUs are scaled to handl=
e the<br>
&gt;&gt; &gt; expected<br>
&gt;&gt; &gt; load so packets are never dropped willfully.=A0 When networks=
 are<br>
&gt;&gt; &gt; congested<br>
&gt;&gt; &gt; however, which unfortunately is not uncommon during peak hour=
s owing to<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; common practice of oversubscribing capacity (or poor scalabil=
ity<br>
&gt;&gt; &gt; planning),<br>
&gt;&gt; &gt; CPU load often reaches critical levels, and routers are confi=
gured to<br>
&gt;&gt; &gt; prioritize certain payload types in favor of others when this=
 happens.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; TCP always gets top priority because it carries HTTP which is=
 most<br>
&gt;&gt; &gt; closely<br>
&gt;&gt; &gt; tied to business revenue.=A0 In contrast, UDP (and also ICMP =
Echo) are<br>
&gt;&gt; &gt; normally configured right down the bottom end of the priority=
 list, so<br>
&gt;&gt; &gt; under<br>
&gt;&gt; &gt; peak load when the CPU has to make a choice what to drop to s=
tay within<br>
&gt;&gt; &gt; safe<br>
&gt;&gt; &gt; operating limits, UDP gets the chop first.=A0 This was busine=
ss as usual<br>
&gt;&gt; &gt; at<br>
&gt;&gt; &gt; the ISP, and that&#39;s how the network designers wanted the =
traffic<br>
&gt;&gt; &gt; priorities<br>
&gt;&gt; &gt; configured.=A0 (I was merely implementing policy, not creatin=
g it.)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Gaming fans sometimes complain that ISPs are reducing the qua=
lity of<br>
&gt;&gt; &gt; service<br>
&gt;&gt; &gt; of their UDP traffic, and in some sense it&#39;s true.=A0 Fro=
m my experience<br>
&gt;&gt; &gt; it&#39;s<br>
&gt;&gt; &gt; not done maliciously nor as an conscious policy of network<br=
>
&gt;&gt; &gt; non-neutrality,<br>
&gt;&gt; &gt; but simply as a means of protecting the more prized resource =
of TCP<br>
&gt;&gt; &gt; payloads<br>
&gt;&gt; &gt; when operating conditions mandate that something has to be th=
rown away.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On the positive side, I&#39;ve never known UDP packets (nor a=
ny other kind)<br>
&gt;&gt; &gt; to<br>
&gt;&gt; &gt; be dropped willfully for the above reason when all equipment =
is working<br>
&gt;&gt; &gt; within safe design limits and there is enough capacity to car=
ry them.<br>
&gt;&gt; &gt; If it<br>
&gt;&gt; &gt; happens off-peak then something is very wrong with network si=
zing, or<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; equipment is faulty.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Unfortunately, that&#39;s not the end of the saga with UDP.=
=A0 It&#39;s just the<br>
&gt;&gt; &gt; beginning, because there is another big reason for dropped pa=
ckets, and<br>
&gt;&gt; &gt; this<br>
&gt;&gt; &gt; one occurs even when equipment is working within its designed=
 operating<br>
&gt;&gt; &gt; limits:=A0 traffic shaping.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; IP traffic shaping is performed by packet queuing as a first =
resort, to<br>
&gt;&gt; &gt; slow<br>
&gt;&gt; &gt; down traffic in the hope that the source notices and adapts.=
=A0 If the<br>
&gt;&gt; &gt; packet<br>
&gt;&gt; &gt; rate doesn&#39;t slow down then the method of last resort is =
to drop excess<br>
&gt;&gt; &gt; packets when queue buffers hit their configured highwater mar=
ks.=A0 TCP<br>
&gt;&gt; &gt; implements a lot of things to mitigate packet loss, such as s=
low start,<br>
&gt;&gt; &gt; exponential backoff and transmit pacing, with the purpose of =
adapting<br>
&gt;&gt; &gt; transmit rate to receipt rate across paths of limited bandwid=
th so that<br>
&gt;&gt; &gt; traffic-shaping routers don&#39;t enter their drop state.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; UDP has no such flow control, so the onus falls upon the UDP =
application<br>
&gt;&gt; &gt; endpoints to carry out adaptive flow control themselves.=A0 T=
he likelihood<br>
&gt;&gt; &gt; of<br>
&gt;&gt; &gt; this being done by UDP applications as effectively as it is d=
one in<br>
&gt;&gt; &gt; today&#39;s<br>
&gt;&gt; &gt; finely honed TCP stacks is very low.=A0 It may not even be do=
ne at all.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; As a result, UDP packets can get dropped for being bad networ=
k citizens<br>
&gt;&gt; &gt; and<br>
&gt;&gt; &gt; not slowing down in response to packet queueing and transmit =
pacing.<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; applications may think that they&#39;re free of the shackles =
of TCP flow<br>
&gt;&gt; &gt; control, but they&#39;re not.=A0 They either slow down when g=
iven the hint, or<br>
&gt;&gt; &gt; their traffic gets the chop.=A0 As a result, a UDP applicatio=
n that is<br>
&gt;&gt; &gt; oblivious of end-to-end timing should expect packet loss when=
 the<br>
&gt;&gt; &gt; network<br>
&gt;&gt; &gt; acts to protect itself against congestion.=A0 See RFC-2309 fo=
r more<br>
&gt;&gt; &gt; details<br>
&gt;&gt; &gt; about this issue, in particular &quot;MANAGING AGGRESSIVE FLO=
WS&quot;.=A0 There is<br>
&gt;&gt; &gt; no<br>
&gt;&gt; &gt; free lunch for UDP packets.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; This is why the best advice to give prospective users of UDP =
is &quot;Don&#39;t,<br>
&gt;&gt; &gt; unless your application is tolerant of packet loss, packet du=
plication,<br>
&gt;&gt; &gt; packet delay, corrupted packets, and out of order delivery.&q=
uot;=A0 To try to<br>
&gt;&gt; &gt; work<br>
&gt;&gt; &gt; around these properties of UDP and make it reliable while sim=
ultaneously<br>
&gt;&gt; &gt; not<br>
&gt;&gt; &gt; impacting on the congestion controls of TCP over the shared p=
ath is<br>
&gt;&gt; &gt; highly<br>
&gt;&gt; &gt; unlikely to be successful, unless you reimplement the clever =
control<br>
&gt;&gt; &gt; features of TCP, and do it compatibly.=A0 Bulldozing your UDP=
 packets<br>
&gt;&gt; &gt; through<br>
&gt;&gt; &gt; a shared network is not a solution, and will fail.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; [PS. The problems don&#39;t even stop there, as there are fur=
ther causes of<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; packet loss.=A0 One is the effect of TCP flow-control synchro=
nization on<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; loss rate over congested paths, which counter-intuitively neg=
ates any<br>
&gt;&gt; &gt; benefit that could result from reducing UDP traffic rates bec=
ause TCP<br>
&gt;&gt; &gt; synchronization picks up any bandwidth slack that reducing UD=
P traffic<br>
&gt;&gt; &gt; has<br>
&gt;&gt; &gt; freed.=A0 As a result, TCP congestion actually increases UDP =
packet drop<br>
&gt;&gt; &gt; rates.=A0 (This has been a topic of research.)=A0 Networks pr=
otocols have<br>
&gt;&gt; &gt; very<br>
&gt;&gt; &gt; complex behaviors.]<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Morgaine.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble<br>
&gt;&gt; &gt; &lt;<a href=3D"mailto:dahliatrimble@gmail.com">dahliatrimble@=
gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I have used both TCP and UDP in VW applications. I&#39;ve=
 found that TCP<br>
&gt;&gt; &gt;&gt; has<br>
&gt;&gt; &gt;&gt; acceptable latency and is not really any worse than UDP w=
hen either are<br>
&gt;&gt; &gt;&gt; tried over a clean, highly functional connection. I&#39;v=
e not seen any<br>
&gt;&gt; &gt;&gt; routers<br>
&gt;&gt; &gt;&gt; which drop UDP packets in favor of TCP, and I&#39;ve not =
seen any evidence<br>
&gt;&gt; &gt;&gt; of<br>
&gt;&gt; &gt;&gt; better quality TCP connections than UDP in any of my test=
s. To the<br>
&gt;&gt; &gt;&gt; contrary,<br>
&gt;&gt; &gt;&gt; I&#39;ve seen UDP perform much better when network condit=
ions are less than<br>
&gt;&gt; &gt;&gt; optimal as small messages can be sent immediately and rep=
eated as<br>
&gt;&gt; &gt;&gt; needed<br>
&gt;&gt; &gt;&gt; without waiting for prior message acknowledgement or wait=
ing for a TCP<br>
&gt;&gt; &gt;&gt; stream to recover in the event of dropped packets.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; TCP seems to be favorable when latency is not critical as=
 it&#39;s<br>
&gt;&gt; &gt;&gt; generally<br>
&gt;&gt; &gt;&gt; (but not always) easier to use. UDP seems favorable when =
latency is<br>
&gt;&gt; &gt;&gt; critical<br>
&gt;&gt; &gt;&gt; as it allows the programmer to control network traffic an=
d tailor it to<br>
&gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; application requirements.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; If anyone has any evidence of internet pathways that sele=
ctively favor<br>
&gt;&gt; &gt;&gt; TCP<br>
&gt;&gt; &gt;&gt; over other traffic, I&#39;d be interested in seeing it.<b=
r>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick &lt;<a h=
ref=3D"mailto:ohmeadhbh@gmail.com">ohmeadhbh@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; do we really know that UDP is what we want, even for =
low latency? if<br>
&gt;&gt; &gt;&gt;&gt; you&#39;re multiplexing messages over a websocket con=
nection, it&#39;s highly<br>
&gt;&gt; &gt;&gt;&gt; likely<br>
&gt;&gt; &gt;&gt;&gt; it&#39;ll be an existing connection (i.e.- it&#39;s l=
ikely one tcp/ip<br>
&gt;&gt; &gt;&gt;&gt; connection<br>
&gt;&gt; &gt;&gt;&gt; will carry several multiplexed websockets messages.)<=
br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; in my tests, UDP doesn&#39;t do much better than TCP =
if you&#39;re near the<br>
&gt;&gt; &gt;&gt;&gt; network rate as it seems a lot of routers tend to dum=
p UDP packets<br>
&gt;&gt; &gt;&gt;&gt; first.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; most modern OSes now have api calls to let you disabl=
e TCP slow-start.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; i guess what i&#39;m saying is it might be a good ide=
a to define messages<br>
&gt;&gt; &gt;&gt;&gt; in<br>
&gt;&gt; &gt;&gt;&gt; a way so they&#39;re transport agnostic. that and I w=
ould wager that any<br>
&gt;&gt; &gt;&gt;&gt; latency<br>
&gt;&gt; &gt;&gt;&gt; improvements from UDP are dwarfed by latency introduc=
ed by application<br>
&gt;&gt; &gt;&gt;&gt; layer<br>
&gt;&gt; &gt;&gt;&gt; mechanisms to replace TCP&#39;s flow control &amp; re=
send semantics.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; just my $0.02.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On Dec 19, 2010 2:34 PM, &quot;SM&quot; &lt;<a href=
=3D"mailto:sm@resistor.net">sm@resistor.net</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt;&gt; vwrap mailing list<br>
&gt;&gt; &gt;&gt;&gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><=
br>
&gt;&gt; &gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwra=
p" target=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; vwrap mailing list<br>
&gt;&gt; &gt;&gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
&gt;&gt; &gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; vwrap mailing list<br>
&gt;&gt; &gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
&gt;&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" targe=
t=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; vwrap mailing list<br>
&gt;&gt; <a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>

--0016e64c3cd49548a60497de2a29--

From morgaine.dinova@googlemail.com  Mon Dec 20 20:37:31 2010
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 479853A6997 for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 20:37:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.257
X-Spam-Level: 
X-Spam-Status: No, score=-2.257 tagged_above=-999 required=5 tests=[AWL=-0.481, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_48=0.6, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-1]
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 VTZ1G36+mFZr for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 20:37:27 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 7D0B73A67EE for <vwrap@ietf.org>; Mon, 20 Dec 2010 20:37:27 -0800 (PST)
Received: by qwg5 with SMTP id 5so3607515qwg.31 for <vwrap@ietf.org>; Mon, 20 Dec 2010 20:39:22 -0800 (PST)
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=uBfRLFSfwsifLE+K64ygDzNdsy3u1SIZYU+6UUrvJZw=; b=UKJ6REMMl0LH/d4pps7w6CSchYbEHohMmPqFqe7K9RAHIHjckkDUqw9gNfDYkZlYx8 kV1E0j7CyM8RS8USRfS+0D1JeypPTLiJwI55XCtlIArEMzHIj5npiQA7KxwYwEq8jp65 K7jcL8SdLZn0k7RJPnCiUh2Ueo0pnnsRIvC4Q=
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=HjWYeYRJZFq2XULNBYxLZ7ktfFv9k0rxOXJNJVpacAWgXYvcWBqOkx7Z3pzgJre621 W3xCz0LbbStcl7SiWb7bBUYxEq+9YVx7Q2+2+Xru2j2ucXE5ls9vb0UYskmgJs/Otho2 h747PmPW3//gXWKUEfP6mEJMC1bR4WhGt+Sp4=
MIME-Version: 1.0
Received: by 10.229.213.202 with SMTP id gx10mr4441314qcb.96.1292906362213; Mon, 20 Dec 2010 20:39:22 -0800 (PST)
Received: by 10.229.91.67 with HTTP; Mon, 20 Dec 2010 20:39:22 -0800 (PST)
In-Reply-To: <AANLkTi=tBq6YELYi8KP4WGiy9dTTApwpddoJnqUJRZfC@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com> <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com> <AANLkTinhzO0=hyxUy++g21uB00tkKqtbMuCEMP00nkki@mail.gmail.com> <AANLkTinH+Ym6oQyKRAfsRiQ_LFjWLUFxtYjGQ0WNaDxf@mail.gmail.com> <AANLkTimOjLygVOuoNbssjwUJ01Ma5nPj4BNRnTZX7cQ-@mail.gmail.com> <AANLkTi=tBq6YELYi8KP4WGiy9dTTApwpddoJnqUJRZfC@mail.gmail.com>
Date: Tue, 21 Dec 2010 04:39:22 +0000
Message-ID: <AANLkTi=q2N76dbRqCsixrg-TC2_PY1DiZE49fUo+_KYQ@mail.gmail.com>
From: Morgaine <morgaine.dinova@googlemail.com>
To: vwrap@ietf.org
Content-Type: multipart/alternative; boundary=00163630f8357298550497e4385e
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Tue, 21 Dec 2010 04:37:31 -0000

--00163630f8357298550497e4385e
Content-Type: text/plain; charset=ISO-8859-1

Although I understand what you meant by "TCP has it's share of problems as
well", I'm going to put my foot down a little here, because the phrase
almost suggests that TCP is not doing its job well enough, or is introducing
additional problems of its own.  I know you didn't mean that, but I want to
make it clear that this is not the issue. :-)

The often-mentioned "problem" of TCP choking message deliveries when a piece
of the sequence is missing is not a problem at all if you want a reliable
data stream.  It's the only possible thing that can occur at that point in
time.  TCP is doing the job which it was designed to do, and which a user of
TCP should expect and require of it.  If TCP didn't block then it would have
failed, because the required data for the stream hasn't yet arrived.  It *
MUST* block.

If TCP is doing its job correctly by blocking, then why does the perception
exist that it is introducing problems by blocking?

The reason is that the developer has incorrectly mapped his or her desired
application semantic of reliable transport of multiple
*independent*messages onto a single reliable data stream in which the
messages have
incorrectly become *sequentially dependent on each other* by being made part
of a single serial stream of delivery.  This is an application design error,
not a TCP failure.

If the developer does not want independent messages to become sequentially
dependent on delivery, then he or she should not use a single TCP stream,
because reliable sequential delivery is TCP's defined semantic.  To do so
and then to complain about TCP blocking independent messages simply makes no
sense.  It's only blocking them because the developer has made them
sequentially dependent.

This incorrect apportioning of blame is made so frequently that it deserves
highlighting.  TCP will not block delivery of independent messages when it
is used correctly, ie. independent messages are given separate TCP streams.
Temporary holdups in the transport of one TCP stream will not block
transport of a second TCP stream, they are entirely independent.

I know I've belabored a point which is almost certainly obvious to everyone
here, but it needs underlining to leave no doubt where the "problem"
actually lies.  It lies not with TCP but with inappropriate application of
TCP channels.

Of course, that leaves us with the interesting question of how to program
TCP-based apps that preserve our desired independent message delivery
semantic without using an infinite number of TCP streams.  It's a great
topic, but it doesn't even reach the agenda for discussion until people
understand that the alleged delivery choking "problem" stemmed from them
writing code that implemented the wrong delivery semantic in the first
place.  TCP is completely blameless! :-)


Morgaine.


================================

On Mon, Dec 20, 2010 at 9:25 PM, Dahlia Trimble <dahliatrimble@gmail.com>wrote:

> I'm not certain that TCP mitigates all of this, it merely moves it out of
> process space. TCP also has additional end-point requirements; depending on
> API design, it may require additional listener threads and associated
> message queueing mechanisms and lock management in order to manage multiple
> asynchronous streams. Streams are still buffered, and while the buffering
> may not exist in process space and may be even shared with mid-stream hosts,
> there are still costs involved with these buffers. Applications cannot
> simply assume they can safely dump as much information into a TCP stream and
> let someone else worry about it, if they did then any congestion that may
> occur in the network (or even the receiving application) will increase
> buffer memory requirements. One way around this may be to limit how much
> data can be pushed into a stream without some form of readiness signal from
> the other end, but might that be considered application level flow control?
>
> If it sounds like I'm advocating UDP for reliable transport, I'm not. I'm
> rather pointing out that TCP has it's share of problems as well.
>
>
>
> On Mon, Dec 20, 2010 at 12:31 PM, Dan Olivares <dcolivares@gmail.com>wrote:
>
>> While OpenSimulator's UDP stack was a learning ground, I'm talking in
>> a more general sense about what UDP is good at while evaluating it's
>> fitness as a technical base for virtual worlds in a web browser.
>>
>> Using UDP with flow control puts the flow control cost squarely on the
>> server managing the connection.     Using TCP, when flow control is
>> required, spreads the cost of the flow control over the devices on the
>> internet.    It also ensures that connections with bad links are
>> segmented.  Regardless of the point of view here(business or
>> technical), UDP with flow control isn't a great option.
>>
>> From a business standpoint, with UDP, the organization hosting the
>> server bears all of the cost of the flow control.   Servers are a
>> costly limited resource.   It makes more sense to spread the load out
>> onto the network and dedicate the servers to more important tasks like
>> hosting an additional simulator that can be rented to increase the
>> bottom line.
>>
>> From a technical standpoint, spreading it out over the network makes
>> it more scalable and fault tolerant.
>>
>> That's not to say that we should throw UDP out the window.   It's good
>> at sending large amounts of quickly expiring data.
>>
>> Regards
>>
>> Daniel Olivares
>>
>>
>>
>> On Mon, Dec 20, 2010 at 2:37 PM, Dahlia Trimble <dahliatrimble@gmail.com>
>> wrote:
>> > I believe part of the problem Dan refers to with CPU load is with the
>> > implementation of LLUDP in OpenSimulator ( http://opensimulator.org ).
>> In
>> > this implementation, the scenegraph simulation server communicates with
>> > multiple clients and much (most?) information is transmitted via UDP,
>> > including many assets which could be retrieved from other sources and
>> using
>> > other protocols. In this case the choice of UDP for *all* communications
>> may
>> > have been a poor one, at least from a scalability perspective. Linden
>> Lab
>> > has recently moved some server<->client information transfer to other
>> > processes outside the main simulation server, and via HTTP protocol. I
>> > suspect as the benefits of this are realized there may be more
>> non-realtime
>> > messaging moving out of Linden's simulator process, and the
>> OpenSimulator
>> > implementation of this protocol will follow.
>> >
>> > On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivares <dcolivares@gmail.com>
>> wrote:
>> >>
>> >> I think, one thing that we've learned by exploring the leading virtual
>> >> world technologies that exist today is that TCP should be used for any
>> >> transmission that requires ordered and reliable delivery.   Doing so,
>> >> shares the 'flow control' load across the devices on the internet (for
>> >> free).
>> >>
>> >> The user level UDP flow control may /seem/ negligible.  With a small
>> >> amount of users and high quality connections, it is negligible.
>> >> However, as the load increases and the quality of the network links
>> >> decreases, there's a considerable spike in CPU time required to
>> >> maintain reliable delivery.  Generally, with UDP, flow control, and
>> >> bad quality or overloaded connections, the load is felt on the CPU of
>> >> the server managing the flow control.   *The quality to CPU usage
>> >> curve is precipitous.*  As the quality of the connection decreases a
>> >> little, the CPU load increases a LOT.  At a certain point, the server
>> >> falls off of the edge of the cliff and can no longer keep up.  Sending
>> >> reliable data in any but the lowest quantity, is far worse for the
>> >> overall user experience over UDP then TCP as the load increases.
>> >> Network congestion, leading to single server CPU overload doesn't just
>> >> affect the experience of one user with a low quality connection.  It
>> >> affects the quality of the experience for every user connected.
>> >> With ISPs de-prioritizing UDP packets, using it for a large amount of
>> >> reliable communication isn't a good option.
>> >>
>> >> UDP is of most benefit when there is a significant amount of
>> >> unreliable traffic that can be dropped if it comes in out of order.
>> >> Real time spacial information, for example, benefits from this
>> >> approach.
>> >>
>> >> The flow control coupled with the quantity of traffic that results
>> >> from the server relaying reliable updates over UDP leaves less CPU
>> >> resources for other things on the server and is one of the reasons for
>> >> the 'SecondLife 100 user Limit'.    Intel reached 1000 users by
>> >> separating the client manager from the world space managing
>> >> server(simulator). (#0)   (There are other reasons for the 100 user
>> >> limit, but they're beyond the scope of this document)
>> >>
>> >>
>> >> TCP has guaranteed delivery of every packet.  In the content space,
>> >> TCP is the most effective delivery mechanism for everything except a
>> >> small subset of technologies.
>> >>
>> >> That doesn't mean that we should throw UDP out.  TCP has it's own
>> >> problems.   With TCP, the load isn't felt on the CPU, it's felt in the
>> >> speed of delivery of the content.
>> >>
>> >> As Dahlia said, every packet must arrive before the next one can begin
>> >> to be sent.  It isn't effective to send large quantities of quickly
>> >> expiring data over TCP.   With multiple types of data requiring
>> >> different speeds of delivery, it also isn't effective stuffing
>> >> everything into the same connection.
>> >>
>> >> Browsers overcome this problem by making multiple temporary
>> >> connections downloading referenced resources immediately after
>> >> downloading a full 'index' (html) content page.
>> >>
>> >> Some people might think that if browsers have overcome this problem
>> >> then it might just be better to use the same technology for virtual
>> >> worlds (HTTP).   There's still an issue with that reasoning.   The
>> >> issue is that HTTP was really designed to transmit files and not a
>> >> 'data stream of multiple objects'.   There is overhead and there are
>> >> restrictions, designed with files in mind, built into HTTP that make
>> >> it, not quite a perfect fit.  You can overlay 'streaming compatible
>> >> files' on top of HTTP but it usually involves establishing several
>> >> connections over time for the same content element.
>> >>
>> >> This is where web sockets find their sweet spot.   It's the middle
>> >> ground, getting the benefits of TCP while not encountering the
>> >> restrictions of HTTP.  You can create multiple TCP connections for
>> >> different types of data allowing you to get around the TCP queue bog.
>> >>  They still don't really solve the 'mass quantities of quickly
>> >> expiring data' problem though, so we still can't throw UDP out the
>> >> window.
>> >>
>> >> In conclusion, at the moment, none of the existing underlying
>> >> protocols are optimal for the complex nature of the data of virtual
>> >> worlds.  However, with some ingenuity and 'out of the box' thinking,
>> >> we can utilize what's there to 'almost' get there.
>> >>
>> >> We do need a few things:
>> >> 1. Web Sockets standard in browsers (we can make due without UDP
>> >> support, but we really really want it)
>> >> 2. Solid, and accepted standard for 3d rendering in the browser.
>> >> (Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed +
>> >> Closed source renderer?, Unity3d + Plugin distribution + closed source
>> >> renderer?)
>> >> 3. Faster JavaScript (Each WebGL frame, fully processed with
>> >> JavaScript is a bit much when you consider the problem space of
>> >> thousands of user created objects being displayed)
>> >>
>> >> Regards
>> >>
>> >> Daniel Olivares
>> >>
>> >> References:
>> >> (0) : http://nwn.blogs.com/nwn/2010/09/intel-science-sim.html
>> >>
>> >>
>> >>
>> >> On Mon, Dec 20, 2010 at 11:44 AM, Morgaine
>> >> <morgaine.dinova@googlemail.com> wrote:
>> >> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble
>> >> > <dahliatrimble@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> If anyone has any evidence of internet pathways that selectively
>> favor
>> >> >> TCP
>> >> >> over other traffic, I'd be interested in seeing it.
>> >> >
>> >> >
>> >> > I have first-hand knowledge of this.  I worked for several years at
>> the
>> >> > Network Operations Centre of a top-tier ISP, and one of my duties was
>> >> > looking after service routers and firewalls.  Policy-based routing
>> and
>> >> > firewall access lists are configured with rulesets which are
>> processed
>> >> > sequentially and eat up router CPU, which is a finite resource.
>> >> >
>> >> > Under off-peak conditions, packet loss is quite rare in the absence
>> of
>> >> > interface or line faults, and router CPUs are scaled to handle the
>> >> > expected
>> >> > load so packets are never dropped willfully.  When networks are
>> >> > congested
>> >> > however, which unfortunately is not uncommon during peak hours owing
>> to
>> >> > the
>> >> > common practice of oversubscribing capacity (or poor scalability
>> >> > planning),
>> >> > CPU load often reaches critical levels, and routers are configured to
>> >> > prioritize certain payload types in favor of others when this
>> happens.
>> >> >
>> >> > TCP always gets top priority because it carries HTTP which is most
>> >> > closely
>> >> > tied to business revenue.  In contrast, UDP (and also ICMP Echo) are
>> >> > normally configured right down the bottom end of the priority list,
>> so
>> >> > under
>> >> > peak load when the CPU has to make a choice what to drop to stay
>> within
>> >> > safe
>> >> > operating limits, UDP gets the chop first.  This was business as
>> usual
>> >> > at
>> >> > the ISP, and that's how the network designers wanted the traffic
>> >> > priorities
>> >> > configured.  (I was merely implementing policy, not creating it.)
>> >> >
>> >> > Gaming fans sometimes complain that ISPs are reducing the quality of
>> >> > service
>> >> > of their UDP traffic, and in some sense it's true.  From my
>> experience
>> >> > it's
>> >> > not done maliciously nor as an conscious policy of network
>> >> > non-neutrality,
>> >> > but simply as a means of protecting the more prized resource of TCP
>> >> > payloads
>> >> > when operating conditions mandate that something has to be thrown
>> away.
>> >> >
>> >> > On the positive side, I've never known UDP packets (nor any other
>> kind)
>> >> > to
>> >> > be dropped willfully for the above reason when all equipment is
>> working
>> >> > within safe design limits and there is enough capacity to carry them.
>> >> > If it
>> >> > happens off-peak then something is very wrong with network sizing, or
>> >> > the
>> >> > equipment is faulty.
>> >> >
>> >> > Unfortunately, that's not the end of the saga with UDP.  It's just
>> the
>> >> > beginning, because there is another big reason for dropped packets,
>> and
>> >> > this
>> >> > one occurs even when equipment is working within its designed
>> operating
>> >> > limits:  traffic shaping.
>> >> >
>> >> > IP traffic shaping is performed by packet queuing as a first resort,
>> to
>> >> > slow
>> >> > down traffic in the hope that the source notices and adapts.  If the
>> >> > packet
>> >> > rate doesn't slow down then the method of last resort is to drop
>> excess
>> >> > packets when queue buffers hit their configured highwater marks.  TCP
>> >> > implements a lot of things to mitigate packet loss, such as slow
>> start,
>> >> > exponential backoff and transmit pacing, with the purpose of adapting
>> >> > transmit rate to receipt rate across paths of limited bandwidth so
>> that
>> >> > traffic-shaping routers don't enter their drop state.
>> >> >
>> >> > UDP has no such flow control, so the onus falls upon the UDP
>> application
>> >> > endpoints to carry out adaptive flow control themselves.  The
>> likelihood
>> >> > of
>> >> > this being done by UDP applications as effectively as it is done in
>> >> > today's
>> >> > finely honed TCP stacks is very low.  It may not even be done at all.
>> >> >
>> >> > As a result, UDP packets can get dropped for being bad network
>> citizens
>> >> > and
>> >> > not slowing down in response to packet queueing and transmit pacing.
>> >> > UDP
>> >> > applications may think that they're free of the shackles of TCP flow
>> >> > control, but they're not.  They either slow down when given the hint,
>> or
>> >> > their traffic gets the chop.  As a result, a UDP application that is
>> >> > oblivious of end-to-end timing should expect packet loss when the
>> >> > network
>> >> > acts to protect itself against congestion.  See RFC-2309 for more
>> >> > details
>> >> > about this issue, in particular "MANAGING AGGRESSIVE FLOWS".  There
>> is
>> >> > no
>> >> > free lunch for UDP packets.
>> >> >
>> >> > This is why the best advice to give prospective users of UDP is
>> "Don't,
>> >> > unless your application is tolerant of packet loss, packet
>> duplication,
>> >> > packet delay, corrupted packets, and out of order delivery."  To try
>> to
>> >> > work
>> >> > around these properties of UDP and make it reliable while
>> simultaneously
>> >> > not
>> >> > impacting on the congestion controls of TCP over the shared path is
>> >> > highly
>> >> > unlikely to be successful, unless you reimplement the clever control
>> >> > features of TCP, and do it compatibly.  Bulldozing your UDP packets
>> >> > through
>> >> > a shared network is not a solution, and will fail.
>> >> >
>> >> > [PS. The problems don't even stop there, as there are further causes
>> of
>> >> > UDP
>> >> > packet loss.  One is the effect of TCP flow-control synchronization
>> on
>> >> > UDP
>> >> > loss rate over congested paths, which counter-intuitively negates any
>> >> > benefit that could result from reducing UDP traffic rates because TCP
>> >> > synchronization picks up any bandwidth slack that reducing UDP
>> traffic
>> >> > has
>> >> > freed.  As a result, TCP congestion actually increases UDP packet
>> drop
>> >> > rates.  (This has been a topic of research.)  Networks protocols have
>> >> > very
>> >> > complex behaviors.]
>> >> >
>> >> >
>> >> > Morgaine.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > ======================================
>> >> >
>> >> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble
>> >> > <dahliatrimble@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> I have used both TCP and UDP in VW applications. I've found that TCP
>> >> >> has
>> >> >> acceptable latency and is not really any worse than UDP when either
>> are
>> >> >> tried over a clean, highly functional connection. I've not seen any
>> >> >> routers
>> >> >> which drop UDP packets in favor of TCP, and I've not seen any
>> evidence
>> >> >> of
>> >> >> better quality TCP connections than UDP in any of my tests. To the
>> >> >> contrary,
>> >> >> I've seen UDP perform much better when network conditions are less
>> than
>> >> >> optimal as small messages can be sent immediately and repeated as
>> >> >> needed
>> >> >> without waiting for prior message acknowledgement or waiting for a
>> TCP
>> >> >> stream to recover in the event of dropped packets.
>> >> >>
>> >> >> TCP seems to be favorable when latency is not critical as it's
>> >> >> generally
>> >> >> (but not always) easier to use. UDP seems favorable when latency is
>> >> >> critical
>> >> >> as it allows the programmer to control network traffic and tailor it
>> to
>> >> >> the
>> >> >> application requirements.
>> >> >>
>> >> >> If anyone has any evidence of internet pathways that selectively
>> favor
>> >> >> TCP
>> >> >> over other traffic, I'd be interested in seeing it.
>> >> >>
>> >> >>
>> >> >> On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <
>> ohmeadhbh@gmail.com>
>> >> >> wrote:
>> >> >>>
>> >> >>> do we really know that UDP is what we want, even for low latency?
>> if
>> >> >>> you're multiplexing messages over a websocket connection, it's
>> highly
>> >> >>> likely
>> >> >>> it'll be an existing connection (i.e.- it's likely one tcp/ip
>> >> >>> connection
>> >> >>> will carry several multiplexed websockets messages.)
>> >> >>>
>> >> >>> in my tests, UDP doesn't do much better than TCP if you're near the
>> >> >>> network rate as it seems a lot of routers tend to dump UDP packets
>> >> >>> first.
>> >> >>>
>> >> >>> most modern OSes now have api calls to let you disable TCP
>> slow-start.
>> >> >>>
>> >> >>> i guess what i'm saying is it might be a good idea to define
>> messages
>> >> >>> in
>> >> >>> a way so they're transport agnostic. that and I would wager that
>> any
>> >> >>> latency
>> >> >>> improvements from UDP are dwarfed by latency introduced by
>> application
>> >> >>> layer
>> >> >>> mechanisms to replace TCP's flow control & resend semantics.
>> >> >>>
>> >> >>> just my $0.02.
>> >> >>>
>> >> >>> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
>> >> >>>
>> >> >>> _______________________________________________
>> >> >>> vwrap mailing list
>> >> >>> vwrap@ietf.org
>> >> >>> https://www.ietf.org/mailman/listinfo/vwrap
>> >> >>>
>> >> >>
>> >> >>
>> >> >> _______________________________________________
>> >> >> vwrap mailing list
>> >> >> vwrap@ietf.org
>> >> >> https://www.ietf.org/mailman/listinfo/vwrap
>> >> >>
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > vwrap mailing list
>> >> > vwrap@ietf.org
>> >> > https://www.ietf.org/mailman/listinfo/vwrap
>> >> >
>> >> >
>> >> _______________________________________________
>> >> vwrap mailing list
>> >> vwrap@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/vwrap
>> >
>> >
>>
>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

--00163630f8357298550497e4385e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Although I understand what you meant by &quot;TCP has it&#39;s share of pro=
blems as well&quot;, I&#39;m going to put my foot down a little here, becau=
se the phrase almost suggests that TCP is not doing its job well enough, or=
 is introducing additional problems of its own.=A0 I know you didn&#39;t me=
an that, but I want to make it clear that this is not the issue. :-)<br>
<br>The often-mentioned &quot;problem&quot; of TCP choking message deliveri=
es when a piece of the sequence is missing is not a problem at all if you w=
ant a reliable data stream.=A0 It&#39;s the only possible thing that can oc=
cur at that point in time.=A0 TCP is doing the job which it was designed to=
 do, and which a user of TCP should expect and require of it.=A0 If TCP did=
n&#39;t block then it would have failed, because the required data for the =
stream hasn&#39;t yet arrived.=A0 It <b>MUST</b> block.<br>
<br>If TCP is doing its job correctly by blocking, then why does the percep=
tion exist that it is introducing problems by blocking?<br><br>The reason i=
s that the developer has incorrectly mapped his or her desired application =
semantic of reliable transport of multiple <b>independent</b> messages onto=
 a single reliable data stream in which the messages have incorrectly becom=
e <b>sequentially dependent on each other</b> by being made part of a singl=
e serial stream of delivery.=A0 This is an application design error, not a =
TCP failure.<br>
<br>If the developer does not want independent messages to become sequentia=
lly dependent on delivery, then he or she should not use a single TCP strea=
m, because reliable sequential delivery is TCP&#39;s defined semantic.=A0 T=
o do so and then to complain about TCP blocking independent messages simply=
 makes no sense.=A0 It&#39;s only blocking them because the developer has m=
ade them sequentially dependent.<br>
<br>This incorrect apportioning of blame is made so frequently that it dese=
rves highlighting.=A0 TCP will not block delivery of independent messages w=
hen it is used correctly, ie. independent messages are given separate TCP s=
treams.=A0 Temporary holdups in the transport of one TCP stream will not bl=
ock transport of a second TCP stream, they are entirely independent. <br>
<br>I know I&#39;ve belabored a point which is almost certainly obvious to =
everyone here, but it needs underlining to leave no doubt where the &quot;p=
roblem&quot; actually lies.=A0 It lies not with TCP but with inappropriate =
application of TCP channels.<br>
<br>Of course, that leaves us with the interesting question of how to progr=
am TCP-based apps that preserve our desired independent message delivery se=
mantic without using an infinite number of TCP streams.=A0 It&#39;s a great=
 topic, but it doesn&#39;t even reach the agenda for discussion until peopl=
e understand that the alleged delivery choking &quot;problem&quot; stemmed =
from them writing code that implemented the wrong delivery semantic in the =
first place.=A0 TCP is completely blameless! :-)<br>
<br><br>Morgaine.<br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br><br><div class=3D"gm=
ail_quote">On Mon, Dec 20, 2010 at 9:25 PM, Dahlia Trimble <span dir=3D"ltr=
">&lt;<a href=3D"mailto:dahliatrimble@gmail.com">dahliatrimble@gmail.com</a=
>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> I&#39;m not cert=
ain that TCP mitigates all of this, it merely moves it out of process space=
. TCP also has additional end-point requirements; depending on API design, =
it may require additional listener threads and associated message queueing =
mechanisms and lock management in order to manage multiple asynchronous str=
eams. Streams are still buffered, and while the buffering may not exist in =
process space and may be even shared with mid-stream hosts, there are still=
 costs involved with these buffers. Applications cannot simply assume they =
can safely dump as much information into a TCP stream and let someone else =
worry about it, if they did then any congestion that may occur in the netwo=
rk (or even the receiving application) will increase buffer memory requirem=
ents. One way around this may be to limit how much data can be pushed into =
a stream without some form of readiness signal from the other end, but migh=
t that be considered application level flow control?<br>

<br>If it sounds like I&#39;m advocating UDP for reliable transport, I&#39;=
m not. I&#39;m rather pointing out that TCP has it&#39;s share of problems =
as well.<div><div></div><div class=3D"h5"><br><br><br><div class=3D"gmail_q=
uote">
On Mon, Dec 20, 2010 at 12:31 PM, Dan Olivares <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:dcolivares@gmail.com" target=3D"_blank">dcolivares@gmail.com</a=
>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">While OpenSimulat=
or&#39;s UDP stack was a learning ground, I&#39;m talking in<br>
a more general sense about what UDP is good at while evaluating it&#39;s<br=
>
fitness as a technical base for virtual worlds in a web browser.<br>
<br>
Using UDP with flow control puts the flow control cost squarely on the<br>
server managing the connection. =A0 =A0 Using TCP, when flow control is<br>
required, spreads the cost of the flow control over the devices on the<br>
internet. =A0 =A0It also ensures that connections with bad links are<br>
segmented. =A0Regardless of the point of view here(business or<br>
technical), UDP with flow control isn&#39;t a great option.<br>
<br>
>From a business standpoint, with UDP, the organization hosting the<br>
server bears all of the cost of the flow control. =A0 Servers are a<br>
costly limited resource. =A0 It makes more sense to spread the load out<br>
onto the network and dedicate the servers to more important tasks like<br>
hosting an additional simulator that can be rented to increase the<br>
bottom line.<br>
<br>
>From a technical standpoint, spreading it out over the network makes<br>
it more scalable and fault tolerant.<br>
<br>
That&#39;s not to say that we should throw UDP out the window. =A0 It&#39;s=
 good<br>
at sending large amounts of quickly expiring data.<br>
<br>
Regards<br>
<br>
Daniel Olivares<br>
<div><div></div><div><br>
<br>
<br>
On Mon, Dec 20, 2010 at 2:37 PM, Dahlia Trimble &lt;<a href=3D"mailto:dahli=
atrimble@gmail.com" target=3D"_blank">dahliatrimble@gmail.com</a>&gt; wrote=
:<br>
&gt; I believe part of the problem Dan refers to with CPU load is with the<=
br>
&gt; implementation of LLUDP in OpenSimulator ( <a href=3D"http://opensimul=
ator.org" target=3D"_blank">http://opensimulator.org</a> ). In<br>
&gt; this implementation, the scenegraph simulation server communicates wit=
h<br>
&gt; multiple clients and much (most?) information is transmitted via UDP,<=
br>
&gt; including many assets which could be retrieved from other sources and =
using<br>
&gt; other protocols. In this case the choice of UDP for *all* communicatio=
ns may<br>
&gt; have been a poor one, at least from a scalability perspective. Linden =
Lab<br>
&gt; has recently moved some server&lt;-&gt;client information transfer to =
other<br>
&gt; processes outside the main simulation server, and via HTTP protocol. I=
<br>
&gt; suspect as the benefits of this are realized there may be more non-rea=
ltime<br>
&gt; messaging moving out of Linden&#39;s simulator process, and the OpenSi=
mulator<br>
&gt; implementation of this protocol will follow.<br>
&gt;<br>
&gt; On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivares &lt;<a href=3D"mailto:d=
colivares@gmail.com" target=3D"_blank">dcolivares@gmail.com</a>&gt; wrote:<=
br>
&gt;&gt;<br>
&gt;&gt; I think, one thing that we&#39;ve learned by exploring the leading=
 virtual<br>
&gt;&gt; world technologies that exist today is that TCP should be used for=
 any<br>
&gt;&gt; transmission that requires ordered and reliable delivery. =A0 Doin=
g so,<br>
&gt;&gt; shares the &#39;flow control&#39; load across the devices on the i=
nternet (for<br>
&gt;&gt; free).<br>
&gt;&gt;<br>
&gt;&gt; The user level UDP flow control may /seem/ negligible. =A0With a s=
mall<br>
&gt;&gt; amount of users and high quality connections, it is negligible.<br=
>
&gt;&gt; However, as the load increases and the quality of the network link=
s<br>
&gt;&gt; decreases, there&#39;s a considerable spike in CPU time required t=
o<br>
&gt;&gt; maintain reliable delivery. =A0Generally, with UDP, flow control, =
and<br>
&gt;&gt; bad quality or overloaded connections, the load is felt on the CPU=
 of<br>
&gt;&gt; the server managing the flow control. =A0 *The quality to CPU usag=
e<br>
&gt;&gt; curve is precipitous.* =A0As the quality of the connection decreas=
es a<br>
&gt;&gt; little, the CPU load increases a LOT. =A0At a certain point, the s=
erver<br>
&gt;&gt; falls off of the edge of the cliff and can no longer keep up. =A0S=
ending<br>
&gt;&gt; reliable data in any but the lowest quantity, is far worse for the=
<br>
&gt;&gt; overall user experience over UDP then TCP as the load increases.<b=
r>
&gt;&gt; Network congestion, leading to single server CPU overload doesn&#3=
9;t just<br>
&gt;&gt; affect the experience of one user with a low quality connection. =
=A0It<br>
&gt;&gt; affects the quality of the experience for every user connected.<br=
>
&gt;&gt; With ISPs de-prioritizing UDP packets, using it for a large amount=
 of<br>
&gt;&gt; reliable communication isn&#39;t a good option.<br>
&gt;&gt;<br>
&gt;&gt; UDP is of most benefit when there is a significant amount of<br>
&gt;&gt; unreliable traffic that can be dropped if it comes in out of order=
.<br>
&gt;&gt; Real time spacial information, for example, benefits from this<br>
&gt;&gt; approach.<br>
&gt;&gt;<br>
&gt;&gt; The flow control coupled with the quantity of traffic that results=
<br>
&gt;&gt; from the server relaying reliable updates over UDP leaves less CPU=
<br>
&gt;&gt; resources for other things on the server and is one of the reasons=
 for<br>
&gt;&gt; the &#39;SecondLife 100 user Limit&#39;. =A0 =A0Intel reached 1000=
 users by<br>
&gt;&gt; separating the client manager from the world space managing<br>
&gt;&gt; server(simulator). (#0) =A0 (There are other reasons for the 100 u=
ser<br>
&gt;&gt; limit, but they&#39;re beyond the scope of this document)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; TCP has guaranteed delivery of every packet. =A0In the content spa=
ce,<br>
&gt;&gt; TCP is the most effective delivery mechanism for everything except=
 a<br>
&gt;&gt; small subset of technologies.<br>
&gt;&gt;<br>
&gt;&gt; That doesn&#39;t mean that we should throw UDP out. =A0TCP has it&=
#39;s own<br>
&gt;&gt; problems. =A0 With TCP, the load isn&#39;t felt on the CPU, it&#39=
;s felt in the<br>
&gt;&gt; speed of delivery of the content.<br>
&gt;&gt;<br>
&gt;&gt; As Dahlia said, every packet must arrive before the next one can b=
egin<br>
&gt;&gt; to be sent. =A0It isn&#39;t effective to send large quantities of =
quickly<br>
&gt;&gt; expiring data over TCP. =A0 With multiple types of data requiring<=
br>
&gt;&gt; different speeds of delivery, it also isn&#39;t effective stuffing=
<br>
&gt;&gt; everything into the same connection.<br>
&gt;&gt;<br>
&gt;&gt; Browsers overcome this problem by making multiple temporary<br>
&gt;&gt; connections downloading referenced resources immediately after<br>
&gt;&gt; downloading a full &#39;index&#39; (html) content page.<br>
&gt;&gt;<br>
&gt;&gt; Some people might think that if browsers have overcome this proble=
m<br>
&gt;&gt; then it might just be better to use the same technology for virtua=
l<br>
&gt;&gt; worlds (HTTP). =A0 There&#39;s still an issue with that reasoning.=
 =A0 The<br>
&gt;&gt; issue is that HTTP was really designed to transmit files and not a=
<br>
&gt;&gt; &#39;data stream of multiple objects&#39;. =A0 There is overhead a=
nd there are<br>
&gt;&gt; restrictions, designed with files in mind, built into HTTP that ma=
ke<br>
&gt;&gt; it, not quite a perfect fit. =A0You can overlay &#39;streaming com=
patible<br>
&gt;&gt; files&#39; on top of HTTP but it usually involves establishing sev=
eral<br>
&gt;&gt; connections over time for the same content element.<br>
&gt;&gt;<br>
&gt;&gt; This is where web sockets find their sweet spot. =A0 It&#39;s the =
middle<br>
&gt;&gt; ground, getting the benefits of TCP while not encountering the<br>
&gt;&gt; restrictions of HTTP. =A0You can create multiple TCP connections f=
or<br>
&gt;&gt; different types of data allowing you to get around the TCP queue b=
og.<br>
&gt;&gt; =A0They still don&#39;t really solve the &#39;mass quantities of q=
uickly<br>
&gt;&gt; expiring data&#39; problem though, so we still can&#39;t throw UDP=
 out the<br>
&gt;&gt; window.<br>
&gt;&gt;<br>
&gt;&gt; In conclusion, at the moment, none of the existing underlying<br>
&gt;&gt; protocols are optimal for the complex nature of the data of virtua=
l<br>
&gt;&gt; worlds. =A0However, with some ingenuity and &#39;out of the box&#3=
9; thinking,<br>
&gt;&gt; we can utilize what&#39;s there to &#39;almost&#39; get there.<br>
&gt;&gt;<br>
&gt;&gt; We do need a few things:<br>
&gt;&gt; 1. Web Sockets standard in browsers (we can make due without UDP<b=
r>
&gt;&gt; support, but we really really want it)<br>
&gt;&gt; 2. Solid, and accepted standard for 3d rendering in the browser.<b=
r>
&gt;&gt; (Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed =
+<br>
&gt;&gt; Closed source renderer?, Unity3d + Plugin distribution + closed so=
urce<br>
&gt;&gt; renderer?)<br>
&gt;&gt; 3. Faster JavaScript (Each WebGL frame, fully processed with<br>
&gt;&gt; JavaScript is a bit much when you consider the problem space of<br=
>
&gt;&gt; thousands of user created objects being displayed)<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt;<br>
&gt;&gt; Daniel Olivares<br>
&gt;&gt;<br>
&gt;&gt; References:<br>
&gt;&gt; (0) : <a href=3D"http://nwn.blogs.com/nwn/2010/09/intel-science-si=
m.html" target=3D"_blank">http://nwn.blogs.com/nwn/2010/09/intel-science-si=
m.html</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Dec 20, 2010 at 11:44 AM, Morgaine<br>
&gt;&gt; &lt;<a href=3D"mailto:morgaine.dinova@googlemail.com" target=3D"_b=
lank">morgaine.dinova@googlemail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble<br>
&gt;&gt; &gt; &lt;<a href=3D"mailto:dahliatrimble@gmail.com" target=3D"_bla=
nk">dahliatrimble@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; If anyone has any evidence of internet pathways that sele=
ctively favor<br>
&gt;&gt; &gt;&gt; TCP<br>
&gt;&gt; &gt;&gt; over other traffic, I&#39;d be interested in seeing it.<b=
r>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have first-hand knowledge of this.=A0 I worked for several =
years at the<br>
&gt;&gt; &gt; Network Operations Centre of a top-tier ISP, and one of my du=
ties was<br>
&gt;&gt; &gt; looking after service routers and firewalls.=A0 Policy-based =
routing and<br>
&gt;&gt; &gt; firewall access lists are configured with rulesets which are =
processed<br>
&gt;&gt; &gt; sequentially and eat up router CPU, which is a finite resourc=
e.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Under off-peak conditions, packet loss is quite rare in the a=
bsence of<br>
&gt;&gt; &gt; interface or line faults, and router CPUs are scaled to handl=
e the<br>
&gt;&gt; &gt; expected<br>
&gt;&gt; &gt; load so packets are never dropped willfully.=A0 When networks=
 are<br>
&gt;&gt; &gt; congested<br>
&gt;&gt; &gt; however, which unfortunately is not uncommon during peak hour=
s owing to<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; common practice of oversubscribing capacity (or poor scalabil=
ity<br>
&gt;&gt; &gt; planning),<br>
&gt;&gt; &gt; CPU load often reaches critical levels, and routers are confi=
gured to<br>
&gt;&gt; &gt; prioritize certain payload types in favor of others when this=
 happens.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; TCP always gets top priority because it carries HTTP which is=
 most<br>
&gt;&gt; &gt; closely<br>
&gt;&gt; &gt; tied to business revenue.=A0 In contrast, UDP (and also ICMP =
Echo) are<br>
&gt;&gt; &gt; normally configured right down the bottom end of the priority=
 list, so<br>
&gt;&gt; &gt; under<br>
&gt;&gt; &gt; peak load when the CPU has to make a choice what to drop to s=
tay within<br>
&gt;&gt; &gt; safe<br>
&gt;&gt; &gt; operating limits, UDP gets the chop first.=A0 This was busine=
ss as usual<br>
&gt;&gt; &gt; at<br>
&gt;&gt; &gt; the ISP, and that&#39;s how the network designers wanted the =
traffic<br>
&gt;&gt; &gt; priorities<br>
&gt;&gt; &gt; configured.=A0 (I was merely implementing policy, not creatin=
g it.)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Gaming fans sometimes complain that ISPs are reducing the qua=
lity of<br>
&gt;&gt; &gt; service<br>
&gt;&gt; &gt; of their UDP traffic, and in some sense it&#39;s true.=A0 Fro=
m my experience<br>
&gt;&gt; &gt; it&#39;s<br>
&gt;&gt; &gt; not done maliciously nor as an conscious policy of network<br=
>
&gt;&gt; &gt; non-neutrality,<br>
&gt;&gt; &gt; but simply as a means of protecting the more prized resource =
of TCP<br>
&gt;&gt; &gt; payloads<br>
&gt;&gt; &gt; when operating conditions mandate that something has to be th=
rown away.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On the positive side, I&#39;ve never known UDP packets (nor a=
ny other kind)<br>
&gt;&gt; &gt; to<br>
&gt;&gt; &gt; be dropped willfully for the above reason when all equipment =
is working<br>
&gt;&gt; &gt; within safe design limits and there is enough capacity to car=
ry them.<br>
&gt;&gt; &gt; If it<br>
&gt;&gt; &gt; happens off-peak then something is very wrong with network si=
zing, or<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; equipment is faulty.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Unfortunately, that&#39;s not the end of the saga with UDP.=
=A0 It&#39;s just the<br>
&gt;&gt; &gt; beginning, because there is another big reason for dropped pa=
ckets, and<br>
&gt;&gt; &gt; this<br>
&gt;&gt; &gt; one occurs even when equipment is working within its designed=
 operating<br>
&gt;&gt; &gt; limits:=A0 traffic shaping.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; IP traffic shaping is performed by packet queuing as a first =
resort, to<br>
&gt;&gt; &gt; slow<br>
&gt;&gt; &gt; down traffic in the hope that the source notices and adapts.=
=A0 If the<br>
&gt;&gt; &gt; packet<br>
&gt;&gt; &gt; rate doesn&#39;t slow down then the method of last resort is =
to drop excess<br>
&gt;&gt; &gt; packets when queue buffers hit their configured highwater mar=
ks.=A0 TCP<br>
&gt;&gt; &gt; implements a lot of things to mitigate packet loss, such as s=
low start,<br>
&gt;&gt; &gt; exponential backoff and transmit pacing, with the purpose of =
adapting<br>
&gt;&gt; &gt; transmit rate to receipt rate across paths of limited bandwid=
th so that<br>
&gt;&gt; &gt; traffic-shaping routers don&#39;t enter their drop state.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; UDP has no such flow control, so the onus falls upon the UDP =
application<br>
&gt;&gt; &gt; endpoints to carry out adaptive flow control themselves.=A0 T=
he likelihood<br>
&gt;&gt; &gt; of<br>
&gt;&gt; &gt; this being done by UDP applications as effectively as it is d=
one in<br>
&gt;&gt; &gt; today&#39;s<br>
&gt;&gt; &gt; finely honed TCP stacks is very low.=A0 It may not even be do=
ne at all.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; As a result, UDP packets can get dropped for being bad networ=
k citizens<br>
&gt;&gt; &gt; and<br>
&gt;&gt; &gt; not slowing down in response to packet queueing and transmit =
pacing.<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; applications may think that they&#39;re free of the shackles =
of TCP flow<br>
&gt;&gt; &gt; control, but they&#39;re not.=A0 They either slow down when g=
iven the hint, or<br>
&gt;&gt; &gt; their traffic gets the chop.=A0 As a result, a UDP applicatio=
n that is<br>
&gt;&gt; &gt; oblivious of end-to-end timing should expect packet loss when=
 the<br>
&gt;&gt; &gt; network<br>
&gt;&gt; &gt; acts to protect itself against congestion.=A0 See RFC-2309 fo=
r more<br>
&gt;&gt; &gt; details<br>
&gt;&gt; &gt; about this issue, in particular &quot;MANAGING AGGRESSIVE FLO=
WS&quot;.=A0 There is<br>
&gt;&gt; &gt; no<br>
&gt;&gt; &gt; free lunch for UDP packets.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; This is why the best advice to give prospective users of UDP =
is &quot;Don&#39;t,<br>
&gt;&gt; &gt; unless your application is tolerant of packet loss, packet du=
plication,<br>
&gt;&gt; &gt; packet delay, corrupted packets, and out of order delivery.&q=
uot;=A0 To try to<br>
&gt;&gt; &gt; work<br>
&gt;&gt; &gt; around these properties of UDP and make it reliable while sim=
ultaneously<br>
&gt;&gt; &gt; not<br>
&gt;&gt; &gt; impacting on the congestion controls of TCP over the shared p=
ath is<br>
&gt;&gt; &gt; highly<br>
&gt;&gt; &gt; unlikely to be successful, unless you reimplement the clever =
control<br>
&gt;&gt; &gt; features of TCP, and do it compatibly.=A0 Bulldozing your UDP=
 packets<br>
&gt;&gt; &gt; through<br>
&gt;&gt; &gt; a shared network is not a solution, and will fail.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; [PS. The problems don&#39;t even stop there, as there are fur=
ther causes of<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; packet loss.=A0 One is the effect of TCP flow-control synchro=
nization on<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; loss rate over congested paths, which counter-intuitively neg=
ates any<br>
&gt;&gt; &gt; benefit that could result from reducing UDP traffic rates bec=
ause TCP<br>
&gt;&gt; &gt; synchronization picks up any bandwidth slack that reducing UD=
P traffic<br>
&gt;&gt; &gt; has<br>
&gt;&gt; &gt; freed.=A0 As a result, TCP congestion actually increases UDP =
packet drop<br>
&gt;&gt; &gt; rates.=A0 (This has been a topic of research.)=A0 Networks pr=
otocols have<br>
&gt;&gt; &gt; very<br>
&gt;&gt; &gt; complex behaviors.]<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Morgaine.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble<br>
&gt;&gt; &gt; &lt;<a href=3D"mailto:dahliatrimble@gmail.com" target=3D"_bla=
nk">dahliatrimble@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I have used both TCP and UDP in VW applications. I&#39;ve=
 found that TCP<br>
&gt;&gt; &gt;&gt; has<br>
&gt;&gt; &gt;&gt; acceptable latency and is not really any worse than UDP w=
hen either are<br>
&gt;&gt; &gt;&gt; tried over a clean, highly functional connection. I&#39;v=
e not seen any<br>
&gt;&gt; &gt;&gt; routers<br>
&gt;&gt; &gt;&gt; which drop UDP packets in favor of TCP, and I&#39;ve not =
seen any evidence<br>
&gt;&gt; &gt;&gt; of<br>
&gt;&gt; &gt;&gt; better quality TCP connections than UDP in any of my test=
s. To the<br>
&gt;&gt; &gt;&gt; contrary,<br>
&gt;&gt; &gt;&gt; I&#39;ve seen UDP perform much better when network condit=
ions are less than<br>
&gt;&gt; &gt;&gt; optimal as small messages can be sent immediately and rep=
eated as<br>
&gt;&gt; &gt;&gt; needed<br>
&gt;&gt; &gt;&gt; without waiting for prior message acknowledgement or wait=
ing for a TCP<br>
&gt;&gt; &gt;&gt; stream to recover in the event of dropped packets.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; TCP seems to be favorable when latency is not critical as=
 it&#39;s<br>
&gt;&gt; &gt;&gt; generally<br>
&gt;&gt; &gt;&gt; (but not always) easier to use. UDP seems favorable when =
latency is<br>
&gt;&gt; &gt;&gt; critical<br>
&gt;&gt; &gt;&gt; as it allows the programmer to control network traffic an=
d tailor it to<br>
&gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; application requirements.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; If anyone has any evidence of internet pathways that sele=
ctively favor<br>
&gt;&gt; &gt;&gt; TCP<br>
&gt;&gt; &gt;&gt; over other traffic, I&#39;d be interested in seeing it.<b=
r>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick &lt;<a h=
ref=3D"mailto:ohmeadhbh@gmail.com" target=3D"_blank">ohmeadhbh@gmail.com</a=
>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; do we really know that UDP is what we want, even for =
low latency? if<br>
&gt;&gt; &gt;&gt;&gt; you&#39;re multiplexing messages over a websocket con=
nection, it&#39;s highly<br>
&gt;&gt; &gt;&gt;&gt; likely<br>
&gt;&gt; &gt;&gt;&gt; it&#39;ll be an existing connection (i.e.- it&#39;s l=
ikely one tcp/ip<br>
&gt;&gt; &gt;&gt;&gt; connection<br>
&gt;&gt; &gt;&gt;&gt; will carry several multiplexed websockets messages.)<=
br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; in my tests, UDP doesn&#39;t do much better than TCP =
if you&#39;re near the<br>
&gt;&gt; &gt;&gt;&gt; network rate as it seems a lot of routers tend to dum=
p UDP packets<br>
&gt;&gt; &gt;&gt;&gt; first.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; most modern OSes now have api calls to let you disabl=
e TCP slow-start.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; i guess what i&#39;m saying is it might be a good ide=
a to define messages<br>
&gt;&gt; &gt;&gt;&gt; in<br>
&gt;&gt; &gt;&gt;&gt; a way so they&#39;re transport agnostic. that and I w=
ould wager that any<br>
&gt;&gt; &gt;&gt;&gt; latency<br>
&gt;&gt; &gt;&gt;&gt; improvements from UDP are dwarfed by latency introduc=
ed by application<br>
&gt;&gt; &gt;&gt;&gt; layer<br>
&gt;&gt; &gt;&gt;&gt; mechanisms to replace TCP&#39;s flow control &amp; re=
send semantics.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; just my $0.02.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On Dec 19, 2010 2:34 PM, &quot;SM&quot; &lt;<a href=
=3D"mailto:sm@resistor.net" target=3D"_blank">sm@resistor.net</a>&gt; wrote=
:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt;&gt; vwrap mailing list<br>
&gt;&gt; &gt;&gt;&gt; <a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">v=
wrap@ietf.org</a><br>
&gt;&gt; &gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwra=
p" target=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; vwrap mailing list<br>
&gt;&gt; &gt;&gt; <a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap=
@ietf.org</a><br>
&gt;&gt; &gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; vwrap mailing list<br>
&gt;&gt; &gt; <a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@iet=
f.org</a><br>
&gt;&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" targe=
t=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; vwrap mailing list<br>
&gt;&gt; <a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org=
</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>

--00163630f8357298550497e4385e--

From dahliatrimble@gmail.com  Mon Dec 20 21:30:04 2010
Return-Path: <dahliatrimble@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 14BBB3A699E for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 21:30:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.638
X-Spam-Level: 
X-Spam-Status: No, score=-2.638 tagged_above=-999 required=5 tests=[AWL=-0.240, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_48=0.6, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-1]
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 QXbB-ikTaBR3 for <vwrap@core3.amsl.com>; Mon, 20 Dec 2010 21:30:00 -0800 (PST)
Received: from mail-wy0-f194.google.com (mail-wy0-f194.google.com [74.125.82.194]) by core3.amsl.com (Postfix) with ESMTP id A17543A69B5 for <vwrap@ietf.org>; Mon, 20 Dec 2010 21:29:59 -0800 (PST)
Received: by wyf23 with SMTP id 23so1262577wyf.1 for <vwrap@ietf.org>; Mon, 20 Dec 2010 21:31:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=r/7HsTqHsJdrM2fCFGiRrjDg8f7fuLvh82QZKRfaivw=; b=uY9yo4JRwqNRUPOpDRdIDQm67eZDUjfdwZ1yv4cuzBZ/5VMO0upreNd4cL31bXgY2G DkwpS3ufyv9XnmXOAvvaY8BYSPBZyqokyekfZcudIP4YGPSfv3lSsEIU7F7eAZMgvtug HbqZrWIvEbe9iD+aUSoBrpzvxBIQpe3/Um4JI=
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=TwM+pjg79o9ufLYCqOYFvLUvAlfpSqn0Hl/jshJ6FpxkRVt65kli2rmTkfZE7TJAWT smVZdaR48h1KTE1ympyJNU5E2LBheNwCiEFfru/56BPYi7c8sIXev4znWDI7cM4hSXL2 8le71HocbrRqTMn6IVu+I1jhPgT+zyOmDiBLw=
MIME-Version: 1.0
Received: by 10.216.4.2 with SMTP id 2mr5720469wei.51.1292909511996; Mon, 20 Dec 2010 21:31:51 -0800 (PST)
Received: by 10.216.86.210 with HTTP; Mon, 20 Dec 2010 21:31:51 -0800 (PST)
In-Reply-To: <AANLkTi=q2N76dbRqCsixrg-TC2_PY1DiZE49fUo+_KYQ@mail.gmail.com>
References: <AANLkTintjQdAS=EWfiRu3oWenB42LKsNzJPDJ+5ofBRO@mail.gmail.com> <AANLkTinhWObg6Te2VtGYKXsxBG5=gVDS5szmjtLeOgnm@mail.gmail.com> <AANLkTikYn-iA7osXT_oW8rL61GhK57pp7uJVmTSGVvj7@mail.gmail.com> <AANLkTikFWUxQyT9aNFBk7-Fdb5bNdFT9Bj-dehqVP0WN@mail.gmail.com> <6.2.5.6.2.20101219141829.0a381da8@resistor.net> <AANLkTik-1m=4OOeQN=D3w2t-G-f6DNKwDOmhT5_bNkmb@mail.gmail.com> <AANLkTinMstkDv5iq6usxbe1djK7GkPrOAjpKYANyMxcy@mail.gmail.com> <AANLkTimHUOwSMCWxAOyMH1O6XwiebOfep2AfN898pETR@mail.gmail.com> <AANLkTi=LZ9s-dMmOUz79RrKbHcgMS-OU452qr4MS1ex+@mail.gmail.com> <AANLkTinhzO0=hyxUy++g21uB00tkKqtbMuCEMP00nkki@mail.gmail.com> <AANLkTinH+Ym6oQyKRAfsRiQ_LFjWLUFxtYjGQ0WNaDxf@mail.gmail.com> <AANLkTimOjLygVOuoNbssjwUJ01Ma5nPj4BNRnTZX7cQ-@mail.gmail.com> <AANLkTi=tBq6YELYi8KP4WGiy9dTTApwpddoJnqUJRZfC@mail.gmail.com> <AANLkTi=q2N76dbRqCsixrg-TC2_PY1DiZE49fUo+_KYQ@mail.gmail.com>
Date: Mon, 20 Dec 2010 21:31:51 -0800
Message-ID: <AANLkTimaGysm1xUFuePE5xA0+2eZt2XR_q53RQ_oAu7s@mail.gmail.com>
From: Dahlia Trimble <dahliatrimble@gmail.com>
To: Morgaine <morgaine.dinova@googlemail.com>
Content-Type: multipart/alternative; boundary=0016364c7b9f3074b70497e4f421
Cc: vwrap@ietf.org
Subject: Re: [vwrap] Technical basis for VW client in a web browser?
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: Tue, 21 Dec 2010 05:30:04 -0000

--0016364c7b9f3074b70497e4f421
Content-Type: text/plain; charset=ISO-8859-1

No I didn't mean to imply that TCP was flawed at all. From what I've seen it
performs exceptionally well when used in the way for which it was designed.
However, when using it outside of that space, problems do crop up. I've also
seen problems that are *related to the use* of TCP, such as asynchronous
networking APIs that require threading and the potential for programmer
error and/or deadlocking with poorly designed locking schemes when multiple
asynchronous threads are used. I've also seen application APIs that lack
sufficient thread management methods to allow these threads to be cleaned up
properly when applications end, leading to system instability. Not a problem
with TCP, more a problem with implementation.

On Mon, Dec 20, 2010 at 8:39 PM, Morgaine <morgaine.dinova@googlemail.com>wrote:

> Although I understand what you meant by "TCP has it's share of problems as
> well", I'm going to put my foot down a little here, because the phrase
> almost suggests that TCP is not doing its job well enough, or is introducing
> additional problems of its own.  I know you didn't mean that, but I want to
> make it clear that this is not the issue. :-)
>
> The often-mentioned "problem" of TCP choking message deliveries when a
> piece of the sequence is missing is not a problem at all if you want a
> reliable data stream.  It's the only possible thing that can occur at that
> point in time.  TCP is doing the job which it was designed to do, and which
> a user of TCP should expect and require of it.  If TCP didn't block then it
> would have failed, because the required data for the stream hasn't yet
> arrived.  It *MUST* block.
>
> If TCP is doing its job correctly by blocking, then why does the perception
> exist that it is introducing problems by blocking?
>
> The reason is that the developer has incorrectly mapped his or her desired
> application semantic of reliable transport of multiple *independent*messages onto a single reliable data stream in which the messages have
> incorrectly become *sequentially dependent on each other* by being made
> part of a single serial stream of delivery.  This is an application design
> error, not a TCP failure.
>
> If the developer does not want independent messages to become sequentially
> dependent on delivery, then he or she should not use a single TCP stream,
> because reliable sequential delivery is TCP's defined semantic.  To do so
> and then to complain about TCP blocking independent messages simply makes no
> sense.  It's only blocking them because the developer has made them
> sequentially dependent.
>
> This incorrect apportioning of blame is made so frequently that it deserves
> highlighting.  TCP will not block delivery of independent messages when it
> is used correctly, ie. independent messages are given separate TCP streams.
> Temporary holdups in the transport of one TCP stream will not block
> transport of a second TCP stream, they are entirely independent.
>
> I know I've belabored a point which is almost certainly obvious to everyone
> here, but it needs underlining to leave no doubt where the "problem"
> actually lies.  It lies not with TCP but with inappropriate application of
> TCP channels.
>
> Of course, that leaves us with the interesting question of how to program
> TCP-based apps that preserve our desired independent message delivery
> semantic without using an infinite number of TCP streams.  It's a great
> topic, but it doesn't even reach the agenda for discussion until people
> understand that the alleged delivery choking "problem" stemmed from them
> writing code that implemented the wrong delivery semantic in the first
> place.  TCP is completely blameless! :-)
>
>
> Morgaine.
>
>
> ================================
>
>
> On Mon, Dec 20, 2010 at 9:25 PM, Dahlia Trimble <dahliatrimble@gmail.com>wrote:
>
>> I'm not certain that TCP mitigates all of this, it merely moves it out of
>> process space. TCP also has additional end-point requirements; depending on
>> API design, it may require additional listener threads and associated
>> message queueing mechanisms and lock management in order to manage multiple
>> asynchronous streams. Streams are still buffered, and while the buffering
>> may not exist in process space and may be even shared with mid-stream hosts,
>> there are still costs involved with these buffers. Applications cannot
>> simply assume they can safely dump as much information into a TCP stream and
>> let someone else worry about it, if they did then any congestion that may
>> occur in the network (or even the receiving application) will increase
>> buffer memory requirements. One way around this may be to limit how much
>> data can be pushed into a stream without some form of readiness signal from
>> the other end, but might that be considered application level flow control?
>>
>> If it sounds like I'm advocating UDP for reliable transport, I'm not. I'm
>> rather pointing out that TCP has it's share of problems as well.
>>
>>
>>
>> On Mon, Dec 20, 2010 at 12:31 PM, Dan Olivares <dcolivares@gmail.com>wrote:
>>
>>> While OpenSimulator's UDP stack was a learning ground, I'm talking in
>>> a more general sense about what UDP is good at while evaluating it's
>>> fitness as a technical base for virtual worlds in a web browser.
>>>
>>> Using UDP with flow control puts the flow control cost squarely on the
>>> server managing the connection.     Using TCP, when flow control is
>>> required, spreads the cost of the flow control over the devices on the
>>> internet.    It also ensures that connections with bad links are
>>> segmented.  Regardless of the point of view here(business or
>>> technical), UDP with flow control isn't a great option.
>>>
>>> From a business standpoint, with UDP, the organization hosting the
>>> server bears all of the cost of the flow control.   Servers are a
>>> costly limited resource.   It makes more sense to spread the load out
>>> onto the network and dedicate the servers to more important tasks like
>>> hosting an additional simulator that can be rented to increase the
>>> bottom line.
>>>
>>> From a technical standpoint, spreading it out over the network makes
>>> it more scalable and fault tolerant.
>>>
>>> That's not to say that we should throw UDP out the window.   It's good
>>> at sending large amounts of quickly expiring data.
>>>
>>> Regards
>>>
>>> Daniel Olivares
>>>
>>>
>>>
>>> On Mon, Dec 20, 2010 at 2:37 PM, Dahlia Trimble <dahliatrimble@gmail.com>
>>> wrote:
>>> > I believe part of the problem Dan refers to with CPU load is with the
>>> > implementation of LLUDP in OpenSimulator ( http://opensimulator.org ).
>>> In
>>> > this implementation, the scenegraph simulation server communicates with
>>> > multiple clients and much (most?) information is transmitted via UDP,
>>> > including many assets which could be retrieved from other sources and
>>> using
>>> > other protocols. In this case the choice of UDP for *all*
>>> communications may
>>> > have been a poor one, at least from a scalability perspective. Linden
>>> Lab
>>> > has recently moved some server<->client information transfer to other
>>> > processes outside the main simulation server, and via HTTP protocol. I
>>> > suspect as the benefits of this are realized there may be more
>>> non-realtime
>>> > messaging moving out of Linden's simulator process, and the
>>> OpenSimulator
>>> > implementation of this protocol will follow.
>>> >
>>> > On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivares <dcolivares@gmail.com>
>>> wrote:
>>> >>
>>> >> I think, one thing that we've learned by exploring the leading virtual
>>> >> world technologies that exist today is that TCP should be used for any
>>> >> transmission that requires ordered and reliable delivery.   Doing so,
>>> >> shares the 'flow control' load across the devices on the internet (for
>>> >> free).
>>> >>
>>> >> The user level UDP flow control may /seem/ negligible.  With a small
>>> >> amount of users and high quality connections, it is negligible.
>>> >> However, as the load increases and the quality of the network links
>>> >> decreases, there's a considerable spike in CPU time required to
>>> >> maintain reliable delivery.  Generally, with UDP, flow control, and
>>> >> bad quality or overloaded connections, the load is felt on the CPU of
>>> >> the server managing the flow control.   *The quality to CPU usage
>>> >> curve is precipitous.*  As the quality of the connection decreases a
>>> >> little, the CPU load increases a LOT.  At a certain point, the server
>>> >> falls off of the edge of the cliff and can no longer keep up.  Sending
>>> >> reliable data in any but the lowest quantity, is far worse for the
>>> >> overall user experience over UDP then TCP as the load increases.
>>> >> Network congestion, leading to single server CPU overload doesn't just
>>> >> affect the experience of one user with a low quality connection.  It
>>> >> affects the quality of the experience for every user connected.
>>> >> With ISPs de-prioritizing UDP packets, using it for a large amount of
>>> >> reliable communication isn't a good option.
>>> >>
>>> >> UDP is of most benefit when there is a significant amount of
>>> >> unreliable traffic that can be dropped if it comes in out of order.
>>> >> Real time spacial information, for example, benefits from this
>>> >> approach.
>>> >>
>>> >> The flow control coupled with the quantity of traffic that results
>>> >> from the server relaying reliable updates over UDP leaves less CPU
>>> >> resources for other things on the server and is one of the reasons for
>>> >> the 'SecondLife 100 user Limit'.    Intel reached 1000 users by
>>> >> separating the client manager from the world space managing
>>> >> server(simulator). (#0)   (There are other reasons for the 100 user
>>> >> limit, but they're beyond the scope of this document)
>>> >>
>>> >>
>>> >> TCP has guaranteed delivery of every packet.  In the content space,
>>> >> TCP is the most effective delivery mechanism for everything except a
>>> >> small subset of technologies.
>>> >>
>>> >> That doesn't mean that we should throw UDP out.  TCP has it's own
>>> >> problems.   With TCP, the load isn't felt on the CPU, it's felt in the
>>> >> speed of delivery of the content.
>>> >>
>>> >> As Dahlia said, every packet must arrive before the next one can begin
>>> >> to be sent.  It isn't effective to send large quantities of quickly
>>> >> expiring data over TCP.   With multiple types of data requiring
>>> >> different speeds of delivery, it also isn't effective stuffing
>>> >> everything into the same connection.
>>> >>
>>> >> Browsers overcome this problem by making multiple temporary
>>> >> connections downloading referenced resources immediately after
>>> >> downloading a full 'index' (html) content page.
>>> >>
>>> >> Some people might think that if browsers have overcome this problem
>>> >> then it might just be better to use the same technology for virtual
>>> >> worlds (HTTP).   There's still an issue with that reasoning.   The
>>> >> issue is that HTTP was really designed to transmit files and not a
>>> >> 'data stream of multiple objects'.   There is overhead and there are
>>> >> restrictions, designed with files in mind, built into HTTP that make
>>> >> it, not quite a perfect fit.  You can overlay 'streaming compatible
>>> >> files' on top of HTTP but it usually involves establishing several
>>> >> connections over time for the same content element.
>>> >>
>>> >> This is where web sockets find their sweet spot.   It's the middle
>>> >> ground, getting the benefits of TCP while not encountering the
>>> >> restrictions of HTTP.  You can create multiple TCP connections for
>>> >> different types of data allowing you to get around the TCP queue bog.
>>> >>  They still don't really solve the 'mass quantities of quickly
>>> >> expiring data' problem though, so we still can't throw UDP out the
>>> >> window.
>>> >>
>>> >> In conclusion, at the moment, none of the existing underlying
>>> >> protocols are optimal for the complex nature of the data of virtual
>>> >> worlds.  However, with some ingenuity and 'out of the box' thinking,
>>> >> we can utilize what's there to 'almost' get there.
>>> >>
>>> >> We do need a few things:
>>> >> 1. Web Sockets standard in browsers (we can make due without UDP
>>> >> support, but we really really want it)
>>> >> 2. Solid, and accepted standard for 3d rendering in the browser.
>>> >> (Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed +
>>> >> Closed source renderer?, Unity3d + Plugin distribution + closed source
>>> >> renderer?)
>>> >> 3. Faster JavaScript (Each WebGL frame, fully processed with
>>> >> JavaScript is a bit much when you consider the problem space of
>>> >> thousands of user created objects being displayed)
>>> >>
>>> >> Regards
>>> >>
>>> >> Daniel Olivares
>>> >>
>>> >> References:
>>> >> (0) : http://nwn.blogs.com/nwn/2010/09/intel-science-sim.html
>>> >>
>>> >>
>>> >>
>>> >> On Mon, Dec 20, 2010 at 11:44 AM, Morgaine
>>> >> <morgaine.dinova@googlemail.com> wrote:
>>> >> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble
>>> >> > <dahliatrimble@gmail.com>
>>> >> > wrote:
>>> >> >>
>>> >> >> If anyone has any evidence of internet pathways that selectively
>>> favor
>>> >> >> TCP
>>> >> >> over other traffic, I'd be interested in seeing it.
>>> >> >
>>> >> >
>>> >> > I have first-hand knowledge of this.  I worked for several years at
>>> the
>>> >> > Network Operations Centre of a top-tier ISP, and one of my duties
>>> was
>>> >> > looking after service routers and firewalls.  Policy-based routing
>>> and
>>> >> > firewall access lists are configured with rulesets which are
>>> processed
>>> >> > sequentially and eat up router CPU, which is a finite resource.
>>> >> >
>>> >> > Under off-peak conditions, packet loss is quite rare in the absence
>>> of
>>> >> > interface or line faults, and router CPUs are scaled to handle the
>>> >> > expected
>>> >> > load so packets are never dropped willfully.  When networks are
>>> >> > congested
>>> >> > however, which unfortunately is not uncommon during peak hours owing
>>> to
>>> >> > the
>>> >> > common practice of oversubscribing capacity (or poor scalability
>>> >> > planning),
>>> >> > CPU load often reaches critical levels, and routers are configured
>>> to
>>> >> > prioritize certain payload types in favor of others when this
>>> happens.
>>> >> >
>>> >> > TCP always gets top priority because it carries HTTP which is most
>>> >> > closely
>>> >> > tied to business revenue.  In contrast, UDP (and also ICMP Echo) are
>>> >> > normally configured right down the bottom end of the priority list,
>>> so
>>> >> > under
>>> >> > peak load when the CPU has to make a choice what to drop to stay
>>> within
>>> >> > safe
>>> >> > operating limits, UDP gets the chop first.  This was business as
>>> usual
>>> >> > at
>>> >> > the ISP, and that's how the network designers wanted the traffic
>>> >> > priorities
>>> >> > configured.  (I was merely implementing policy, not creating it.)
>>> >> >
>>> >> > Gaming fans sometimes complain that ISPs are reducing the quality of
>>> >> > service
>>> >> > of their UDP traffic, and in some sense it's true.  From my
>>> experience
>>> >> > it's
>>> >> > not done maliciously nor as an conscious policy of network
>>> >> > non-neutrality,
>>> >> > but simply as a means of protecting the more prized resource of TCP
>>> >> > payloads
>>> >> > when operating conditions mandate that something has to be thrown
>>> away.
>>> >> >
>>> >> > On the positive side, I've never known UDP packets (nor any other
>>> kind)
>>> >> > to
>>> >> > be dropped willfully for the above reason when all equipment is
>>> working
>>> >> > within safe design limits and there is enough capacity to carry
>>> them.
>>> >> > If it
>>> >> > happens off-peak then something is very wrong with network sizing,
>>> or
>>> >> > the
>>> >> > equipment is faulty.
>>> >> >
>>> >> > Unfortunately, that's not the end of the saga with UDP.  It's just
>>> the
>>> >> > beginning, because there is another big reason for dropped packets,
>>> and
>>> >> > this
>>> >> > one occurs even when equipment is working within its designed
>>> operating
>>> >> > limits:  traffic shaping.
>>> >> >
>>> >> > IP traffic shaping is performed by packet queuing as a first resort,
>>> to
>>> >> > slow
>>> >> > down traffic in the hope that the source notices and adapts.  If the
>>> >> > packet
>>> >> > rate doesn't slow down then the method of last resort is to drop
>>> excess
>>> >> > packets when queue buffers hit their configured highwater marks.
>>> TCP
>>> >> > implements a lot of things to mitigate packet loss, such as slow
>>> start,
>>> >> > exponential backoff and transmit pacing, with the purpose of
>>> adapting
>>> >> > transmit rate to receipt rate across paths of limited bandwidth so
>>> that
>>> >> > traffic-shaping routers don't enter their drop state.
>>> >> >
>>> >> > UDP has no such flow control, so the onus falls upon the UDP
>>> application
>>> >> > endpoints to carry out adaptive flow control themselves.  The
>>> likelihood
>>> >> > of
>>> >> > this being done by UDP applications as effectively as it is done in
>>> >> > today's
>>> >> > finely honed TCP stacks is very low.  It may not even be done at
>>> all.
>>> >> >
>>> >> > As a result, UDP packets can get dropped for being bad network
>>> citizens
>>> >> > and
>>> >> > not slowing down in response to packet queueing and transmit pacing.
>>> >> > UDP
>>> >> > applications may think that they're free of the shackles of TCP flow
>>> >> > control, but they're not.  They either slow down when given the
>>> hint, or
>>> >> > their traffic gets the chop.  As a result, a UDP application that is
>>> >> > oblivious of end-to-end timing should expect packet loss when the
>>> >> > network
>>> >> > acts to protect itself against congestion.  See RFC-2309 for more
>>> >> > details
>>> >> > about this issue, in particular "MANAGING AGGRESSIVE FLOWS".  There
>>> is
>>> >> > no
>>> >> > free lunch for UDP packets.
>>> >> >
>>> >> > This is why the best advice to give prospective users of UDP is
>>> "Don't,
>>> >> > unless your application is tolerant of packet loss, packet
>>> duplication,
>>> >> > packet delay, corrupted packets, and out of order delivery."  To try
>>> to
>>> >> > work
>>> >> > around these properties of UDP and make it reliable while
>>> simultaneously
>>> >> > not
>>> >> > impacting on the congestion controls of TCP over the shared path is
>>> >> > highly
>>> >> > unlikely to be successful, unless you reimplement the clever control
>>> >> > features of TCP, and do it compatibly.  Bulldozing your UDP packets
>>> >> > through
>>> >> > a shared network is not a solution, and will fail.
>>> >> >
>>> >> > [PS. The problems don't even stop there, as there are further causes
>>> of
>>> >> > UDP
>>> >> > packet loss.  One is the effect of TCP flow-control synchronization
>>> on
>>> >> > UDP
>>> >> > loss rate over congested paths, which counter-intuitively negates
>>> any
>>> >> > benefit that could result from reducing UDP traffic rates because
>>> TCP
>>> >> > synchronization picks up any bandwidth slack that reducing UDP
>>> traffic
>>> >> > has
>>> >> > freed.  As a result, TCP congestion actually increases UDP packet
>>> drop
>>> >> > rates.  (This has been a topic of research.)  Networks protocols
>>> have
>>> >> > very
>>> >> > complex behaviors.]
>>> >> >
>>> >> >
>>> >> > Morgaine.
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> > ======================================
>>> >> >
>>> >> > On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble
>>> >> > <dahliatrimble@gmail.com>
>>> >> > wrote:
>>> >> >>
>>> >> >> I have used both TCP and UDP in VW applications. I've found that
>>> TCP
>>> >> >> has
>>> >> >> acceptable latency and is not really any worse than UDP when either
>>> are
>>> >> >> tried over a clean, highly functional connection. I've not seen any
>>> >> >> routers
>>> >> >> which drop UDP packets in favor of TCP, and I've not seen any
>>> evidence
>>> >> >> of
>>> >> >> better quality TCP connections than UDP in any of my tests. To the
>>> >> >> contrary,
>>> >> >> I've seen UDP perform much better when network conditions are less
>>> than
>>> >> >> optimal as small messages can be sent immediately and repeated as
>>> >> >> needed
>>> >> >> without waiting for prior message acknowledgement or waiting for a
>>> TCP
>>> >> >> stream to recover in the event of dropped packets.
>>> >> >>
>>> >> >> TCP seems to be favorable when latency is not critical as it's
>>> >> >> generally
>>> >> >> (but not always) easier to use. UDP seems favorable when latency is
>>> >> >> critical
>>> >> >> as it allows the programmer to control network traffic and tailor
>>> it to
>>> >> >> the
>>> >> >> application requirements.
>>> >> >>
>>> >> >> If anyone has any evidence of internet pathways that selectively
>>> favor
>>> >> >> TCP
>>> >> >> over other traffic, I'd be interested in seeing it.
>>> >> >>
>>> >> >>
>>> >> >> On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick <
>>> ohmeadhbh@gmail.com>
>>> >> >> wrote:
>>> >> >>>
>>> >> >>> do we really know that UDP is what we want, even for low latency?
>>> if
>>> >> >>> you're multiplexing messages over a websocket connection, it's
>>> highly
>>> >> >>> likely
>>> >> >>> it'll be an existing connection (i.e.- it's likely one tcp/ip
>>> >> >>> connection
>>> >> >>> will carry several multiplexed websockets messages.)
>>> >> >>>
>>> >> >>> in my tests, UDP doesn't do much better than TCP if you're near
>>> the
>>> >> >>> network rate as it seems a lot of routers tend to dump UDP packets
>>> >> >>> first.
>>> >> >>>
>>> >> >>> most modern OSes now have api calls to let you disable TCP
>>> slow-start.
>>> >> >>>
>>> >> >>> i guess what i'm saying is it might be a good idea to define
>>> messages
>>> >> >>> in
>>> >> >>> a way so they're transport agnostic. that and I would wager that
>>> any
>>> >> >>> latency
>>> >> >>> improvements from UDP are dwarfed by latency introduced by
>>> application
>>> >> >>> layer
>>> >> >>> mechanisms to replace TCP's flow control & resend semantics.
>>> >> >>>
>>> >> >>> just my $0.02.
>>> >> >>>
>>> >> >>> On Dec 19, 2010 2:34 PM, "SM" <sm@resistor.net> wrote:
>>> >> >>>
>>> >> >>> _______________________________________________
>>> >> >>> vwrap mailing list
>>> >> >>> vwrap@ietf.org
>>> >> >>> https://www.ietf.org/mailman/listinfo/vwrap
>>> >> >>>
>>> >> >>
>>> >> >>
>>> >> >> _______________________________________________
>>> >> >> vwrap mailing list
>>> >> >> vwrap@ietf.org
>>> >> >> https://www.ietf.org/mailman/listinfo/vwrap
>>> >> >>
>>> >> >
>>> >> >
>>> >> > _______________________________________________
>>> >> > vwrap mailing list
>>> >> > vwrap@ietf.org
>>> >> > https://www.ietf.org/mailman/listinfo/vwrap
>>> >> >
>>> >> >
>>> >> _______________________________________________
>>> >> vwrap mailing list
>>> >> vwrap@ietf.org
>>> >> https://www.ietf.org/mailman/listinfo/vwrap
>>> >
>>> >
>>>
>>
>>
>> _______________________________________________
>> vwrap mailing list
>> vwrap@ietf.org
>> https://www.ietf.org/mailman/listinfo/vwrap
>>
>>
>
> _______________________________________________
> vwrap mailing list
> vwrap@ietf.org
> https://www.ietf.org/mailman/listinfo/vwrap
>
>

--0016364c7b9f3074b70497e4f421
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

No I didn&#39;t mean to imply that TCP was flawed at all. From what I&#39;v=
e seen it performs exceptionally well when used in the way for which it was=
 designed. However, when using it outside of that space, problems do crop u=
p. I&#39;ve also seen problems that are *related to the use* of TCP, such a=
s asynchronous networking APIs that require threading and the potential for=
 programmer error and/or deadlocking with poorly designed locking schemes w=
hen multiple asynchronous threads are used. I&#39;ve also seen application =
APIs that lack sufficient thread management methods to allow these threads =
to be cleaned up properly when applications end, leading to system instabil=
ity. Not a problem with TCP, more a problem with implementation. <br>
<br><div class=3D"gmail_quote">On Mon, Dec 20, 2010 at 8:39 PM, Morgaine <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:morgaine.dinova@googlemail.com">morga=
ine.dinova@googlemail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex;">
Although I understand what you meant by &quot;TCP has it&#39;s share of pro=
blems as well&quot;, I&#39;m going to put my foot down a little here, becau=
se the phrase almost suggests that TCP is not doing its job well enough, or=
 is introducing additional problems of its own.=A0 I know you didn&#39;t me=
an that, but I want to make it clear that this is not the issue. :-)<br>

<br>The often-mentioned &quot;problem&quot; of TCP choking message deliveri=
es when a piece of the sequence is missing is not a problem at all if you w=
ant a reliable data stream.=A0 It&#39;s the only possible thing that can oc=
cur at that point in time.=A0 TCP is doing the job which it was designed to=
 do, and which a user of TCP should expect and require of it.=A0 If TCP did=
n&#39;t block then it would have failed, because the required data for the =
stream hasn&#39;t yet arrived.=A0 It <b>MUST</b> block.<br>

<br>If TCP is doing its job correctly by blocking, then why does the percep=
tion exist that it is introducing problems by blocking?<br><br>The reason i=
s that the developer has incorrectly mapped his or her desired application =
semantic of reliable transport of multiple <b>independent</b> messages onto=
 a single reliable data stream in which the messages have incorrectly becom=
e <b>sequentially dependent on each other</b> by being made part of a singl=
e serial stream of delivery.=A0 This is an application design error, not a =
TCP failure.<br>

<br>If the developer does not want independent messages to become sequentia=
lly dependent on delivery, then he or she should not use a single TCP strea=
m, because reliable sequential delivery is TCP&#39;s defined semantic.=A0 T=
o do so and then to complain about TCP blocking independent messages simply=
 makes no sense.=A0 It&#39;s only blocking them because the developer has m=
ade them sequentially dependent.<br>

<br>This incorrect apportioning of blame is made so frequently that it dese=
rves highlighting.=A0 TCP will not block delivery of independent messages w=
hen it is used correctly, ie. independent messages are given separate TCP s=
treams.=A0 Temporary holdups in the transport of one TCP stream will not bl=
ock transport of a second TCP stream, they are entirely independent. <br>

<br>I know I&#39;ve belabored a point which is almost certainly obvious to =
everyone here, but it needs underlining to leave no doubt where the &quot;p=
roblem&quot; actually lies.=A0 It lies not with TCP but with inappropriate =
application of TCP channels.<br>

<br>Of course, that leaves us with the interesting question of how to progr=
am TCP-based apps that preserve our desired independent message delivery se=
mantic without using an infinite number of TCP streams.=A0 It&#39;s a great=
 topic, but it doesn&#39;t even reach the agenda for discussion until peopl=
e understand that the alleged delivery choking &quot;problem&quot; stemmed =
from them writing code that implemented the wrong delivery semantic in the =
first place.=A0 TCP is completely blameless! :-)<br>
<font color=3D"#888888">
<br><br>Morgaine.<br><br><br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</font><div><div></div><=
div class=3D"h5"><br><br><div class=3D"gmail_quote">On Mon, Dec 20, 2010 at=
 9:25 PM, Dahlia Trimble <span dir=3D"ltr">&lt;<a href=3D"mailto:dahliatrim=
ble@gmail.com" target=3D"_blank">dahliatrimble@gmail.com</a>&gt;</span> wro=
te:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-=
left:1px solid rgb(204, 204, 204);padding-left:1ex"> I&#39;m not certain th=
at TCP mitigates all of this, it merely moves it out of process space. TCP =
also has additional end-point requirements; depending on API design, it may=
 require additional listener threads and associated message queueing mechan=
isms and lock management in order to manage multiple asynchronous streams. =
Streams are still buffered, and while the buffering may not exist in proces=
s space and may be even shared with mid-stream hosts, there are still costs=
 involved with these buffers. Applications cannot simply assume they can sa=
fely dump as much information into a TCP stream and let someone else worry =
about it, if they did then any congestion that may occur in the network (or=
 even the receiving application) will increase buffer memory requirements. =
One way around this may be to limit how much data can be pushed into a stre=
am without some form of readiness signal from the other end, but might that=
 be considered application level flow control?<br>


<br>If it sounds like I&#39;m advocating UDP for reliable transport, I&#39;=
m not. I&#39;m rather pointing out that TCP has it&#39;s share of problems =
as well.<div><div></div><div><br><br><br><div class=3D"gmail_quote">
On Mon, Dec 20, 2010 at 12:31 PM, Dan Olivares <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:dcolivares@gmail.com" target=3D"_blank">dcolivares@gmail.com</a=
>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0pt 0pt 0pt 0.8ex;border-=
left:1px solid rgb(204, 204, 204);padding-left:1ex">While OpenSimulator&#39=
;s UDP stack was a learning ground, I&#39;m talking in<br>
a more general sense about what UDP is good at while evaluating it&#39;s<br=
>
fitness as a technical base for virtual worlds in a web browser.<br>
<br>
Using UDP with flow control puts the flow control cost squarely on the<br>
server managing the connection. =A0 =A0 Using TCP, when flow control is<br>
required, spreads the cost of the flow control over the devices on the<br>
internet. =A0 =A0It also ensures that connections with bad links are<br>
segmented. =A0Regardless of the point of view here(business or<br>
technical), UDP with flow control isn&#39;t a great option.<br>
<br>
>From a business standpoint, with UDP, the organization hosting the<br>
server bears all of the cost of the flow control. =A0 Servers are a<br>
costly limited resource. =A0 It makes more sense to spread the load out<br>
onto the network and dedicate the servers to more important tasks like<br>
hosting an additional simulator that can be rented to increase the<br>
bottom line.<br>
<br>
>From a technical standpoint, spreading it out over the network makes<br>
it more scalable and fault tolerant.<br>
<br>
That&#39;s not to say that we should throw UDP out the window. =A0 It&#39;s=
 good<br>
at sending large amounts of quickly expiring data.<br>
<br>
Regards<br>
<br>
Daniel Olivares<br>
<div><div></div><div><br>
<br>
<br>
On Mon, Dec 20, 2010 at 2:37 PM, Dahlia Trimble &lt;<a href=3D"mailto:dahli=
atrimble@gmail.com" target=3D"_blank">dahliatrimble@gmail.com</a>&gt; wrote=
:<br>
&gt; I believe part of the problem Dan refers to with CPU load is with the<=
br>
&gt; implementation of LLUDP in OpenSimulator ( <a href=3D"http://opensimul=
ator.org" target=3D"_blank">http://opensimulator.org</a> ). In<br>
&gt; this implementation, the scenegraph simulation server communicates wit=
h<br>
&gt; multiple clients and much (most?) information is transmitted via UDP,<=
br>
&gt; including many assets which could be retrieved from other sources and =
using<br>
&gt; other protocols. In this case the choice of UDP for *all* communicatio=
ns may<br>
&gt; have been a poor one, at least from a scalability perspective. Linden =
Lab<br>
&gt; has recently moved some server&lt;-&gt;client information transfer to =
other<br>
&gt; processes outside the main simulation server, and via HTTP protocol. I=
<br>
&gt; suspect as the benefits of this are realized there may be more non-rea=
ltime<br>
&gt; messaging moving out of Linden&#39;s simulator process, and the OpenSi=
mulator<br>
&gt; implementation of this protocol will follow.<br>
&gt;<br>
&gt; On Mon, Dec 20, 2010 at 11:11 AM, Dan Olivares &lt;<a href=3D"mailto:d=
colivares@gmail.com" target=3D"_blank">dcolivares@gmail.com</a>&gt; wrote:<=
br>
&gt;&gt;<br>
&gt;&gt; I think, one thing that we&#39;ve learned by exploring the leading=
 virtual<br>
&gt;&gt; world technologies that exist today is that TCP should be used for=
 any<br>
&gt;&gt; transmission that requires ordered and reliable delivery. =A0 Doin=
g so,<br>
&gt;&gt; shares the &#39;flow control&#39; load across the devices on the i=
nternet (for<br>
&gt;&gt; free).<br>
&gt;&gt;<br>
&gt;&gt; The user level UDP flow control may /seem/ negligible. =A0With a s=
mall<br>
&gt;&gt; amount of users and high quality connections, it is negligible.<br=
>
&gt;&gt; However, as the load increases and the quality of the network link=
s<br>
&gt;&gt; decreases, there&#39;s a considerable spike in CPU time required t=
o<br>
&gt;&gt; maintain reliable delivery. =A0Generally, with UDP, flow control, =
and<br>
&gt;&gt; bad quality or overloaded connections, the load is felt on the CPU=
 of<br>
&gt;&gt; the server managing the flow control. =A0 *The quality to CPU usag=
e<br>
&gt;&gt; curve is precipitous.* =A0As the quality of the connection decreas=
es a<br>
&gt;&gt; little, the CPU load increases a LOT. =A0At a certain point, the s=
erver<br>
&gt;&gt; falls off of the edge of the cliff and can no longer keep up. =A0S=
ending<br>
&gt;&gt; reliable data in any but the lowest quantity, is far worse for the=
<br>
&gt;&gt; overall user experience over UDP then TCP as the load increases.<b=
r>
&gt;&gt; Network congestion, leading to single server CPU overload doesn&#3=
9;t just<br>
&gt;&gt; affect the experience of one user with a low quality connection. =
=A0It<br>
&gt;&gt; affects the quality of the experience for every user connected.<br=
>
&gt;&gt; With ISPs de-prioritizing UDP packets, using it for a large amount=
 of<br>
&gt;&gt; reliable communication isn&#39;t a good option.<br>
&gt;&gt;<br>
&gt;&gt; UDP is of most benefit when there is a significant amount of<br>
&gt;&gt; unreliable traffic that can be dropped if it comes in out of order=
.<br>
&gt;&gt; Real time spacial information, for example, benefits from this<br>
&gt;&gt; approach.<br>
&gt;&gt;<br>
&gt;&gt; The flow control coupled with the quantity of traffic that results=
<br>
&gt;&gt; from the server relaying reliable updates over UDP leaves less CPU=
<br>
&gt;&gt; resources for other things on the server and is one of the reasons=
 for<br>
&gt;&gt; the &#39;SecondLife 100 user Limit&#39;. =A0 =A0Intel reached 1000=
 users by<br>
&gt;&gt; separating the client manager from the world space managing<br>
&gt;&gt; server(simulator). (#0) =A0 (There are other reasons for the 100 u=
ser<br>
&gt;&gt; limit, but they&#39;re beyond the scope of this document)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; TCP has guaranteed delivery of every packet. =A0In the content spa=
ce,<br>
&gt;&gt; TCP is the most effective delivery mechanism for everything except=
 a<br>
&gt;&gt; small subset of technologies.<br>
&gt;&gt;<br>
&gt;&gt; That doesn&#39;t mean that we should throw UDP out. =A0TCP has it&=
#39;s own<br>
&gt;&gt; problems. =A0 With TCP, the load isn&#39;t felt on the CPU, it&#39=
;s felt in the<br>
&gt;&gt; speed of delivery of the content.<br>
&gt;&gt;<br>
&gt;&gt; As Dahlia said, every packet must arrive before the next one can b=
egin<br>
&gt;&gt; to be sent. =A0It isn&#39;t effective to send large quantities of =
quickly<br>
&gt;&gt; expiring data over TCP. =A0 With multiple types of data requiring<=
br>
&gt;&gt; different speeds of delivery, it also isn&#39;t effective stuffing=
<br>
&gt;&gt; everything into the same connection.<br>
&gt;&gt;<br>
&gt;&gt; Browsers overcome this problem by making multiple temporary<br>
&gt;&gt; connections downloading referenced resources immediately after<br>
&gt;&gt; downloading a full &#39;index&#39; (html) content page.<br>
&gt;&gt;<br>
&gt;&gt; Some people might think that if browsers have overcome this proble=
m<br>
&gt;&gt; then it might just be better to use the same technology for virtua=
l<br>
&gt;&gt; worlds (HTTP). =A0 There&#39;s still an issue with that reasoning.=
 =A0 The<br>
&gt;&gt; issue is that HTTP was really designed to transmit files and not a=
<br>
&gt;&gt; &#39;data stream of multiple objects&#39;. =A0 There is overhead a=
nd there are<br>
&gt;&gt; restrictions, designed with files in mind, built into HTTP that ma=
ke<br>
&gt;&gt; it, not quite a perfect fit. =A0You can overlay &#39;streaming com=
patible<br>
&gt;&gt; files&#39; on top of HTTP but it usually involves establishing sev=
eral<br>
&gt;&gt; connections over time for the same content element.<br>
&gt;&gt;<br>
&gt;&gt; This is where web sockets find their sweet spot. =A0 It&#39;s the =
middle<br>
&gt;&gt; ground, getting the benefits of TCP while not encountering the<br>
&gt;&gt; restrictions of HTTP. =A0You can create multiple TCP connections f=
or<br>
&gt;&gt; different types of data allowing you to get around the TCP queue b=
og.<br>
&gt;&gt; =A0They still don&#39;t really solve the &#39;mass quantities of q=
uickly<br>
&gt;&gt; expiring data&#39; problem though, so we still can&#39;t throw UDP=
 out the<br>
&gt;&gt; window.<br>
&gt;&gt;<br>
&gt;&gt; In conclusion, at the moment, none of the existing underlying<br>
&gt;&gt; protocols are optimal for the complex nature of the data of virtua=
l<br>
&gt;&gt; worlds. =A0However, with some ingenuity and &#39;out of the box&#3=
9; thinking,<br>
&gt;&gt; we can utilize what&#39;s there to &#39;almost&#39; get there.<br>
&gt;&gt;<br>
&gt;&gt; We do need a few things:<br>
&gt;&gt; 1. Web Sockets standard in browsers (we can make due without UDP<b=
r>
&gt;&gt; support, but we really really want it)<br>
&gt;&gt; 2. Solid, and accepted standard for 3d rendering in the browser.<b=
r>
&gt;&gt; (Problems: WebGL + Internet Explorer?, Flash + 3d rendering speed =
+<br>
&gt;&gt; Closed source renderer?, Unity3d + Plugin distribution + closed so=
urce<br>
&gt;&gt; renderer?)<br>
&gt;&gt; 3. Faster JavaScript (Each WebGL frame, fully processed with<br>
&gt;&gt; JavaScript is a bit much when you consider the problem space of<br=
>
&gt;&gt; thousands of user created objects being displayed)<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt;<br>
&gt;&gt; Daniel Olivares<br>
&gt;&gt;<br>
&gt;&gt; References:<br>
&gt;&gt; (0) : <a href=3D"http://nwn.blogs.com/nwn/2010/09/intel-science-si=
m.html" target=3D"_blank">http://nwn.blogs.com/nwn/2010/09/intel-science-si=
m.html</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Dec 20, 2010 at 11:44 AM, Morgaine<br>
&gt;&gt; &lt;<a href=3D"mailto:morgaine.dinova@googlemail.com" target=3D"_b=
lank">morgaine.dinova@googlemail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble<br>
&gt;&gt; &gt; &lt;<a href=3D"mailto:dahliatrimble@gmail.com" target=3D"_bla=
nk">dahliatrimble@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; If anyone has any evidence of internet pathways that sele=
ctively favor<br>
&gt;&gt; &gt;&gt; TCP<br>
&gt;&gt; &gt;&gt; over other traffic, I&#39;d be interested in seeing it.<b=
r>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have first-hand knowledge of this.=A0 I worked for several =
years at the<br>
&gt;&gt; &gt; Network Operations Centre of a top-tier ISP, and one of my du=
ties was<br>
&gt;&gt; &gt; looking after service routers and firewalls.=A0 Policy-based =
routing and<br>
&gt;&gt; &gt; firewall access lists are configured with rulesets which are =
processed<br>
&gt;&gt; &gt; sequentially and eat up router CPU, which is a finite resourc=
e.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Under off-peak conditions, packet loss is quite rare in the a=
bsence of<br>
&gt;&gt; &gt; interface or line faults, and router CPUs are scaled to handl=
e the<br>
&gt;&gt; &gt; expected<br>
&gt;&gt; &gt; load so packets are never dropped willfully.=A0 When networks=
 are<br>
&gt;&gt; &gt; congested<br>
&gt;&gt; &gt; however, which unfortunately is not uncommon during peak hour=
s owing to<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; common practice of oversubscribing capacity (or poor scalabil=
ity<br>
&gt;&gt; &gt; planning),<br>
&gt;&gt; &gt; CPU load often reaches critical levels, and routers are confi=
gured to<br>
&gt;&gt; &gt; prioritize certain payload types in favor of others when this=
 happens.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; TCP always gets top priority because it carries HTTP which is=
 most<br>
&gt;&gt; &gt; closely<br>
&gt;&gt; &gt; tied to business revenue.=A0 In contrast, UDP (and also ICMP =
Echo) are<br>
&gt;&gt; &gt; normally configured right down the bottom end of the priority=
 list, so<br>
&gt;&gt; &gt; under<br>
&gt;&gt; &gt; peak load when the CPU has to make a choice what to drop to s=
tay within<br>
&gt;&gt; &gt; safe<br>
&gt;&gt; &gt; operating limits, UDP gets the chop first.=A0 This was busine=
ss as usual<br>
&gt;&gt; &gt; at<br>
&gt;&gt; &gt; the ISP, and that&#39;s how the network designers wanted the =
traffic<br>
&gt;&gt; &gt; priorities<br>
&gt;&gt; &gt; configured.=A0 (I was merely implementing policy, not creatin=
g it.)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Gaming fans sometimes complain that ISPs are reducing the qua=
lity of<br>
&gt;&gt; &gt; service<br>
&gt;&gt; &gt; of their UDP traffic, and in some sense it&#39;s true.=A0 Fro=
m my experience<br>
&gt;&gt; &gt; it&#39;s<br>
&gt;&gt; &gt; not done maliciously nor as an conscious policy of network<br=
>
&gt;&gt; &gt; non-neutrality,<br>
&gt;&gt; &gt; but simply as a means of protecting the more prized resource =
of TCP<br>
&gt;&gt; &gt; payloads<br>
&gt;&gt; &gt; when operating conditions mandate that something has to be th=
rown away.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On the positive side, I&#39;ve never known UDP packets (nor a=
ny other kind)<br>
&gt;&gt; &gt; to<br>
&gt;&gt; &gt; be dropped willfully for the above reason when all equipment =
is working<br>
&gt;&gt; &gt; within safe design limits and there is enough capacity to car=
ry them.<br>
&gt;&gt; &gt; If it<br>
&gt;&gt; &gt; happens off-peak then something is very wrong with network si=
zing, or<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; equipment is faulty.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Unfortunately, that&#39;s not the end of the saga with UDP.=
=A0 It&#39;s just the<br>
&gt;&gt; &gt; beginning, because there is another big reason for dropped pa=
ckets, and<br>
&gt;&gt; &gt; this<br>
&gt;&gt; &gt; one occurs even when equipment is working within its designed=
 operating<br>
&gt;&gt; &gt; limits:=A0 traffic shaping.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; IP traffic shaping is performed by packet queuing as a first =
resort, to<br>
&gt;&gt; &gt; slow<br>
&gt;&gt; &gt; down traffic in the hope that the source notices and adapts.=
=A0 If the<br>
&gt;&gt; &gt; packet<br>
&gt;&gt; &gt; rate doesn&#39;t slow down then the method of last resort is =
to drop excess<br>
&gt;&gt; &gt; packets when queue buffers hit their configured highwater mar=
ks.=A0 TCP<br>
&gt;&gt; &gt; implements a lot of things to mitigate packet loss, such as s=
low start,<br>
&gt;&gt; &gt; exponential backoff and transmit pacing, with the purpose of =
adapting<br>
&gt;&gt; &gt; transmit rate to receipt rate across paths of limited bandwid=
th so that<br>
&gt;&gt; &gt; traffic-shaping routers don&#39;t enter their drop state.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; UDP has no such flow control, so the onus falls upon the UDP =
application<br>
&gt;&gt; &gt; endpoints to carry out adaptive flow control themselves.=A0 T=
he likelihood<br>
&gt;&gt; &gt; of<br>
&gt;&gt; &gt; this being done by UDP applications as effectively as it is d=
one in<br>
&gt;&gt; &gt; today&#39;s<br>
&gt;&gt; &gt; finely honed TCP stacks is very low.=A0 It may not even be do=
ne at all.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; As a result, UDP packets can get dropped for being bad networ=
k citizens<br>
&gt;&gt; &gt; and<br>
&gt;&gt; &gt; not slowing down in response to packet queueing and transmit =
pacing.<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; applications may think that they&#39;re free of the shackles =
of TCP flow<br>
&gt;&gt; &gt; control, but they&#39;re not.=A0 They either slow down when g=
iven the hint, or<br>
&gt;&gt; &gt; their traffic gets the chop.=A0 As a result, a UDP applicatio=
n that is<br>
&gt;&gt; &gt; oblivious of end-to-end timing should expect packet loss when=
 the<br>
&gt;&gt; &gt; network<br>
&gt;&gt; &gt; acts to protect itself against congestion.=A0 See RFC-2309 fo=
r more<br>
&gt;&gt; &gt; details<br>
&gt;&gt; &gt; about this issue, in particular &quot;MANAGING AGGRESSIVE FLO=
WS&quot;.=A0 There is<br>
&gt;&gt; &gt; no<br>
&gt;&gt; &gt; free lunch for UDP packets.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; This is why the best advice to give prospective users of UDP =
is &quot;Don&#39;t,<br>
&gt;&gt; &gt; unless your application is tolerant of packet loss, packet du=
plication,<br>
&gt;&gt; &gt; packet delay, corrupted packets, and out of order delivery.&q=
uot;=A0 To try to<br>
&gt;&gt; &gt; work<br>
&gt;&gt; &gt; around these properties of UDP and make it reliable while sim=
ultaneously<br>
&gt;&gt; &gt; not<br>
&gt;&gt; &gt; impacting on the congestion controls of TCP over the shared p=
ath is<br>
&gt;&gt; &gt; highly<br>
&gt;&gt; &gt; unlikely to be successful, unless you reimplement the clever =
control<br>
&gt;&gt; &gt; features of TCP, and do it compatibly.=A0 Bulldozing your UDP=
 packets<br>
&gt;&gt; &gt; through<br>
&gt;&gt; &gt; a shared network is not a solution, and will fail.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; [PS. The problems don&#39;t even stop there, as there are fur=
ther causes of<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; packet loss.=A0 One is the effect of TCP flow-control synchro=
nization on<br>
&gt;&gt; &gt; UDP<br>
&gt;&gt; &gt; loss rate over congested paths, which counter-intuitively neg=
ates any<br>
&gt;&gt; &gt; benefit that could result from reducing UDP traffic rates bec=
ause TCP<br>
&gt;&gt; &gt; synchronization picks up any bandwidth slack that reducing UD=
P traffic<br>
&gt;&gt; &gt; has<br>
&gt;&gt; &gt; freed.=A0 As a result, TCP congestion actually increases UDP =
packet drop<br>
&gt;&gt; &gt; rates.=A0 (This has been a topic of research.)=A0 Networks pr=
otocols have<br>
&gt;&gt; &gt; very<br>
&gt;&gt; &gt; complex behaviors.]<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Morgaine.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Mon, Dec 20, 2010 at 12:56 AM, Dahlia Trimble<br>
&gt;&gt; &gt; &lt;<a href=3D"mailto:dahliatrimble@gmail.com" target=3D"_bla=
nk">dahliatrimble@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I have used both TCP and UDP in VW applications. I&#39;ve=
 found that TCP<br>
&gt;&gt; &gt;&gt; has<br>
&gt;&gt; &gt;&gt; acceptable latency and is not really any worse than UDP w=
hen either are<br>
&gt;&gt; &gt;&gt; tried over a clean, highly functional connection. I&#39;v=
e not seen any<br>
&gt;&gt; &gt;&gt; routers<br>
&gt;&gt; &gt;&gt; which drop UDP packets in favor of TCP, and I&#39;ve not =
seen any evidence<br>
&gt;&gt; &gt;&gt; of<br>
&gt;&gt; &gt;&gt; better quality TCP connections than UDP in any of my test=
s. To the<br>
&gt;&gt; &gt;&gt; contrary,<br>
&gt;&gt; &gt;&gt; I&#39;ve seen UDP perform much better when network condit=
ions are less than<br>
&gt;&gt; &gt;&gt; optimal as small messages can be sent immediately and rep=
eated as<br>
&gt;&gt; &gt;&gt; needed<br>
&gt;&gt; &gt;&gt; without waiting for prior message acknowledgement or wait=
ing for a TCP<br>
&gt;&gt; &gt;&gt; stream to recover in the event of dropped packets.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; TCP seems to be favorable when latency is not critical as=
 it&#39;s<br>
&gt;&gt; &gt;&gt; generally<br>
&gt;&gt; &gt;&gt; (but not always) easier to use. UDP seems favorable when =
latency is<br>
&gt;&gt; &gt;&gt; critical<br>
&gt;&gt; &gt;&gt; as it allows the programmer to control network traffic an=
d tailor it to<br>
&gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; application requirements.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; If anyone has any evidence of internet pathways that sele=
ctively favor<br>
&gt;&gt; &gt;&gt; TCP<br>
&gt;&gt; &gt;&gt; over other traffic, I&#39;d be interested in seeing it.<b=
r>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Sun, Dec 19, 2010 at 3:26 PM, Meadhbh Hamrick &lt;<a h=
ref=3D"mailto:ohmeadhbh@gmail.com" target=3D"_blank">ohmeadhbh@gmail.com</a=
>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; do we really know that UDP is what we want, even for =
low latency? if<br>
&gt;&gt; &gt;&gt;&gt; you&#39;re multiplexing messages over a websocket con=
nection, it&#39;s highly<br>
&gt;&gt; &gt;&gt;&gt; likely<br>
&gt;&gt; &gt;&gt;&gt; it&#39;ll be an existing connection (i.e.- it&#39;s l=
ikely one tcp/ip<br>
&gt;&gt; &gt;&gt;&gt; connection<br>
&gt;&gt; &gt;&gt;&gt; will carry several multiplexed websockets messages.)<=
br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; in my tests, UDP doesn&#39;t do much better than TCP =
if you&#39;re near the<br>
&gt;&gt; &gt;&gt;&gt; network rate as it seems a lot of routers tend to dum=
p UDP packets<br>
&gt;&gt; &gt;&gt;&gt; first.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; most modern OSes now have api calls to let you disabl=
e TCP slow-start.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; i guess what i&#39;m saying is it might be a good ide=
a to define messages<br>
&gt;&gt; &gt;&gt;&gt; in<br>
&gt;&gt; &gt;&gt;&gt; a way so they&#39;re transport agnostic. that and I w=
ould wager that any<br>
&gt;&gt; &gt;&gt;&gt; latency<br>
&gt;&gt; &gt;&gt;&gt; improvements from UDP are dwarfed by latency introduc=
ed by application<br>
&gt;&gt; &gt;&gt;&gt; layer<br>
&gt;&gt; &gt;&gt;&gt; mechanisms to replace TCP&#39;s flow control &amp; re=
send semantics.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; just my $0.02.<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On Dec 19, 2010 2:34 PM, &quot;SM&quot; &lt;<a href=
=3D"mailto:sm@resistor.net" target=3D"_blank">sm@resistor.net</a>&gt; wrote=
:<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt;&gt; vwrap mailing list<br>
&gt;&gt; &gt;&gt;&gt; <a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">v=
wrap@ietf.org</a><br>
&gt;&gt; &gt;&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwra=
p" target=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; vwrap mailing list<br>
&gt;&gt; &gt;&gt; <a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap=
@ietf.org</a><br>
&gt;&gt; &gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; vwrap mailing list<br>
&gt;&gt; &gt; <a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@iet=
f.org</a><br>
&gt;&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" targe=
t=3D"_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; vwrap mailing list<br>
&gt;&gt; <a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org=
</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/vwrap</a><br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org" target=3D"_blank">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
vwrap mailing list<br>
<a href=3D"mailto:vwrap@ietf.org">vwrap@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/vwrap" target=3D"_blank">h=
ttps://www.ietf.org/mailman/listinfo/vwrap</a><br>
<br></blockquote></div><br>

--0016364c7b9f3074b70497e4f421--
