Re: [hybi] frame length encoding

"Shelby Moore" <shelby@coolpage.com> Sat, 21 August 2010 22:00 UTC

Return-Path: <shelby@coolpage.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0FCE73A67FE for <hybi@core3.amsl.com>; Sat, 21 Aug 2010 15:00:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.786
X-Spam-Level:
X-Spam-Status: No, score=-1.786 tagged_above=-999 required=5 tests=[AWL=0.132, BAYES_00=-2.599, SARE_MONEYTERMS=0.681]
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 al6ONQ+8UvDs for <hybi@core3.amsl.com>; Sat, 21 Aug 2010 15:00:23 -0700 (PDT)
Received: from www5.webmail.pair.com (www5.webmail.pair.com [66.39.3.83]) by core3.amsl.com (Postfix) with SMTP id F09743A67D9 for <hybi@ietf.org>; Sat, 21 Aug 2010 15:00:22 -0700 (PDT)
Received: (qmail 61917 invoked by uid 65534); 21 Aug 2010 22:00:55 -0000
Received: from 121.97.54.174 ([121.97.54.174]) (SquirrelMail authenticated user shelby@coolpage.com) by sm.webmail.pair.com with HTTP; Sat, 21 Aug 2010 18:00:55 -0400
Message-ID: <5a0e40aaf3673a9480141c74c672e686.squirrel@sm.webmail.pair.com>
In-Reply-To: <AANLkTinQ1C36LfbzZZ39CJCasrzvd3MUb+FK-Bq-EdNA@mail.gmail.com>
References: <AANLkTimKbmcpgx8k0uXUWvCO=8w9pPrtV=3y4qh6363k@mail.gmail.com> <20100820192927.GA32620@1wt.eu> <4C6EEA55.2050205@hs-weingarten.de> <AANLkTinHqxUOZaVANFpC52t8FfgNw2L5_A-s9Az3Fm7p@mail.gmail.com> <AANLkTinvkxMP8FYz9xjDu_Kt9FfzYotgsqXUDB4MZMEo@mail.gmail.com> <AANLkTim3KRq1arso7wN_b+1TH3sWabYW6uFu7AbYw6-P@mail.gmail.com> <AANLkTikhhajho895WyEoJMwMk9GJ98kA0Mjy5qr4apC8@mail.gmail.com> <AANLkTi=kdk6BRvza_7bpoLNTFzUkjcRRijGLMe_NGXZV@mail.gmail.com> <AANLkTi=VE298Tg+qyfufhzMswE5pBxtPZhA0t2k=sf2A@mail.gmail.com> <AANLkTin2sNji3J98VqacammHFS=DJHmpq5zY_mTFNt8Z@mail.gmail.com> <AANLkTinRgLYg=-hhgtUD__=PqM82Y0nB6HPGkMca3-pw@mail.gmail.com> <AANLkTinQ1C36LfbzZZ39CJCasrzvd3MUb+FK-Bq-EdNA@mail.gmail.com>
Date: Sat, 21 Aug 2010 18:00:55 -0400
From: Shelby Moore <shelby@coolpage.com>
To: John Tamplin <jat@google.com>
User-Agent: SquirrelMail/1.4.20
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] frame length encoding
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: shelby@coolpage.com
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 21 Aug 2010 22:00:24 -0000

> On Sat, Aug 21, 2010 at 4:27 PM, Pieter Hintjens <ph@imatix.com> wrote:
>
>> CPU core count increases but I think it's fair to say CPU speeds have
>> hit the top of the curve.  Thus we're constrained by the capacity of
>> one core to process the data off a network, while network capacity
>> continues to double every 18-24 months.

Why can't you utilize more than one core?

I realize we need a new computer language for multi-core and I started
working on that.  It is all about minimizing function side-effects, which
I call purity.  Copute is the name, but just in early idea stage.  I
realize such discussion is out-of-scope of this thread, and you may be
referring to real-time or other issues that I am not aware of.


> I'm not sure I would agree with you on the network bandwidth.  Many places
> I
> know of still use 100baseT to the desktop, 17 years after its introduction
> and are only slowly migrating to GigE (itself 11 years old) as
> infrastructure costs have come down to about equal.  I don't know of
> anyone
> running higher than GigE to the desktop.


My observations may not apply to more wealthy countries, but they probably
do apply to India and other developing countries in Latin America.

Last time I checked in 2009, afaiu that most of the low-end PC
motherboards (what sells here in Philippines in huge volumes), have buggy
wake-up on LAN if the GigeE is turned on, so many revert to the old
Ethernet.  I don't know if it is driver or OS issue.

In terms of mobile, here in Philippines where I am, which is perhaps #1
texting county in world, the 3G has very minimal coverage and in the large
population centers where there is coverage, it is overloaded and the
networks drop you back to EDGE/GPRS level of throughput after you hit
certain limits.  And during peak hours everything slows down here on every
consumer network.  There are no high end choices, except I think the call
centers somehow get the wide pipes they need.


>  Beyond that, anecdotally the
> typical size of the Internet connection at businesses doesn't seem to have
> increased since I was in the ISP business 10 years ago (home and mobile
> definitely has, though I still don't think at your suggested rate of
> doubling).
>
> I will grant your doubling pattern in Infiniband and Myrinet offerings,
> but
> I doubt any significant portion of WebSocket traffic will be running on
> such
> networks.
>
>
>> Indeed, there are probably very few people in the open source world
>> concerned with efficiency at the level we are.  I've explained our
>> experience, and will leave it at that.
>>
>
> It may also be that WebSocket, which is primarily designed to give
> TCP-like
> capabilities to web browsers, is not appropriate for your backend network
> --
> perhaps a frontend would speak WebSocket to end-users, and then a protocol
> more optimized for your needs going back to your servers.
>
> Anyway, I agree with you that getting agreement on the framing, as long as
> it is reasonable, is more important than what it actually is so we can get
> on to the next problem.