nginx resin mysql_改进nginx访问resin的性能 | 学步园

宿文栋
2023-12-01

下面是经过简单测试,得出的结论,仅供参考

nginx通过http访问resin:

5318.22 [#/sec] (mean)

nginx通过hmux访问resin:

7050.85 [#/sec] (mean)

nginx通过keepalive方式和hmux访问resin:

13152.60 [#/sec] (mean)

以上都是局域网环境下测试的结果

协议二进制的改进:

5318.22 [#/sec] (mean)-->7050.85 [#/sec] (mean)

改进:(7050-5318)/5318=32.5%

keepalive的改进:

7050.85 [#/sec] (mean)-->13152.60 [#/sec] (mean)

(13152-7050)/7050=86.5%

代码和文档下载地址:

http://code.google.com/p/nginx-hmux-module/downloads/list



 类似资料: