@happy wrote:
Most of HTTPS requests with HTTP/2 are slower than normal.
And there are some requests that are slower in 3-10 times. An extra time appears on “read request” stage.Example:
- HTTP/1.1 https://prnt.sc/i5p0hs
- HTTP/2 https://prnt.sc/i5p0vr
I’ve tested with GTMetrix (some pages have 3-5 longer average full-load time), DareBoost and local test with Hey
For local test I’ve used single 14MB file and 10 threads.
- Average request-time degradation 20-30%
- Slowest requests are 1.5-3 times worse
It is with default tune-h2 settings.
Changing to the maximum header-table-size and 512MB initial-window-size makes it a bit better, but it is still much worse than HTTP/1.1.
HA-Proxy version 1.8.3-a91f55-27 (USE_GETADDRINFO=1 USE_ZLIB=1 USE_REGPARM=1 USE_OPENSSL=1 USE_LUA=1 USE_SYSTEMD=1 USE_PCRE=1 USE_PCRE_JIT=1 USE_TFO=1 USE_NS=1)
Posts: 1
Participants: 1