Re: delta encoding and state management

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Wed, 23 January 2013 13:20 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 80ABD21F87E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jan 2013 05:20:54 -0800 (PST)
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 ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CP4IWwObvt8i for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jan 2013 05:20:54 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4934421F87E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 23 Jan 2013 05:20:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ty0F4-00061c-BY for ietf-http-wg-dist@listhub.w3.org; Wed, 23 Jan 2013 13:19:50 +0000
Resent-Date: Wed, 23 Jan 2013 13:19:50 +0000
Resent-Message-Id: <E1Ty0F4-00061c-BY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ty0Ez-0005zn-F5 for ietf-http-wg@listhub.w3.org; Wed, 23 Jan 2013 13:19:45 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1Ty0Ev-0005r5-4g for ietf-http-wg@w3.org; Wed, 23 Jan 2013 13:19:45 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 6F0A989FCD; Wed, 23 Jan 2013 13:19:19 +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 r0NDJHV1097023; Wed, 23 Jan 2013 13:19:17 GMT (envelope-from phk@phk.freebsd.dk)
To: Patrick McManus <mcmanus@ducksong.com>
cc: Willy Tarreau <w@1wt.eu>, "William Chan (?????????)" <willchan@chromium.org>, James M Snell <jasnell@gmail.com>, Nico Williams <nico@cryptonector.com>, Roberto Peon <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
In-reply-to: <CAOdDvNoOnscRCA54n07Suxe9UQieq32SkwvMxNnEdSnK94s_PA@mail.gmail.com>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <CABP7RbfDZcRH-0_AaN9iYjPN-v6QjU6_Xdy5o1BHYnDFWHtuAg@mail.gmail.com> <CAK3OfOh0xqZsPYcb0uRLnebKWTKO7ARkJ4joFZoqjiBSTmwBTA@mail.gmail.com> <CABP7Rbeb6MOYmYPhhsKFFtQwE0JxuPyShXY0zpkA5YX2JPSY_w@mail.gmail.com> <CAA4WUYhg2qt_z_TrOAH0ax6mUpYPNeG4x740CgQi5Voq=50K_Q@mail.gmail.com> <20130122212748.GJ30692@1wt.eu> <CAA4WUYj51jRFosut2RsdE46SqoMDqa_r5EB7g4pj5eC2i73j7Q@mail.gmail.com> <20130122224646.GO30692@1wt.eu> <CAA4WUYjuCGyJjA2nN_-oh8TunrA7owWFQRhLg-ps+fkp9T47Ew@mail.gmail.com> <20130123000018.GR30692@1wt.eu> <CAA4WUYjGiA0WP6o3ub5ZPTh-zYZ9Jth6w2GfuMT+WarT69GW-A@mail.gmail.com> <20130123073357.GB32648@1wt.eu> <CAOdDvNoOnscRCA54n07Suxe9UQieq32SkwvMxNnEdSnK94s_PA@mail.gmail.com>
Date: Wed, 23 Jan 2013 13:19:17 +0000
Message-ID: <97022.1358947157@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=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, RP_MATCHES_RCVD=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Ty0Ev-0005r5-4g f8e8f3621c2821c8071d4166047b3d9c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: delta encoding and state management
Archived-At: <http://www.w3.org/mid/97022.1358947157@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16131
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>

Content-Type: text/plain; charset=ISO-8859-1
--------
In message <CAOdDvNoOnscRCA54n07Suxe9UQieq32SkwvMxNnEdSnK94s_PA@mail.gmail.com>
, Patrick McManus writes:

>> As I said, I think that if the state itself is never larger than a request
>> and substitutes for the request, it's not that big of a deal.
>
>honestly, the trend in ram prices [...]

I think both of your perspectives are too near-sighted here.

The protocol you should be working on should be the one which
still works when most middle-class homes, not only in the western
world, but also in India and China, have fibre to the home at
speeds of 1Gbit/sec and above.

In that world, a major piece of global news, be it a naked breast,
an geophysical event or a shot politician, is going to make the
traffic spikes we have seen until now look tame.

HTTP is a very assymetric usage protocol, and therefore any amount
of state that the server _has to_ retain for a client must justify
it's existence, byte for byte, against the scenario where 10% of
the world want to access the same URL.

HTTP/1 allows you to deliver content without committing any per-client
state, beyond the TCP socket, and that is not a "degraded mode",
that is the default mode.

If your HTTP/2 proposal cannot do that, you're working on the wrong
protocol.

Poul-Henning

-- 
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.