Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

the other server is 2x faster even without http/2

My wget implementation does not suppot http/2

HTTP Server:

  $ time wget https://1153288396.rsc.cdn77.org/http2/tiles_final/tile_18.png
  [...]
  real 1.038      user 0.038      sys 0.007       pcpu 5.37
HTTP2 Server:

  $ time wget https://1906714720.rsc.cdn77.org/http2/tiles_final/tile_18.png
  [...]
  real 0.539      user 0.045      sys 0.009       pcpu 10.01
of course that's just latency.. but this is hardly a scientific demonstration.

We should also consider the fact that this is cherry picking the worst trait of HTTP/1.1 and that's that it's latency sensitive.

A demo with a real webpage of large assets would be a better example.



They're closer to the same speed now. Some of the difference could be the I/O rate the h2 server has to contend with, right?

The real way to demonstrate this would be to release a VM or container for people to test on their own server. And add a demo page of large assets, like you suggest.


Funny, for me

- HTTP/1.1 17.83s - HTTP/2 57.73s

I guess I am living in a really remote area of the Interweb.


Something is very fishy. I tested this behind the evil-proxy-of-doom on the internal network and http2 was twice as fast despite the proxy barely supporting http1...

But then real http2 against the http2 server is still 2.98 sec vs 8.65 sec.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: