Re: HTTP router point-of-view concerns

On Fri, 12 Jul 2013 14:59:30 +0200, Patrick McManus <pmcmanus@mozilla.com>  
wrote:

> cookies and user agents, while very redundant, are not 100% consistent  
> between transactions. Especially in >proxying scenarios, but other  
> places too.
>
> And even if we removed those, a request header would still be ~300 bytes  
> - which is just too big to support the >many dozens of subresources that  
> commonly make up a page today in one rtt.
>

Taking a snapshot of 250k requests from mobile devices gives an average of  
567 bytes per request. This is for short URLs and no cookies (except those  
injected by operators) are included.

    0 : 18.9%
  100 :  1.6%
  200 :  7.7%
  300 :  9.8%
  400 :  8.4%
  500 : 11.1%
  600 : 11.4%
  700 :  9.5%
  800 :  7.7%
  900 :  4.7%
1000 :  2.4%

Almost all of these are however request invariant, so just setting these  
on a connection level solves most of the problem without compression or  
compact encoding.

/Martin Nilsson

Received on Sunday, 14 July 2013 22:33:19 UTC