Re: [vwrap] Technical basis for VW client in a web browser?

Mic Bowman <cmickeyb@gmail.com> Mon, 20 December 2010 16:39 UTC

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

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;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
>