[whatwg] WebSockets: UDP

Ben Garney ben.garney at gmail.com
Tue Jun 1 23:41:53 PDT 2010

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100601/607decba/attachment-0002.htm>

More information about the whatwg mailing list