Re: HTTP router point-of-view concerns

Roberto Peon <grmocg@gmail.com> Thu, 11 July 2013 20:09 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 71E0821F9F30 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Jul 2013 13:09:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.541
X-Spam-Level:
X-Spam-Status: No, score=-10.541 tagged_above=-999 required=5 tests=[AWL=0.057, BAYES_00=-2.599, HTML_MESSAGE=0.001, 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 RKLhfTCB+KlT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Jul 2013 13:08:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1B67121F9EBE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Jul 2013 13:08:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UxN9q-00081w-FY for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Jul 2013 20:08:06 +0000
Resent-Date: Thu, 11 Jul 2013 20:08:06 +0000
Resent-Message-Id: <E1UxN9q-00081w-FY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UxN9h-00080q-Vk for ietf-http-wg@listhub.w3.org; Thu, 11 Jul 2013 20:07:58 +0000
Received: from mail-ob0-f174.google.com ([209.85.214.174]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1UxN9g-00013M-5j for ietf-http-wg@w3.org; Thu, 11 Jul 2013 20:07:57 +0000
Received: by mail-ob0-f174.google.com with SMTP id wd20so10510390obb.33 for <ietf-http-wg@w3.org>; Thu, 11 Jul 2013 13:07:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QryWs9XXRfEbGOhf+03KEcEFynziQ5f7acL3cHfnsf0=; b=AwtVAJYozpwRCHWmWZHseh6g/JV+Bl/UhdtKF/YB/Ot0nA9D2uKRohCpCJsCw0R35K RRURQERKb5oyODNIidGFtBcQ2GfPm7ffeJlMFZ0rqC4hrzaFYvj0LsU+yrFBjqylTgLt fTaQxCCF20j/LtBfwCPGm8ZJQmxx5gctb8EVXBjGToMtZg8eTEj/ozvgtMf1THJQnXIw 3F9M8Q95zzabcfklIHY98/Hf1tJf0Fa0/Ai243Cfi7NNxMSOf3CXFkLMu8i9qi40jyq6 RJheH8XR5YklmTsKOW7jYBHVOLJE8/8xilfpUVBlC05e4yDLW9LfKibRm7GNyLIPqUOq N0ug==
MIME-Version: 1.0
X-Received: by 10.182.181.99 with SMTP id dv3mr33448906obc.71.1373573250044; Thu, 11 Jul 2013 13:07:30 -0700 (PDT)
Received: by 10.76.91.229 with HTTP; Thu, 11 Jul 2013 13:07:29 -0700 (PDT)
In-Reply-To: <CABP7RbfGYsryOsEWW+UWJ+fdVejiRQSHH0DF_Kw4Pf=EJQX+rw@mail.gmail.com>
References: <CA+qvzFPUpcm6kUtJx+rTw8Dpp4Gtx4Bmr3XPDhjNsjchUfN9_w@mail.gmail.com> <51DE1E32.9010801@treenet.co.nz> <CAP+FsNdcYhA=V5Z+zbt70b5e7WmcmXgjG5M9L3vfXeXfTwmRnw@mail.gmail.com> <51DE327C.7010901@treenet.co.nz> <CABkgnnXeqD6wh0dcJ1Dz=4PLAJNkDeGcCuzMr9ATd_7xS7nbGQ@mail.gmail.com> <CABP7RbcUkLf3CTAB4jwicnsiKWLGVY6=hX0k=0256SR_gcVt9A@mail.gmail.com> <CAP+FsNcOZnLa9GCr6XcZNFdq-mSXG6Q-_1Lb5u=a2YyXNCsVfQ@mail.gmail.com> <CABP7RbfGYsryOsEWW+UWJ+fdVejiRQSHH0DF_Kw4Pf=EJQX+rw@mail.gmail.com>
Date: Thu, 11 Jul 2013 13:07:29 -0700
Message-ID: <CAP+FsNcAJB85i=me4dqjzPcF_uV88LsLr+hBLrxZv_F8hdB4Dg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="089e0158b6a6a45cab04e141f161"
Received-SPF: pass client-ip=209.85.214.174; envelope-from=grmocg@gmail.com; helo=mail-ob0-f174.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.654, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UxN9g-00013M-5j 1e53e6f0dbabab4396971bfefd99fb1f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP router point-of-view concerns
Archived-At: <http://www.w3.org/mid/CAP+FsNcAJB85i=me4dqjzPcF_uV88LsLr+hBLrxZv_F8hdB4Dg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18708
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 calling that the static table. Those are the elements you get for
"free" (as in the memory is allocated once in the process, as opposed to
for every connection).

-=R


On Thu, Jul 11, 2013 at 1:02 PM, James M Snell <jasnell@gmail.com> wrote:

> On Thu, Jul 11, 2013 at 12:35 PM, Roberto Peon <grmocg@gmail.com> wrote:
> >[snip]
> >
> > The DoS vector you're talking about is not a DoS vector if the
> intermediary
> > resets all streams before the change-of-state-size comes into effect.
> > When the state size is 0, one should be able to use some kinds of
> 'indexed'
> > representations, so long as those representations refer only to items in
> the
> > static tables. Why do you believe that this would use more or less CPU?
> (It
> > should use less CPU and less memory...)
> > [snip]
>
> Well, as far as I can tell, according to the current header
> compression draft, there is no "static table". The header table is
> pre-populated, yes, but those items would fall out of the header table
> via eviction as the table fills. There is nothing in the current
> header compression draft that says those items are permanent.... Given
> that, and given that we've already established that reducing the
> header table size forces eviction, setting the size to zero would
> cause all of the pre-populated items to be evicted.
>
> - James
>