Closed matsumotory closed 9 years ago
I have read the HTTP/2.0 introduction, it is said that "to decrease the latency the HTTP/2.0 use compressed headers and server push techs to implement the fast page loading", and your benchmark test proves the idea was right, thank you.
Just a note so no one will be getting false hopes of HTTP2.0: The standard requires header compression to be disabled with HTTPS browsers are only going to implement HTTPS so there will effectively be no header compression in HTTP2.0
2014/05/25 Benchmark
nginx (HTTP/1.1)
Version
conf
content
Benchmark
Trusterd (HTTP/2 with mruby-http2 engine)
version
Trusterd: bad899053f18a93615d66eb1f4233581713139b7
mruby-http2: https://github.com/matsumoto-r/mruby-http2/commit/32914462c5b52f31c7850b60b3e1568391cfa0c2
nghttp2: https://github.com/tatsuhiro-t/nghttp2/commit/78a55935ace7fb6d617dc3e7106bdca59a712899
mruby: https://github.com/mruby/mruby/commit/8bbde64ead3cfa2ffd3ca9f8f70ed3428fd22cf8
conf
contents
Benchmark
Result
nginx: 23600 req/s
trusterd: 154760 req/s
Benchmark Environment
OS
Ubunt 14.04 64bit on VMWare
CPU
Memory