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
{
|
|
"metrics": {
|
|
"iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136796,
|
|
"rate": 3380.137335068383
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 38.09386249999999,
|
|
"max": 181.143792,
|
|
"avg": 3.6290851375577478,
|
|
"min": 0.995125,
|
|
"med": 2.381208,
|
|
"p(90)": 4.183466200000002,
|
|
"p(95)": 6.285707899999997
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 2.1214370000000002,
|
|
"p(90)": 3.3559339,
|
|
"p(95)": 4.18809825,
|
|
"p(99)": 40.859135179999974,
|
|
"max": 139.312292,
|
|
"avg": 3.25517619924923,
|
|
"min": 1.018625
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.014701497042976873,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 45.007958
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.013375,
|
|
"p(95)": 0.039708,
|
|
"p(99)": 0.1251056799999999,
|
|
"max": 8.08775,
|
|
"avg": 0.012123811019091435,
|
|
"min": 0.001417,
|
|
"med": 0.00375
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 3.112667,
|
|
"avg": 0.019856466025750145,
|
|
"min": 0.002917,
|
|
"med": 0.009833,
|
|
"p(90)": 0.057875,
|
|
"p(95)": 0.076292,
|
|
"p(99)": 0.118083
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 53578141,
|
|
"rate": 1323879.8995413468
|
|
}
|
|
},
|
|
"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_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 38.27762808999999,
|
|
"max": 181.173292,
|
|
"avg": 3.5358671260307744,
|
|
"min": 1.098958,
|
|
"med": 2.4483544999999998,
|
|
"p(90)": 4.1200045,
|
|
"p(95)": 5.659039349999999
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 136796
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.001708,
|
|
"p(95)": 0.001958,
|
|
"p(99)": 0.0035,
|
|
"max": 45.021083,
|
|
"avg": 0.019367710732422716,
|
|
"min": 0.000416,
|
|
"med": 0.001167
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"values": {
|
|
"count": 182447,
|
|
"rate": 4508.142901628858
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 182397,
|
|
"rate": 4506.907435191583
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"values": {
|
|
"med": 2.411708,
|
|
"p(90)": 4.2268084,
|
|
"p(95)": 6.343441699999984,
|
|
"p(99)": 38.191479999999984,
|
|
"max": 181.173292,
|
|
"avg": 3.661065414602608,
|
|
"min": 1.018625
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 182397,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 3.480113055279384,
|
|
"min": 1.018625,
|
|
"med": 2.382792,
|
|
"p(90)": 3.9783750000000007,
|
|
"p(95)": 5.396780999999995,
|
|
"p(99)": 38.812660399999956,
|
|
"max": 181.173292
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136796,
|
|
"rate": 3380.137335068383
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 3.661065414602608,
|
|
"min": 1.018625,
|
|
"med": 2.411708,
|
|
"p(90)": 4.2268084,
|
|
"p(95)": 6.343441699999984,
|
|
"p(99)": 38.191479999999984,
|
|
"max": 181.173292
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 464313610,
|
|
"rate": 11472877.630496364
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"values": {
|
|
"max": 181.25275,
|
|
"avg": 3.7282595786936636,
|
|
"min": 1.059125,
|
|
"med": 2.46125,
|
|
"p(90)": 4.2797160000000005,
|
|
"p(95)": 6.387624799999993,
|
|
"p(99)": 39.41755467999999
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 0,
|
|
"fails": 182447,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 11,
|
|
"min": 5,
|
|
"max": 103
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 912,
|
|
"min": 912,
|
|
"max": 912
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"checks": [
|
|
{
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 36240,
|
|
"fails": 0,
|
|
"name": "history 200"
|
|
},
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 146157,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"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": 40470.544963
|
|
}
|
|
} |