Re: delta encoding and state management

Patrick McManus <mcmanus@ducksong.com> Wed, 23 January 2013 14:43 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 3698921F85F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jan 2013 06:43:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level:
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_27=0.6, 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 UXlrPzggiX7C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Jan 2013 06:43:46 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3571621F85EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 23 Jan 2013 06:43:46 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ty1Ww-0007AE-Bv for ietf-http-wg-dist@listhub.w3.org; Wed, 23 Jan 2013 14:42:22 +0000
Resent-Date: Wed, 23 Jan 2013 14:42:22 +0000
Resent-Message-Id: <E1Ty1Ww-0007AE-Bv@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1Ty1Wq-00079T-N2 for ietf-http-wg@listhub.w3.org; Wed, 23 Jan 2013 14:42:16 +0000
Received: from mail-ob0-f176.google.com ([209.85.214.176]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1Ty1Wp-0004V2-Im for ietf-http-wg@w3.org; Wed, 23 Jan 2013 14:42:16 +0000
Received: by mail-ob0-f176.google.com with SMTP id un3so8294004obb.35 for <ietf-http-wg@w3.org>; Wed, 23 Jan 2013 06:41:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=aunzzAL6y+EbRECn8fNtyK3lkyGA1k9KcdW+a76nu3c=; b=Y4Cji0/d7djHWx118ga/PT0gmeqbfHJOzirdo/Gw+A9+GU8+IKlk/xtBPU54SFwIo4 XsX89oa6B0t9id/AAJ1GyhhsgmoIA9r/Y/EPmUPPjiNY8fZZuSA99I9omxfz7/yOQ8oR vmFphcbb3Uv88OeVYTp9wlqZ5+lmfaLmwfMrbvpu20gU+K2/tR8XuxemsnVbxlHxlA7o bhOMs09mNSGexVuUtKnugdKrdd7vvYdPpu/MbDaDRmwORGEZxyQ2EGEXxZ+Gr3mpVUSZ J9I6dbkJeqYOcZrsNQI5JVBOE0wuqgY9DF3Zyra2AElNTtRBKPTpGD5RqL2gK/Wx1kOu OghA==
MIME-Version: 1.0
X-Received: by 10.182.141.70 with SMTP id rm6mr1170824obb.59.1358952109516; Wed, 23 Jan 2013 06:41:49 -0800 (PST)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.132.165 with HTTP; Wed, 23 Jan 2013 06:41:49 -0800 (PST)
In-Reply-To: <97022.1358947157@critter.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> <97022.1358947157@critter.freebsd.dk>
Date: Wed, 23 Jan 2013 09:41:49 -0500
X-Google-Sender-Auth: 8tj9wXYwFFZOvIv4TjVWbb4Rwfc
Message-ID: <CAOdDvNps7Oq=4YT0DKBdysvWWauwhYJdUSEhT6vHzVS=MG5WaA@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
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>
Content-Type: multipart/alternative; boundary="e89a8f643ca6c1280804d3f5b137"
Received-SPF: pass client-ip=209.85.214.176; envelope-from=patrick.ducksong@gmail.com; helo=mail-ob0-f176.google.com
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Ty1Wp-0004V2-Im d36cf30f7d625362b9f9f11e7c351a0c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: delta encoding and state management
Archived-At: <http://www.w3.org/mid/CAOdDvNps7Oq=4YT0DKBdysvWWauwhYJdUSEhT6vHzVS=MG5WaA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16132
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>

I'm very comfortable optimizing for poor bw:latency ratios above other
considerations. There's no other important reason to rev the protocol.



On Wed, Jan 23, 2013 at 8:19 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

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