While testing performance we noticed that the up- and download is drastically slowed down with http/2 enabled. We tested this on multiple systems in multiple geo locations with different systems and OS versions. Using http/2 is a throughput bootleneck whereas it’s supposed to improve it.
Some example to see the huge difference we are talking about (MB/s, not Mbit/s):
- Upload with http/2 enabled: 9 MB/s
- Upload with http/2 disabled: 52 MB/s
- Download with http/2 enabled: 18 MB/s
- Download with http/2 disabled: 120 MB/s
Tested with: CE and PRO 7 + 8 (different versions)
Nginx running on all instances as public proxy.
Important fun fact: When using yet another proxy in front of nginx e.g. haproxy, the problem doesn’t seem to exist??!
[ "Seafile/Seahub" --> "Nginx" with private CA signed cert ] --> [ haproxy --> public ssl offloading ] --> Internet --> Webbrowser/Client
I found another http/2 related thread that might give some clues.
Thanks in advance!