Re: Reference set in HPACK

On Tue, Jul 1, 2014 at 11:30 PM, Kazu Yamamoto <kazu@iij.ad.jp> wrote:

> Roberto,
>
> > Even a few bytes per request adds up as the number of requests go up.
> > Lets think about a page today that has 100 elements, which is something
> we
> > see today.
> > If the headers were regularized, with the use of a reference set, one
> could
> > imagine a reduction of 20 bytes per header.
>
> OK. Suppose we can save 20 bytes.
>
> > With 100 elements, this is approximately 2k of data, or two packets
> worth.
>
> I don't understand this.
>
> Each HTTP request/response is stored in its own IP packets.


This isn't correct. Implementations typically pack many requests or
responses into single packets, true even of implementations which turn
nagle off when they know that there is likely to be more data forthcoming.
-=R



> Suppose an
> HTTP request is stored in N IP packets. I don't think saving 20 bytes
> can reduce N to N - 1. So, the total number of IP packets is the same.



> --Kazu
>
>

Received on Wednesday, 2 July 2014 06:37:10 UTC