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

Re: delta encoding and state management

From: James M Snell <jasnell@gmail.com>
Date: Thu, 17 Jan 2013 09:56:55 -0800
Message-ID: <CABP7RbcG-h5tgU-m8dAo-K+TGcDoH2HpR_q3d8h_8tf2Gs2BrA@mail.gmail.com>
To: Nico Williams <nico@cryptonector.com>
Cc: Roberto Peon <grmocg@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
On Thu, Jan 17, 2013 at 9:49 AM, Nico Williams <nico@cryptonector.com>wrote:

> On Thu, Jan 17, 2013 at 11:21 AM, James M Snell <jasnell@gmail.com> wrote:
> > My main concerns with this approach are (a) even tho the decoder gets to
> set
> > limits on the amount of state used, keeping that state around is still
> > relatively expensive compared to what we have now, and (b) keeping it in
> > sync with the client, server and any number of intermediaries along the
> path
> > is likely going to prove difficult at best. We need to make sure we have
> a
> > good understanding of the worst case scenario with this approach (i.e.
> > nothing stored in context anywhere along the path).
>
> If the compression is hop-by-hop then there's no synchronization
> issues.  But then middleboxes may have to decompress and always
> re-compress (even if the headers are left unmodified) in each
> direction.
>
>
That's the exact problem I'm having really. Middleboxes will be required to
maintain a complete compression state (for requests and responses) as
opposed to just passing things through. Maintaining that state could become
quite expensive. If we don't maintain it, tho, the potential sync issues
become too messy.


> In general I'd much rather not have connection-oriented state at all,
> not even if it were transparent to HTTP.
>
>
Agreed, not sure how to avoid it and still get good compression (outside of
simply optimizing the encoding of values as much as possible... i.e. bohe)

- James


> Nico
> --
>
Received on Thursday, 17 January 2013 17:57:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 January 2013 17:57:50 GMT