W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2013

Re: bohe and delta experimentation...

From: Phillip Hallam-Baker <hallam@gmail.com>
Date: Fri, 18 Jan 2013 14:40:41 -0500
Message-ID: <CAMm+LwiCRVPi=gmEsO9PGT2N7DcFf3q-HCuVVg_+H2NU3w5dfA@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
On Wed, Jan 16, 2013 at 5:07 PM, James M Snell <jasnell@gmail.com> wrote:

> After going a number of scenarios with bohe using a variety of
> stream-compression scenarios it's painfully obvious that there is really no
> way around the CRIME issue when using stream-compression. So with that, I'm
> turning my attention to the use of Roberto's delta encoding and exploring
> whether or not binary optimized values can make a significant difference
> (as opposed to simply dropping in huffman-encoded text everywhere).
>
> I'm starting with dates first...
>
> Right now, dates in http/1 requests are rather inefficient. The existing
> date-time format wastes a significant amount of space, albeit across only a
> relatively few headers. On the plus side, these tend to compress well, but
> given that the dates change frequently request-to-request, they will be
> short-lived in the delta context.
>

Why do HTTP request messages have dates in them anyhow?

If they do not cause a state machine to behave differently then lets get
rid of them.

Dates that are content metadata are useful but putting the time in a
synchronous protocol has always seemed rather silly to me. The only use I
can see is to find out if the requester can config their machine to have
the right TOD on the clock. If that is all we are worried about then DNS
type 32 bit dates would be fine. DateTime in the DNS actually wraps every
UNIX epoch.

Given that we could eliminate the date altogether much of the time, having
the format wrap every 65 years or so does not seem a big problem to me.


Given that the universe we are in will wear out in a finite time it seems
unnecessary to use more than a 64 bit count of miliseconds or such. that is
only 8 bytes and easier to manage than the proposed format.

-- 
Website: http://hallambaker.com/
Received on Friday, 18 January 2013 19:41:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 18 January 2013 19:41:10 GMT