Re: Suggestion for simplified HTTP 2.0 header compression algorithm

Hans Spaak <hans.spaak@ericsson.com> Thu, 07 November 2013 14:33 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 3E67021E80B9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Nov 2013 06:33:57 -0800 (PST)
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 6R1ZTwDc2CGy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Nov 2013 06:33:51 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A4FE11E819C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 7 Nov 2013 06:33:39 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1VeQcY-0005Ze-Gx for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Nov 2013 14:31:42 +0000
Resent-Date: Thu, 07 Nov 2013 14:31:42 +0000
Resent-Message-Id: <E1VeQcY-0005Ze-Gx@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hans.spaak@ericsson.com>) id 1VeQcK-0005Xt-5K for ietf-http-wg@listhub.w3.org; Thu, 07 Nov 2013 14:31:28 +0000
Received: from [193.180.251.42] (helo=sessmg20) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <hans.spaak@ericsson.com>) id 1VeQcE-0002Rm-M6 for ietf-http-wg@w3.org; Thu, 07 Nov 2013 14:31:27 +0000
X-AuditID: c1b4fb2a-b7fbb8e0000072a3-48-527ba4257066
Received: from ESESSHC004.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg20 (Symantec Mail Security) with SMTP id 5D.CD.29347.524AB725; Thu, 7 Nov 2013 15:31:01 +0100 (CET)
Received: from ESESSMB303.ericsson.se ([169.254.3.190]) by ESESSHC004.ericsson.se ([153.88.183.30]) with mapi id 14.02.0328.009; Thu, 7 Nov 2013 15:31:00 +0100
From: Hans Spaak <hans.spaak@ericsson.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Re: Suggestion for simplified HTTP 2.0 header compression algorithm
Thread-Index: Ac7bxbr8OTku+MZyRMS7DiruFFSB+g==
Date: Thu, 07 Nov 2013 14:30:59 +0000
Message-ID: <3DA2CCFE1950214281EBD48CE0FBDABD3572BA99@ESESSMB303.ericsson.se>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.17]
Content-Type: multipart/alternative; boundary="_000_3DA2CCFE1950214281EBD48CE0FBDABD3572BA99ESESSMB303erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCLMWRmVeSWpSXmKPExsUyM+Jvja7qkuoggyvTpC0Ot8xicmD0ODpv P2sAYxSXTUpqTmZZapG+XQJXxodF75gKfntUHJ/0nr2B8Zl9FyMnh4SAicTmtfcZIWwxiQv3 1rOB2EIC2xkleteHdjFyAdmLGSWefznHBJJgE9CSaNryE8wWEdCXeHTmKGsXIweHsICPxMwv +RDhYIlPm0+wQ9h6Emfn9zCDlLAIqEh8fyUEEuYV8JWYeXwbK4jNKCArcf/7PRYQm1lAXOLW k/lMEOcISCzZc54ZwhaVePn4H9gmCQFFieX9chDl+RK7Jn1ghhgpKHFy5hOWCYxCs5BMmoWk bBaSMoi4jsSC3Z/YIGxtiWULXzPD2GcOPGZCFl/AyL6KkaM4tbg4N93IYBMjMOQPbvmttYPx 9Vb7Q4zSHCxK4ryy5tVBQgLpiSWp2ampBalF8UWlOanFhxiZODilGhjbf8bwnlAzuZ+gIZd+ 3nZV65/Wtj1PyhPtaiQiVBe6rVTfl7c8LNRttanIr7vqTI5rTIocEytvPhWWXdwsyDXR9Nye lAX8mjFsuptn35jpKrP78G4PiwYHi96VsxVuFh38zC39VfelULSBwLIWF/uLc8XNTuVfTv2U avnq0Iq6/5wLa+LeLldiKc5INNRiLipOBAA16xA8RwIAAA==
Received-SPF: pass client-ip=193.180.251.42; envelope-from=hans.spaak@ericsson.com; helo=sessmg20
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: AWL=-3.755, FSL_HELO_NON_FQDN_1=0.001, HTML_MESSAGE=0.001, RDNS_NONE=1.274, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1VeQcE-0002Rm-M6 eaa036802fb03042c40e0808f4d19c4a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Suggestion for simplified HTTP 2.0 header compression algorithm
Archived-At: <http://www.w3.org/mid/3DA2CCFE1950214281EBD48CE0FBDABD3572BA99@ESESSMB303.ericsson.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/20380
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>

Hello,



Thank you all for your comments.

You are right Amos, the static headers are not re-transmitted constantly.  They are only sent in the SETTINGS frame.



The following text is probably  a bit misleading:

> Static headers and dynamic headers are combined in the following way:

>

> 1.Emit the dynamic headers.

>

> 2.Emit the static headers whose header names are not present in the

> dynamic headers.



We tried to describe how the client/server combines the static and dynamic headers into one header set for the request, when it receives a HEAD frame with dynamic headers.



We were not aware of a fact that there is another draft (http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly-00) in the same area.

Our proposal was inspired by the way how static and dynamic headers are exchanged in the WAP WSP protocol.



The header encoding in  http://tools.ietf.org/html/draft-tarreau-httpbis-network-friendly-00#section-2.1.5 is better than the one which we propose.

We should use it.



Regarding your comments Michael - you are right that the solution with sending static headers in the SETTINGS frame doesn't work well for proxies. However we believe that the current header compression scheme will most likely also not achieve high compression ratio in that case (Multiplexing requests from many "UE" on one connection).



We would recommend not to send any static headers in the SETTINGS frame in proxy case if requests from multiple UE's are multiplexed on connection.



Regarding Marks comment - no we do not have any running code yet, we wanted to see the feedback on our proposal before development. However, we do have a running implementation of current HPACK proposal (draft v 06). When we implemented that one, we came to the conclusion that it is too complicated and we fear that it will cause interworking problems in the future.



Best regards,

Hans Spaak
Ericsson AB
E-mail: hans.spaak@ericsson.com<mailto:hans.spaak@ericsson.com>
Web: www.ericsson.com<http://www.ericsson.com>