Re: Restore Header Table and Static Table Indices

Adrian Cole <adrian.f.cole@gmail.com> Wed, 15 October 2014 04:40 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A8B61A026A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Oct 2014 21:40:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.112
X-Spam-Level:
X-Spam-Status: No, score=-5.112 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g0lDYpNSIuxv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 14 Oct 2014 21:40:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 40A4F1A0267 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 14 Oct 2014 21:40:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1XeGKo-00042R-By for ietf-http-wg-dist@listhub.w3.org; Wed, 15 Oct 2014 04:37:14 +0000
Resent-Date: Wed, 15 Oct 2014 04:37:14 +0000
Resent-Message-Id: <E1XeGKo-00042R-By@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrian.f.cole@gmail.com>) id 1XeGKf-0003ls-TP for ietf-http-wg@listhub.w3.org; Wed, 15 Oct 2014 04:37:05 +0000
Received: from mail-ob0-f172.google.com ([209.85.214.172]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <adrian.f.cole@gmail.com>) id 1XeGKe-0007jk-UD for ietf-http-wg@w3.org; Wed, 15 Oct 2014 04:37:05 +0000
Received: by mail-ob0-f172.google.com with SMTP id vb8so396798obc.31 for <ietf-http-wg@w3.org>; Tue, 14 Oct 2014 21:36:38 -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=cb0yP6KS9YJu+Nw+mibYJqY5Leawi6Oko5uAUkNH13I=; b=U1hKBr+z0F3iPdbw/Fy5FYW1nVEktfirpq5VqnhynUcUjVZxpvj4PCA3v8AyNdWTHY mMedl8y5oNReEYuiTQK4V6vDl4uM/IrdjYO8rypZ8GDBTGVmuoUrmFhNpu7TDiovyaEU xDhnuXTgCGZVPvp3c2e7/nMPyqGvtoOoB0rUDMxFwqOGc6MC0nlcShq53JJ3CdQKRBBf fb4zshILhCgK0aW4FNUvbktrGle3SV4/E+/jMgqYVsCuYBSgkAOLugIZfVDt5Uzo+JDL aeqCkepmR3SdfUuek90ZltF7iBILfvkZc9u3hXYzGlRB7qovH/4ihJbKAYffjh9K2U44 AtJw==
MIME-Version: 1.0
X-Received: by 10.60.54.170 with SMTP id k10mr135371oep.48.1413347798719; Tue, 14 Oct 2014 21:36:38 -0700 (PDT)
Received: by 10.202.17.132 with HTTP; Tue, 14 Oct 2014 21:36:38 -0700 (PDT)
In-Reply-To: <CAP+FsNc1++nhXM5UNBM9MXOPJgOmg1noEHbzCpF6xQZju1sw+A@mail.gmail.com>
References: <CA+pLO_jkN67HLT7oup+FcYVY+RZ7ckhpY2gGy=TAsr2UUMnVVA@mail.gmail.com> <1412620209.1809025.175784345.73E4E08E@webmail.messagingengine.com> <D0582ED8.B1E9%sakulkar@akamai.com> <65916.1412621070@critter.freebsd.dk> <52D9EE42-34FC-4C61-BC35-2B559E166985@apple.com> <D0587F1E.3AE7B%Robby.Simpson@GE.com> <CAP+FsNc1++nhXM5UNBM9MXOPJgOmg1noEHbzCpF6xQZju1sw+A@mail.gmail.com>
Date: Tue, 14 Oct 2014 21:36:38 -0700
Message-ID: <CAHzwyDv=nxxmX_FYTi2=vi48XAMnr_vJoOVKNYO8jMeFc4PNdQ@mail.gmail.com>
From: Adrian Cole <adrian.f.cole@gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: "Simpson, Robby (GE Energy Management)" <robby.simpson@ge.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.214.172; envelope-from=adrian.f.cole@gmail.com; helo=mail-ob0-f172.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.780, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1XeGKe-0007jk-UD c5dd21067057f7f80372e37a1319be08
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Restore Header Table and Static Table Indices
Archived-At: <http://www.w3.org/mid/CAHzwyDv=nxxmX_FYTi2=vi48XAMnr_vJoOVKNYO8jMeFc4PNdQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/27603
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>

+1

For apis, this makes a lot of sense, as often custom headers equal or
outnumber ones in the static table.
This part of the implementation is easy, so churn isn't an issue for
me personally.

On Mon, Oct 6, 2014 at 2:58 PM, Roberto Peon <grmocg@gmail.com> wrote:
> I'm a +1 on this.
>
> The data thusfar shows that the current scheme significantly underperforms
> the previously designed scheme when the headers to be used are not in the
> current static set.
>
> The complexity of adding an int to an int is low.
> The amount of CPU necessary to add an int to an int is low.
>
> The difference in performance in the non-idea case is large.
>
> -=R
>
> On Mon, Oct 6, 2014 at 2:17 PM, Simpson, Robby (GE Energy Management)
> <robby.simpson@ge.com> wrote:
>>
>> I too am a -1
>>
>> On 10/6/14, 4:44 PM, "Michael Sweet" <msweet@apple.com> wrote:
>>
>>
>> >Also -1.
>> >
>> >> On Oct 6, 2014, at 2:44 PM, Poul-Henning Kamp <phk@phk.freebsd.dk>
>> >>wrote:
>> >>
>> >> --------
>> >> In message <D0582ED8.B1E9%sakulkar@akamai.com>, "Kulkarni, Saurabh"
>> >>writes:
>> >>> Same here, -1 on this. Our implementation (Akamai server) is much
>> >>>simpler
>> >>> now because of this.
>> >>
>> >> Same here: -1 on this.
>> >>
>> >> Having the static table first is much simpler and no credible data
>> >> has shown that putting the dynamic table first will lead to overall
>> >> improvement of compression.
>> >>
>> >> And if compression is that important, we can get much more of it by
>> >> compressing timestamps algorithmically than by flipping these two
>> >> tables.
>> >>
>> >> --
>> >> 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.
>> >>
>> >
>> >_________________________________________________________
>> >Michael Sweet, Senior Printing System Engineer, PWG Chair
>> >
>> >
>>
>>
>