Re: H2 HEADERS and flow control

On 4 July 2014 15:28, David Krauss <potswa@gmail.com> wrote:

> Correct me if I’m wrong!


Whilst what I'm advocating could be somewhat implemented by self
control/priorty I don't think it can entirely be done so, and certainly not
just by the server.

Currently a browser that has just sent a 64KB header is free to immediately
send another 64KB of data without any say so from the server.  This will
effectively give that client twice the share of any shared connections from
load balancer to app server vs a browser that sends small headers.

If the header size was included in the flow control calculations, then the
browser would have to wait for a WINDOW_UPDATE after sending a 64KB header
before it could send any data.   It would thus be only able to take the
same share of any amalgamated connection as a small header sender.

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 Friday, 4 July 2014 05:55:27 UTC