W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2014

Re: http2 Working Code

From: David Krauss <potswa@gmail.com>
Date: Sat, 14 Jun 2014 08:44:17 +0800
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <212993CB-89CF-4A3C-A6C5-6F63F465B0F2@gmail.com>
To: Greg Wilkins <gregw@intalio.com>

On 20140613, at 8:42 PM, Greg Wilkins <gregw@intalio.com> wrote:

> When you see hpack at work it is pretty good.  The huffman is ok, with a 50% saving on average, but the differential headers does produce great savings and you can see whole new requests pop out of header frames that are only a few bytes long, even empty header frames. Plus it is kind of fun to play with different encoding strategies.

Huffman can only do 50% when the input is restricted to the characters 0, 1, and 2. Caching/differential encoding is where most of the savings currently comes from. The Huffman code saves 29% on its original corpus, which is composed mainly of lowercase words and numbers. Doing better than that should be highly unusual.

Anyway, congratulations!

Received on Saturday, 14 June 2014 00:44:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:31 UTC