cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Massive HTTP/2 parallel requests

From: Lucas Pardue <Lucas.Pardue_at_bbc.co.uk>
Date: Fri, 11 Mar 2016 14:46:56 +0000

On Fri, 11 Mar 2016, Molina wrote:

> After a deep search and a parallel email chain with the mod_http2 developers I think found the solution for this:
> The problem was in the window sizes and tcp buffers
> ...
> However, when performing both tests it was necessary to use the nghttp utility to increase the per-connection window size to 16MB and the per-stream window size to 1MB, having 16 parallel streams.

The discussion sounds interesting, is the email chain available on public archives? I'm a little confused how the original issue of a 64 stream limit has ended up as an issue related to TCP buffers. Or did you solve that one and move onto performance tuning?

I could guess that the libcurl window size defaults mean than streams receiving data at an equal rate eventually fill the client connection window and block the server from sending more data. But that would suggest that the clients are not sending WINDOW_UPDATE frames in a timely manner. Can you shed any more light on the process of coming to this solution?

Regards
Lucas

-----------------------------
http://www.bbc.co.uk
This e-mail (and any attachments) is confidential and
may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in
error, please delete it from your system.
Do not use, copy or disclose the
information in any way nor act in reliance on it and notify the sender
immediately.
Please note that the BBC monitors e-mails
sent or received.
Further communication will signify your consent to
this.
-----------------------------

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-11