H2O 是一个经过优化的 HTTP 服务器实现,可用于一个标准的独立服务器或者是一个 HTTP 服务器开发包。
支持的协议有:
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)。