Re: Header Serialization Discussion

Roberto Peon <grmocg@gmail.com> Tue, 16 April 2013 18:55 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 A42FB21F96BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Apr 2013 11:55:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[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 xX0avbLp6Gma for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Apr 2013 11:55:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D6D5E21F964F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Apr 2013 11:55:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1USB2E-00024b-76 for ietf-http-wg-dist@listhub.w3.org; Tue, 16 Apr 2013 18:55:18 +0000
Resent-Date: Tue, 16 Apr 2013 18:55:18 +0000
Resent-Message-Id: <E1USB2E-00024b-76@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1USB2B-00023p-9g for ietf-http-wg@listhub.w3.org; Tue, 16 Apr 2013 18:55:15 +0000
Received: from mail-ob0-f179.google.com ([209.85.214.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1USB2A-0002LZ-9p for ietf-http-wg@w3.org; Tue, 16 Apr 2013 18:55:15 +0000
Received: by mail-ob0-f179.google.com with SMTP id tb18so741687obb.24 for <ietf-http-wg@w3.org>; Tue, 16 Apr 2013 11:54:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=oYGZrzFH3vPJWb+tF0JrElBsGXKz6oKaohj0P/SmUj4=; b=ZLSQ5tHOo7h+goByXXOCFMy1EopWHvupRWqegdxXph3RG3Yk4EISeBzcSYHY7wWNhp aVlebJ9Vhe9Pu5K6l+hQlT4grHoSAKe5czrEmCjz3RscXYUsSo8yMff0dt7Pa3PiRPXx 7E/nR4lwo5N8JybO9AMMpN9+J056qvatxV4txNroIDSGq1lP3JbytUP0SDv5tPmeDJQN snqC/bt2fbG+2QZi0EKyrJWqliSKucQGOk6sNIa2DNggJ1YVmqgobdvMiEUKHlZPiHVC W1cdqOYfiac3he1PT2bzsO7IpAVED2rnS4R98FAIYC3O960ZjnSjyO/gTODJ/kgW0aZK xSmw==
MIME-Version: 1.0
X-Received: by 10.60.121.104 with SMTP id lj8mr1384528oeb.83.1366138488141; Tue, 16 Apr 2013 11:54:48 -0700 (PDT)
Received: by 10.76.141.83 with HTTP; Tue, 16 Apr 2013 11:54:48 -0700 (PDT)
In-Reply-To: <CABP7RbdGNNxMmkmQvwWYmy2AKieHbUzwrj2bR_09J7x6K0JC=w@mail.gmail.com>
References: <CABP7RbfUH=U0hjcmEXKO1jJzy7pPffqFDE4TmAs-ahBX04qwJw@mail.gmail.com> <6C71876BDCCD01488E70A2399529D5E51640F0D1@ADELE.crf.canon.fr> <CABP7Rbcvqas52h8hJatDgqVQsnH3dHAkZREHTLU=ADKbx=0uSQ@mail.gmail.com> <6C71876BDCCD01488E70A2399529D5E5164113A5@ADELE.crf.canon.fr> <CABP7RbdknWYqUhukCArQim9tZZPsf+wU29PXpBw19p7hKjdwBA@mail.gmail.com> <CABP7RbdGNNxMmkmQvwWYmy2AKieHbUzwrj2bR_09J7x6K0JC=w@mail.gmail.com>
Date: Tue, 16 Apr 2013 11:54:48 -0700
Message-ID: <CAP+FsNes=+R2WBO7ONn+mhC75q7QnQf5cpu6O=8f8cwCpG2Big@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="047d7b3a97344cc14004da7ee75d"
Received-SPF: pass client-ip=209.85.214.179; envelope-from=grmocg@gmail.com; helo=mail-ob0-f179.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: lisa.w3.org 1USB2A-0002LZ-9p b14e5f1bce8368858ce2411b09872865
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Header Serialization Discussion
Archived-At: <http://www.w3.org/mid/CAP+FsNes=+R2WBO7ONn+mhC75q7QnQf5cpu6O=8f8cwCpG2Big@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17270
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 also prefer just plain straight LRU. We can have some behavior which
allows for an item to be moved to the front of the LRU before it dies if
we're worried about it expiring and it is of high benefit.
(a flag on it saying it is 'permanent' or something as an option).

-=R


On Tue, Apr 16, 2013 at 11:37 AM, James M Snell <jasnell@gmail.com> wrote:

> On Tue, Apr 16, 2013 at 10:51 AM, James M Snell <jasnell@gmail.com> wrote:
> >[snip]
> > Requests:
> >                size  time | ratio min   max   std
> >      http1  200,876  0.01 | 1.00  1.00  1.00  0.00
> >        dhe   71,352  0.08 | 0.36  0.00  0.71  0.15
> >     delta2   35,850  0.37 | 0.18  0.03  0.67  0.12
> > headerdiff   38,673  0.23 | 0.19  0.03  0.88  0.16
> >
> > Responses:
> >                size  time | ratio min   max   std
> >      http1  160,435  0.06 | 1.00  1.00  1.00  0.00
> >        dhe   37,132  0.02 | 0.23  0.00  0.66  0.11
> >     delta2   42,764  0.43 | 0.27  0.02  0.65  0.10
> > headerdiff   46,321  0.69 | 0.29  0.04  0.84  0.13
> >
>
>
> I will note that these numbers reflect the fact that some header
> fields are intentionally set as ephemeral so that they are never
> stored in state. If I run the test again without that flag set for any
> of the fields the numbers come out as...
>
> REQUEST:
>                size  time | ratio min   max   std
>      http1  200,876  0.00 | 1.00  1.00  1.00  0.00
>        dhe   40,957  0.06 | 0.20  0.00  0.71  0.14
>     delta2   35,850  0.34 | 0.18  0.03  0.67  0.12
> headerdiff   38,673  0.29 | 0.19  0.03  0.88  0.16
>
> RESPONSE:
>                size  time | ratio min   max   std
>      http1  160,435  0.02 | 1.00  1.00  1.00  0.00
>        dhe   35,350  0.02 | 0.22  0.00  0.67  0.12
>     delta2   42,764  0.66 | 0.27  0.02  0.65  0.10
> headerdiff   46,321  0.57 | 0.29  0.04  0.84  0.13
>
> I still have more testing to do, of course, but that's where things stand
> now.
>
> - James
>
>