/lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-March/025645.html
https://github.com/whatwg/whatwg.org · HTML · 93 lines · 80 code · 6 blank · 7 comment · 0 complexity · 6eec5e383fb08cad1bbde83a127caa25 MD5 · raw file
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
- <HTML>
- <HEAD>
- <TITLE> [whatwg] WebSocket bufferedAmount includes overhead or not
- </TITLE>
- <LINK REL="Index" HREF="index.html" >
- <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20bufferedAmount%20includes%20overhead%20or%20not&In-Reply-To=%3C25B3A097-14D5-433C-B6EE-3F7281645B51%40gmail.com%3E">
- <META NAME="robots" CONTENT="index,nofollow">
- <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
- <LINK REL="Previous" HREF="025643.html">
- <LINK REL="Next" HREF="025644.html">
- </HEAD>
- <BODY BGCOLOR="#ffffff">
- <H1>[whatwg] WebSocket bufferedAmount includes overhead or not</H1>
- <!--htdig_noindex-->
- <B>Perry Smith</B>
- <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20WebSocket%20bufferedAmount%20includes%20overhead%20or%20not&In-Reply-To=%3C25B3A097-14D5-433C-B6EE-3F7281645B51%40gmail.com%3E"
- TITLE="[whatwg] WebSocket bufferedAmount includes overhead or not">pedzsan at gmail.com
- </A><BR>
- <I>Fri Mar 26 14:18:53 PDT 2010</I>
- <P><UL>
- <LI>Previous message: <A HREF="025643.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="025644.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#25645">[ date ]</a>
- <a href="thread.html#25645">[ thread ]</a>
- <a href="subject.html#25645">[ subject ]</a>
- <a href="author.html#25645">[ author ]</a>
- </LI>
- </UL>
- <HR>
- <!--/htdig_noindex-->
- <!--beginarticle-->
- <PRE>
- On Mar 25, 2010, at 4:50 PM, Ian Hickson wrote:
- ><i> It seems that the consensus is now leaning towards changing the spec
- </I>><i> again
- </I>><i> to include the overhead, but I haven't changed it yet because I
- </I>><i> don't want
- </I>><i> to be flip-flopping back and forth -- if we change this, I don't
- </I>><i> want to
- </I>><i> change it back. I think the use cases I know of are addressed
- </I>><i> whether we
- </I>><i> include overhead or not, so from an objective perspective I don't
- </I>><i> think it
- </I>><i> really matters, which makes this more of an opinion thing. I'd
- </I>><i> encourage
- </I>><i> anyone else with an opinion on this to make their opinion known.
- </I>><i> (Yes, I'm
- </I>><i> actually _asking_ for people to suggest colours for this bikeshed!)
- </I>
- As an author, I'd rather not know about the overhead. To me it would
- be confusing to queue up 10 bytes and ask for bufferedAmount and get
- back 15.
- The sample scripts are doing one of two things. Either they are
- trying to prevent saturating the network and they are doing this by
- testing for bufferedAmount being equal to zero. Or, they are trying
- to saturate the network given the existing interfaces. I believe
- there are other options to allow the application to maintain an
- asynchronous interface and achieve saturation that would consume less
- cpu overhead. I'm not sure if we want to open that can of worms in
- this thread or not.
- pedz
- </PRE>
- <!--endarticle-->
- <!--htdig_noindex-->
- <HR>
- <P><UL>
- <!--threads-->
- <LI>Previous message: <A HREF="025643.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI>Next message: <A HREF="025644.html">[whatwg] WebSocket bufferedAmount includes overhead or not
- </A></li>
- <LI> <B>Messages sorted by:</B>
- <a href="date.html#25645">[ date ]</a>
- <a href="thread.html#25645">[ thread ]</a>
- <a href="subject.html#25645">[ subject ]</a>
- <a href="author.html#25645">[ 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>