|
|
|
|
|
by mgaunard
1269 days ago
|
|
Most likely the parallel requests are done using a single connection. So of course HTTP/2 will outperform, that's what it's designed to do. Now try again, but use one connection per thread, and connect it before you start benchmarking, i.e. use it the way it's meant to be used. |
|
But either way, yes, that's fundamentally a benefit of being able to use HTTP. We can multiplex multiple sessions over one underlying connection.