/lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-September/022674.html
https://github.com/whatwg/whatwg.org · HTML · 270 lines · 88 code · 175 blank · 7 comment · 0 complexity · 7baf00cfa220c4b6593164b03c25f981 MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
- <HTML>
- <HEAD>
- <TITLE> [whatwg] Feature requests in WebSocket (Was: BWTP for WebSocket, transfer protocol)
- </TITLE>
- <LINK REL="Index" HREF="index.html" >
- <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20Feature%20requests%20in%20WebSocket%20%28Was%3A%20BWTP%20for%20WebSocket%2C%0A%20transfer%20protocol%29&In-Reply-To=%3C4AA0CAF7.60706%40mortbay.com%3E">
- <META NAME="robots" CONTENT="index,nofollow">
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="022801.html">
- <LINK REL="Next" HREF="023061.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] Feature requests in WebSocket (Was: BWTP for WebSocket, transfer protocol)</H1>
- <!--htdig_noindex-->
- <B>Greg Wilkins</B>
- <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20Feature%20requests%20in%20WebSocket%20%28Was%3A%20BWTP%20for%20WebSocket%2C%0A%20transfer%20protocol%29&In-Reply-To=%3C4AA0CAF7.60706%40mortbay.com%3E"
- TITLE="[whatwg] Feature requests in WebSocket (Was: BWTP for WebSocket, transfer protocol)">gregw at mortbay.com
- </A><BR>
- <I>Fri Sep 4 01:08:23 PDT 2009</I>
- <P><UL>
- <LI>Previous message: <A HREF="022801.html">[whatwg] RFC: Alternatives to storage mutex for cookies and localStorage
- </A></li>
- <LI>Next message: <A HREF="023061.html">[whatwg] Feature requests in WebSocket
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#22674">[ date ]</a>
- <a href="thread.html#22674">[ thread ]</a>
- <a href="subject.html#22674">[ subject ]</a>
- <a href="author.html#22674">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>
- Ian Hickson wrote:
- ><i> On Fri, 14 Aug 2009, Jeremy Orlow wrote:
- </I>>><i> > On Fri, Aug 14, 2009 at 3:45 AM, Ian Hickson <<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">ian at hixie.ch</A>> wrote:
- </I>>>><i> > > On Fri, 7 Aug 2009, Jonas Sicking wrote:
- </I>>>><i> > > What would the API look like?
- </I>>><i> >
- </I>>><i> > It seems like it could be done transparently to the web developer. If
- </I>>><i> > you open 2 sockets to the same server, the UA could just open another
- </I>>><i> > "channel" on the same connection.
- </I>><i>
- </I>><i> That would force the complexity on the server-side developer, which I
- </I>><i> don't think we would want to do.
- </I>
- The server on the server-side could hide the details from the
- server side developer.
- With HTTP, the server side developer handles requests and has
- little idea what connection they came over. Frequently requests
- from multiple connections are multiplexed onto a single connection
- by proxies, netscalers or similar. Server side developers
- do not have to deal with this. Developers of the server do.
- >>><i> > > What would the wire level look like?
- </I>>><i> >
- </I>>><i> > It could be as simple as this: An extra byte or two at the beginning of
- </I>>><i> > every message that says which "channel" is transmitting. A way to send
- </I>>><i> > control messages, two of which would be used to open and close channels.
- </I>><i>
- </I>><i> I don't understand why we'd do that rather than just use two TCP
- </I>><i> connections.
- </I>
- Because TCP connections are not free. Resources are often
- allocated server side per connection. As a server side developer,
- I would much rather have a little more parsing to do on fewer connections
- than less parsing on many more connections.
- Browsers safely multiple plex requests from multiple windows
- and tabs onto shared connections for HTTP, I don't see why that
- would be a problem for a new protocol.
- regards
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="022801.html">[whatwg] RFC: Alternatives to storage mutex for cookies and localStorage
- </A></li>
- <LI>Next message: <A HREF="023061.html">[whatwg] Feature requests in WebSocket
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#22674">[ date ]</a>
- <a href="thread.html#22674">[ thread ]</a>
- <a href="subject.html#22674">[ subject ]</a>
- <a href="author.html#22674">[ author ]</a>
- </LI>
- </UL>
- <hr>
- <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
- mailing list</a><br>
- <!--/htdig_noindex-->
- </body></html>