W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2010

[whatwg] WebSockets: UDP

From: Ben Garney <ben.garney@gmail.com>
Date: Tue, 1 Jun 2010 23:41:53 -0700
Message-ID: <AANLkTink61lU2xUZdOuuimks0YRaJcf7vnB7tsgvxJdt@mail.gmail.com>
On Tue, Jun 1, 2010 at 11:34 PM, Erik M?ller <emoller at opera.com> wrote:

>
> No it can't be UDP, it'll have to be something layered on top of UDP. One
> of the game guys I spoke to last night said "Honestly, I wish we just had
> real sockets.  It always seems like web coding comes down to reinventing a
> very old wheel in a far less convenient or efficient manner." To


To be clear, for games, the key win is the lossy delivery. That is what
enables the game to make intelligent decisions about dealing with packet
loss, out of order delivery, etc.

There's actually someone who has already deployed a wide-scale UDP p2p
negotiated connection architecture. Adobe launched their Stratus technology
in 2008: http://labs.adobe.com/technologies/stratus/

The downside is they do not expose lossy message delivery to Player content,
it's only used for audio/video delivery.

However something like this that did expose lossy message delivery would be
very handy! A lot of interesting applications could be built mostly
independently of server, saving a lot of scalability pain.

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100601/607decba/attachment.htm>
Received on Tuesday, 1 June 2010 23:41:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:24 UTC