cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP 2.0 performance is slower than HTTP 1.1 in libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 May 2016 14:28:08 +0200 (CEST)

On Mon, 23 May 2016, Tatsuhiro Tsujikawa wrote:

> In my opinion, I recommend to keep using nghttp2's auto WINDOW_UPDATE
> feature while enlarging window size to 512MiB unless you'd want to implement
> custom WINDOW_UPDATE scheduler. With large WINDOW_SIZE, nghttp2 will send
> WINDOW_UPDATE less frequently (current implementation, it sends
> WINDOW_UPDATE when it receives 256MiB without sending any WINDOW_UPDATE).
>
> Bumping up window size of connection should be done in initialization phase,
> e.g., after nghttp2_submit_settings in http2_switched.

Right, thanks for that input. I agree that it seems like the smartest
approach.

Speaking of this (changing the window size), I was trying to find the
automated sizing logic documented on the nghttp2.org web site but I failed,
did I just not look at the right place?

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