1x4, 2x2 and 4x1 at 4 CPU and 2 GiB of API, workers equal to CPUs, 32 pool connections and 128 balancer slots in every layout, three repeats from 600 to 6 830 rps. All three keep up with the offered load up to 4 560 rps; the peaks are 5 375 rps for 1x4 (5 332..5 384), 4 964 for 2x2 (4 894..5 104) and 4 724 for 4x1 (4 686..4 794). At the peak the API uses 95 % of its four CPUs in every layout, PostgreSQL 82..89 % of its two, the balancer 40 % of one, and about half of the 32 database connections wait for the lock on a chat row. Smaller replicas cost more: at 3 040 rps the API burns 215 % CPU as 1x4, 243 % as 2x2 and about 280 % as 4x1, and p95 at 4 560 rps grows from 9 to 69 and 150 ms. The first attempt was aborted when a neighbour's image build froze the Docker API; its summary is kept under aborted/. Twelve steps of the rerun were rejected as disturbed and repeated. A config's SLO capacity now needs a majority of saturated repeats, since a median is robust to one disturbed repeat and "any repeat" is not. Series B starts at 450 rps per CPU. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V1d3RLHNBBMA6UqBLLJv27
309 lines
5.7 KiB
JSON
309 lines
5.7 KiB
JSON
{
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40509.467838
|
|
},
|
|
"metrics": {
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1495.9712687993667,
|
|
"count": 60601
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.442667,
|
|
"p(90)": 2.2260916,
|
|
"p(95)": 3.1381667999999996,
|
|
"p(99)": 17.98314047999998,
|
|
"max": 124.109041,
|
|
"avg": 2.1887886644578836,
|
|
"min": 0.754695
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.550166,
|
|
"p(90)": 2.7146997,
|
|
"p(95)": 4.527620799999999,
|
|
"p(99)": 33.81514482999999,
|
|
"max": 128.613709,
|
|
"avg": 2.591034120677317,
|
|
"min": 0.754695
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"max": 404,
|
|
"value": 404,
|
|
"min": 404
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 20.707667,
|
|
"avg": 0.0035331767303222765,
|
|
"min": 0.000458,
|
|
"med": 0.001333,
|
|
"p(90)": 0.001958,
|
|
"p(95)": 0.002208,
|
|
"p(99)": 0.004
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 60601
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 80852
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 2.648151263372198,
|
|
"min": 1.061042,
|
|
"med": 1.607916,
|
|
"p(90)": 2.7830328,
|
|
"p(95)": 4.570728849999993,
|
|
"p(99)": 33.90759832999998,
|
|
"max": 128.671292
|
|
}
|
|
},
|
|
"iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80802,
|
|
"rate": 1994.6448154572768
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 23684135,
|
|
"rate": 584656.7793661077
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 2,
|
|
"max": 142,
|
|
"value": 15
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 206149469,
|
|
"rate": 5088920.689464625
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"values": {
|
|
"avg": 0.009020752733389346,
|
|
"min": 0.001291,
|
|
"med": 0.005333,
|
|
"p(90)": 0.012208,
|
|
"p(95)": 0.020310449999999855,
|
|
"p(99)": 0.05912417999999994,
|
|
"max": 8.051125
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.735903,
|
|
"med": 1.524375,
|
|
"p(90)": 2.6782417,
|
|
"p(95)": 4.4892729499999975,
|
|
"p(99)": 33.74941266999995,
|
|
"max": 128.600667,
|
|
"avg": 2.5630970950625684
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 60601,
|
|
"rate": 1495.9712687993667
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 24.646625,
|
|
"max": 128.613709,
|
|
"avg": 2.4171113341859187,
|
|
"min": 0.754695,
|
|
"med": 1.533875,
|
|
"p(90)": 2.633167,
|
|
"p(95)": 4.080958
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 2.4739144085270373,
|
|
"min": 0.768236,
|
|
"med": 1.5552915,
|
|
"p(90)": 2.7501661000000004,
|
|
"p(95)": 4.306375,
|
|
"p(99)": 26.420347499999966,
|
|
"max": 128.613709
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0018263869786770887,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 20.695834
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"values": {
|
|
"count": 80852,
|
|
"rate": 1995.8790948163628
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 2.591034120677317,
|
|
"min": 0.754695,
|
|
"med": 1.550166,
|
|
"p(90)": 2.7146997,
|
|
"p(95)": 4.527620799999999,
|
|
"p(99)": 33.81514482999999,
|
|
"max": 128.613709
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 80802,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.002959,
|
|
"med": 0.013375,
|
|
"p(90)": 0.033833,
|
|
"p(95)": 0.061625,
|
|
"p(99)": 0.10308266999999993,
|
|
"max": 2.728917,
|
|
"avg": 0.018916272881313864
|
|
},
|
|
"type": "trend"
|
|
}
|
|
},
|
|
"root_group": {
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 16150,
|
|
"fails": 0,
|
|
"name": "history 200"
|
|
},
|
|
{
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 64652
|
|
}
|
|
],
|
|
"name": ""
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
}
|
|
} |