作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我使用 arangob 来测试 ArangoDB 的性能,但是 arangob 不能发送超过 1000 个请求。“操作总数:”始终为 1000。
我的终端输出如下。
$./arangob --server.endpoint "tcp://127.0.0.1:8529" --delay --requests 50000 --test-case document --complexity 10 --batch-size 0 --concurrency 1
starting threads...
executing tests...
2014-10-02T06:58:39Z [15498] INFO number of operations: 100
2014-10-02T06:58:39Z [15498] INFO number of operations: 150
2014-10-02T06:58:39Z [15498] INFO number of operations: 200
2014-10-02T06:58:39Z [15498] INFO number of operations: 250
2014-10-02T06:58:39Z [15498] INFO number of operations: 300
2014-10-02T06:58:39Z [15498] INFO number of operations: 350
2014-10-02T06:58:39Z [15498] INFO number of operations: 400
2014-10-02T06:58:39Z [15498] INFO number of operations: 450
2014-10-02T06:58:39Z [15498] INFO number of operations: 500
Total number of operations: 1000, keep alive: yes, async: no, batch size: 0, concurrency level (threads): 1
Test case: document, complexity: 10, database: '_system', collection: 'ArangoBenchmark'
Total request/response duration (sum of all threads): 0.207963 s
Request/response duration (per thread): 0.207963 s
Time needed per operation: 0.000224 s
Time needed per operation per thread: 0.000224 s
Operations per second rate: 4469.890637
Elapsed time since start: 0.223719 s
最佳答案
问题似乎是由 --delay
选项引起的。当我尝试时,省略它可以解决问题。现在将研究为什么 delay
会造成麻烦。
更新:--delay
需要一个 bool 值作为它的参数,例如--延迟为真
。省略参数将使命令行解析器将下一个命令行参数解释为 --delay
参数的值。在您的情况下是 --requests
,因此 --requests
选项将被忽略。
所以命令行应该是:
./arangob --server.endpoint "tcp://127.0.0.1:8529" --delay true --requests 50000 --test-case document --complexity 10 --batch-size 0 --concurrency 1
关于arangodb - arangob 不能发送超过 1000 个请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26189295/
我使用 arangob 来测试 ArangoDB 的性能,但是 arangob 不能发送超过 1000 个请求。“操作总数:”始终为 1000。 我的终端输出如下。 $./arangob --serv
我是一名优秀的程序员,十分优秀!