高性能HTTP服务器-H2O


H2O 是一个经过优化的 HTTP 服务器实现,可用于一个标准的独立服务器或者是一个 HTTP 服务器开发包,采用C语言开发并在MIT协议下授权。
H2O is an optimized HTTP server implementation that can be used either as a standalone server or a library.
支持的协议有:
HTTP/1.0 (http and https)
HTTP/1.1 (http and https)
Websocket (RFC6455, both ws and wss)
HTTP/2.0 (draft 14, via Upgrade, NPN, ALPN)
依赖包:
OpenSSL (mandatory)
libyaml (optional; required when building the server)
libuv 1.0.0 (optional; required when using h2o as a library)
wslay (optional; required if you need support for websocket)
实际测试发现 H2O 的性能是 Nginx 的两倍左右 (ab -c 500 -n 100000 -k):

最新版本:
项目主页:https://github.com/kazuho/h2o
H2O is an optimized HTTP server implementation that can be used either as a standalone server or a library.
支持的协议有:
HTTP/1.0 (http and https)
HTTP/1.1 (http and https)
Websocket (RFC6455, both ws and wss)
HTTP/2.0 (draft 14, via Upgrade, NPN, ALPN)
依赖包:
OpenSSL (mandatory)
libyaml (optional; required when building the server)
libuv 1.0.0 (optional; required when using h2o as a library)
wslay (optional; required if you need support for websocket)
实际测试发现 H2O 的性能是 Nginx 的两倍左右 (ab -c 500 -n 100000 -k):

最新版本:
项目主页:https://github.com/kazuho/h2o