Re: New Version Notification for draft-montenegro-httpbis-speed-mobility-02.txt

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Fri, 22 June 2012 15:05 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B2DDE21F86E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 08:05:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ChLMVDp9wXbP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 08:05:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EF75121F86F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 08:05:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Si5O2-0006Bi-7z for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 15:03:02 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1Si5Ni-0005y3-9E for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 15:02:42 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Si5Na-0003Tj-HC for ietf-http-wg@w3.org; Fri, 22 Jun 2012 15:02:40 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id B65DB3B5A5; Fri, 22 Jun 2012 15:02:12 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q5MF2AKV005350; Fri, 22 Jun 2012 15:02:12 GMT (envelope-from phk@phk.freebsd.dk)
To: Rob Trace <Rob.Trace@microsoft.com>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 19 Jun 2012 20:28:22 GMT." <FF649A28BA27384396FD4F7BADF45DDF382957D8@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Content-Type: text/plain; charset="ISO-8859-1"
Date: Fri, 22 Jun 2012 15:02:10 +0000
Message-ID: <5349.1340377330@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Si5Na-0003Tj-HC 6c9f1fcf85606f6e774dd2c6fc678e30
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-montenegro-httpbis-speed-mobility-02.txt
Archived-At: <http://www.w3.org/mid/5349.1340377330@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13874
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Si5O2-0006Bi-7z@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 15:03:02 +0000

In message <FF649A28BA27384396FD4F7BADF45DDF382957D8@TK5EX14MBXW602.wingroup.wi
ndeploy.ntdev.microsoft.com>, Rob Trace writes:

>A new version of I-D, draft-montenegro-httpbis-speed-mobility-02.txt

I have read this draft, and I do like the thinking, even if not all
the details.

With one small tweak, this prosal has the potential to solve what
I see as one of the really big high-performance issues: load-balancing
at Tbit/s rates.

The tweak I seek is:

	Once created, all requests on a given stream MUST have the
	same "Host:" header.

This does not prevent a client (or proxy) from using multiple streams
with same "Host:" header to get parallelism, but it means that
load-balancers in front of hosting farms only need to examine the
first request on any stream to find the "Host:" header, after that,
it can just shift the stream through.

Another way to think of this, is to make the stream-ID also
work as a hop-to-hop flow-label.

With that said...

A lot of the benefit thus gained will be eaten up because taking a
SPDY stream apart is a performance nightmare, particularly at Tbit/s
rates, but at least the load-balancers will only need to take the
first part of the SPDY streams apart.

I seem to recall Willy and Adrien working on using serialization/encoding
to save header transmission cost, instead of just blindly throwing
things at gzip.

Put something like that on top of Bobs draft instead of SPDY, and
Tbit/sec starts to look realistic.

Poul-Henning

PS: I was happy to see that Guy didn't find any significant improvement
from the gzip static dictionary, I thought I had done something wrong
when I got that result.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.