You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tested speed of http2 library and it is much slower comparing to http. I tested with client and server being on my local. Server is written in Go and client in Dart. To downloaded 100mb file with HttpClient it takes 4s and http2 takes 15s.
I faced this issue with GRPC. We are downloading files with GRPC streams and speed depending on how far the server is, can be 8 times slower comparing to http download. I was trying to isolate the issue and it seems http2 package seems to be the main problem.
I have Dart VM version: 2.8.4
and tested with
http2: ^1.0.0
http: ^0.12.2
I used the code from "minimal example" to download file with http2. Is there a way to improve speed?
The text was updated successfully, but these errors were encountered:
Seems like problem is not in http2 package.
I noticed that sending photo is slow too.
Sending bytes to outgoing stream is fast enough, but when we start listen incoming stream, first header frame received only after 10s+. Looks like problem may be in raw socket.
I have found this issue for dart socket dart-lang/sdk#48210, may be where the same problem.
I also want to note that the problem is serious for http 2 in dart. All native solutions are faster.
Hi
I have tested speed of http2 library and it is much slower comparing to http. I tested with client and server being on my local. Server is written in Go and client in Dart. To downloaded 100mb file with HttpClient it takes 4s and http2 takes 15s.
I faced this issue with GRPC. We are downloading files with GRPC streams and speed depending on how far the server is, can be 8 times slower comparing to http download. I was trying to isolate the issue and it seems http2 package seems to be the main problem.
I have Dart VM version: 2.8.4
and tested with
http2: ^1.0.0
http: ^0.12.2
I used the code from "minimal example" to download file with http2. Is there a way to improve speed?
The text was updated successfully, but these errors were encountered: