Gatling vs httperf

假如想象 提交于 2019-12-12 15:59:57

问题


I am trying to stress test one simple server with 10K connections per seconds; it's pretty dummy server so this should be possible.

When I run gatling, the best I can get is 7K, at 8K we start to receive connection errors. This is again a simple test, ramping to 8k and holding the traffic for 2 minutes.

Request 'Home' failed: java.net.ConnectException: Cannot assign requested address

I know this error is related to tuning our box (open files etc). I have tried some commands, but that didn't help much.

Anyway, when I run a simple burst test with httperf, I easily get 10K without any errors. Command line:

httperf --uri / --server cloud-10-0-20-35 --port 8080 --num-conns=500000 --rate 10000

Im on Centos 6.x VM box.

Why httperf is working different? I know its a native tool, but why such big difference? Any ideas? I am aware that this is more related of java infrastructure, then to Gatling itself - that is awesome tool.

来源:https://stackoverflow.com/questions/28436560/gatling-vs-httperf

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!