H2O —— 宣称性能是 Nginx 2 倍的 HTTP 服务器
生活随笔
收集整理的這篇文章主要介紹了
H2O —— 宣称性能是 Nginx 2 倍的 HTTP 服务器
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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)。
https://yqfile.alicdn.com/13d782f1c5665c52c6f4184187ab42e7eae63f79.png" >
文章轉載自 開源中國社區 [http://www.oschina.net]
總結
以上是生活随笔為你收集整理的H2O —— 宣称性能是 Nginx 2 倍的 HTTP 服务器的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MySQL高可用方案-PXC(Perco
- 下一篇: Nginx源代码安装