Re: Call for Consensus: Remove "reference set" from HPACK (to address #552)

On 16 July 2014 16:43, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:

> Can I persuade you do a run of h2-12-noRefSet-noCopy-static1 where headers
> which contain only a timstamp compresses to 5 bytes, so we can see if
> "algorithmic compressors" are worth looking at ?
>

I just did a quit hack to use the literal with indexed name encoding, but
that detects the five date headers.  The value is then just sent as 5
bytes.

But the savings were good:
HPACK/HEADER TABLE01024409616384h2-1264.22%47.06%42.18%41.82%h2-12-noRefSet
64.22%47.39%42.57%42.44%h2-12-noRefSet-noCopy64.22%47.16%42.50%42.67%
h2-12-noRefSet-noCopy-static164.22%47.18%42.36%40.97%
h2-12-noRefSet-noCopy-static1-date553.62%39.48%34.99%33.62%
So that's a 6-10% saving, which is lots more than any other feature we are
discussing here. So worth looking into!

cheers









-- 
Greg Wilkins <gregw@intalio.com>
http://eclipse.org/jetty HTTP, SPDY, Websocket server and client that scales
http://www.webtide.com  advice and support for jetty and cometd.

Received on Wednesday, 16 July 2014 13:41:57 UTC