增加Dropwizard中Jetty的最大连接限制

时间:2015-01-10 12:59:37

标签: java jetty dropwizard

每次向Restful API发出请求后,计数参数会根据指标详细信息增加

"org.eclipse.jetty.server.HttpConnectionFactory.8080.connections": {
    "count": 7,
    "max": 81.82049337000001,
    "mean": 69.48544755142858,
    "min": 60.831599733000004,
    "p50": 67.457106916,
    "p75": 74.929439363,
    "p95": 81.82049337000001,
    "p98": 81.82049337000001,
    "p99": 81.82049337000001,
    "p999": 81.82049337000001,
    "stddev": 7.3646953505809565,
    "m15_rate": 0.026533121936096183,
    "m1_rate": 0.0039290853883241165,
    "m5_rate": 0.006899155666327853,
    "mean_rate": 0.003308447398793327,
    "duration_units": "seconds",
    "rate_units": "calls/second"
}

在提出20个请求后,它会停止提供更多请求。

如何在Dropwizard中增加Jetty的最大连接数限制。

0 个答案:

没有答案