Can HTTP/2 multi-stream speed up downloading with Hyper? #3537
-
Hello community, Hyper has the initial window control function, but I wonder if Hyper interleaves frames. Or a more straightforward question, will it be faster to download large files that support range requests with multiple HTTP/2 streams? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
No. And I think you have a bit of a misunderstanding on the advantage of HTTP/2. It is not Speed of downloading large file would mostly depend on network speed.
Yes, the HTTP/2 implementation of hyper sends data frames of different streams "interleaved". |
Beta Was this translation helpful? Give feedback.
No. And I think you have a bit of a misunderstanding on the advantage of HTTP/2. It is not
multi-threading
, but multiplexing on a single connection. Basically, it allows responses to be streamed out-of-order when making multiple requests, and this advantage can be taken of by the server (i.e. processing some requests, while also sending responses to the others).Speed of downloading large file would mostly depend on network speed.
Yes, the HTTP/2 implementation of hyper sends data frames of different streams "i…