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.6 KiB
JSON
309 lines
5.6 KiB
JSON
{
|
|
"metrics": {
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 2.02803735,
|
|
"p(99)": 3.46303401,
|
|
"max": 14.056125,
|
|
"avg": 1.4342346333361171,
|
|
"min": 0.807584,
|
|
"med": 1.3001040000000001,
|
|
"p(90)": 1.7740465000000003
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"values": {
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 0,
|
|
"max": 3,
|
|
"value": 1
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"values": {
|
|
"rate": 444.60029238374426,
|
|
"count": 18001
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 2.0910730999999996,
|
|
"p(99)": 3.6018146399999993,
|
|
"max": 14.056125,
|
|
"avg": 1.4465756602904198,
|
|
"min": 0.949792,
|
|
"med": 1.3085205,
|
|
"p(90)": 1.8218911000000002
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.0005,
|
|
"med": 0.001125,
|
|
"p(90)": 0.001834,
|
|
"p(95)": 0.002167,
|
|
"p(99)": 0.004625,
|
|
"max": 8.941916,
|
|
"avg": 0.002676554839514093
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 61927994,
|
|
"rate": 1529537.4834252964
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"values": {
|
|
"passes": 0,
|
|
"fails": 18001,
|
|
"rate": 0
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4342346333361171,
|
|
"min": 0.807584,
|
|
"med": 1.3001040000000001,
|
|
"p(90)": 1.7740465000000003,
|
|
"p(95)": 2.02803735,
|
|
"p(99)": 3.46303401,
|
|
"max": 14.056125
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 8.923458,
|
|
"avg": 0.0012633393065025781,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 1.9895329999999989,
|
|
"p(99)": 3.41649666,
|
|
"max": 13.957833,
|
|
"avg": 1.4091314478213934,
|
|
"min": 0.785041,
|
|
"med": 1.2784375,
|
|
"p(90)": 1.7378164
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 7012417,
|
|
"rate": 173197.1917402777
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24052,
|
|
"rate": 594.0517878125557
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24002,
|
|
"rate": 592.8168556077234
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 24052
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_receiving": {
|
|
"values": {
|
|
"med": 0.013541,
|
|
"p(90)": 0.027125,
|
|
"p(95)": 0.035,
|
|
"p(99)": 0.0605,
|
|
"max": 2.094458,
|
|
"avg": 0.01697673665391667,
|
|
"min": 0.003708
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.007459,
|
|
"p(90)": 0.011291,
|
|
"p(95)": 0.013709,
|
|
"p(99)": 0.027959,
|
|
"max": 0.84475,
|
|
"avg": 0.008126448860801565,
|
|
"min": 0.001958
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4775247119823316,
|
|
"min": 0.874417,
|
|
"med": 1.354292,
|
|
"p(90)": 1.848,
|
|
"p(95)": 2.0957395999999995,
|
|
"p(99)": 3.36645775,
|
|
"max": 14.116791
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"count": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.32833650666304,
|
|
"min": 0.929541,
|
|
"med": 1.209375,
|
|
"p(90)": 1.6754914,
|
|
"p(95)": 1.8867995999999998,
|
|
"p(99)": 2.679666079999999,
|
|
"max": 7.64675
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 444.60029238374426,
|
|
"count": 18001
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 24002
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4224233705349736,
|
|
"min": 0.929541,
|
|
"med": 1.294166,
|
|
"p(90)": 1.798208,
|
|
"p(95)": 2.061208,
|
|
"p(99)": 3.438583,
|
|
"max": 14.056125
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 120,
|
|
"min": 120,
|
|
"max": 120
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 19104,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 4898
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": []
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40488.052546
|
|
}
|
|
} |