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
{
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40463.470588
|
|
},
|
|
"metrics": {
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.065209,
|
|
"p(99)": 0.097583,
|
|
"max": 2.649167,
|
|
"avg": 0.01793209943938451,
|
|
"min": 0.002875,
|
|
"med": 0.0105,
|
|
"p(90)": 0.0485
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.018958,
|
|
"p(99)": 0.06318657999999995,
|
|
"max": 2.938417,
|
|
"avg": 0.007905743793772521,
|
|
"min": 0.001416,
|
|
"med": 0.003666,
|
|
"p(90)": 0.010333
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.8308686658336901,
|
|
"min": 0.899083,
|
|
"med": 1.6046665,
|
|
"p(90)": 2.3411209,
|
|
"p(95)": 2.734312199999998,
|
|
"p(99)": 5.807952669999986,
|
|
"max": 44.468333
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 5.8879087499999905,
|
|
"max": 53.955708,
|
|
"avg": 1.8826181931547052,
|
|
"min": 0.93575,
|
|
"med": 1.6528125,
|
|
"p(90)": 2.3931619,
|
|
"p(95)": 2.7887889499999994
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 4,
|
|
"min": 0,
|
|
"max": 46
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 91201
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.899083,
|
|
"med": 1.6046665,
|
|
"p(90)": 2.3411209,
|
|
"p(95)": 2.734312199999998,
|
|
"p(99)": 5.807952669999986,
|
|
"max": 44.468333,
|
|
"avg": 1.8308686658336901
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 91201,
|
|
"rate": 2253.9094811863943
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 2.3899082000000003,
|
|
"p(95)": 2.7877248,
|
|
"p(99)": 5.4380833599999985,
|
|
"max": 36.79275,
|
|
"avg": 1.8458436280286048,
|
|
"min": 0.934875,
|
|
"med": 1.645417
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.001042,
|
|
"p(90)": 0.001542,
|
|
"p(95)": 0.001791,
|
|
"p(99)": 0.002959,
|
|
"max": 33.273416,
|
|
"avg": 0.006491790328146691,
|
|
"min": 0.000375
|
|
}
|
|
},
|
|
"data_received": {
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 312120581,
|
|
"rate": 7713638.411742261
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 121602,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 121652
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 2.7009537999999993,
|
|
"p(99)": 5.711034499999999,
|
|
"max": 44.451334,
|
|
"avg": 1.8050308226005232,
|
|
"min": 0.884666,
|
|
"med": 1.580375,
|
|
"p(90)": 2.312709
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 35640138,
|
|
"rate": 880797.8525344183
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 2253.9094811863943,
|
|
"count": 91201
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 608,
|
|
"min": 608,
|
|
"max": 608
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 33.256458,
|
|
"avg": 0.003985215623253216,
|
|
"min": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.899083,
|
|
"med": 1.610875,
|
|
"p(90)": 2.343583,
|
|
"p(95)": 2.72,
|
|
"p(99)": 5.029875,
|
|
"max": 36.79275,
|
|
"avg": 1.7999302555235095
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.899083,
|
|
"med": 1.4652085000000001,
|
|
"p(90)": 2.1341292000000003,
|
|
"p(95)": 2.4199790499999985,
|
|
"p(99)": 3.622060759999999,
|
|
"max": 24.97025,
|
|
"avg": 1.6177001450909876
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_reqs": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 121652,
|
|
"rate": 3006.4647997860466
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 3005.2291173477033,
|
|
"count": 121602
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 24431
|
|
},
|
|
{
|
|
"passes": 97171,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882"
|
|
}
|
|
],
|
|
"name": ""
|
|
}
|
|
} |