lwplvx 2011-04-17
下面是经过简单测试,得出的结论,仅供参考
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%