我正在为我的web服务使用Amazon服务。我想知道能同时使用我的web服务的用户的最大数量。
为此,我使用来自客户端系统的httperf执行负载测试。
当应答率几乎等于请求速率时,我们就可以判断服务器运行得很好。但对于请求速率5,当对20个样本进行测试时,我得到的答复率为1。超时值为5,而且很多请求都超时了,500个请求中有300个超时。
httperf --server=web-service-url --rate=5 --num-conns=500 --timeout=5发布于 2012-09-02 09:12:53
sudo apt-get install httperf。此外,您还可以从来源构建。--uri,--retry-on-failure等选项的完整列表这里。--method=POST (在GET / POST /PUT中使用method arg )https://stackoverflow.com/questions/8225938
复制相似问题