forked from mtusi2026/mtusi2026lab3
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
{
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"testRunDurationMs": 40471.808574,
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false
|
|
},
|
|
"metrics": {
|
|
"vus": {
|
|
"values": {
|
|
"value": 1,
|
|
"min": 0,
|
|
"max": 3
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 22.420625,
|
|
"avg": 1.1684960086956533,
|
|
"min": 0.775084,
|
|
"med": 1.041521,
|
|
"p(90)": 1.4847081,
|
|
"p(95)": 1.6907523999999996,
|
|
"p(99)": 2.2145242499999997
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0020220498183129453,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 14.37425
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 1.850813,
|
|
"p(99)": 2.7635204999999967,
|
|
"max": 22.420625,
|
|
"avg": 1.2504492717539055,
|
|
"min": 0.662167,
|
|
"med": 1.102291,
|
|
"p(90)": 1.606833
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.61275,
|
|
"p(95)": 1.842375,
|
|
"p(99)": 2.5913328,
|
|
"max": 16.035459,
|
|
"avg": 1.2436771727107832,
|
|
"min": 0.82575,
|
|
"med": 1.103417
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 36051
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 667.1557548665135,
|
|
"count": 27001
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27001,
|
|
"rate": 667.1557548665135
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.026145499999999985,
|
|
"max": 0.742458,
|
|
"avg": 0.007101633657873501,
|
|
"min": 0.001708,
|
|
"med": 0.006791,
|
|
"p(90)": 0.009583,
|
|
"p(95)": 0.012125
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 22.471209,
|
|
"avg": 1.291940601483295,
|
|
"min": 0.703917,
|
|
"med": 1.148833,
|
|
"p(90)": 1.66775,
|
|
"p(95)": 1.916417,
|
|
"p(99)": 2.787875
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 36051,
|
|
"rate": 890.7681981664633
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 10528293,
|
|
"rate": 260138.93055334355
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 180,
|
|
"min": 180,
|
|
"max": 180
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.2283073706529508,
|
|
"min": 0.775084,
|
|
"med": 1.09625,
|
|
"p(90)": 1.589917,
|
|
"p(95)": 1.815167,
|
|
"p(99)": 2.50475,
|
|
"max": 22.420625
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.003375,
|
|
"med": 0.011875,
|
|
"p(90)": 0.0255,
|
|
"p(95)": 0.0345,
|
|
"p(99)": 0.064979,
|
|
"max": 1.753584,
|
|
"avg": 0.015687750547835187
|
|
}
|
|
},
|
|
"checks": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 36001,
|
|
"fails": 0
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 36001,
|
|
"rate": 889.5327703029276
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.001583,
|
|
"p(95)": 0.001875,
|
|
"p(99)": 0.0037914999999999997,
|
|
"max": 14.383833,
|
|
"avg": 0.0032506691631297,
|
|
"min": 0.000459,
|
|
"med": 0.000958
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.580875,
|
|
"p(95)": 1.8159164999999995,
|
|
"p(99)": 2.719646,
|
|
"max": 22.396917,
|
|
"avg": 1.2276598875481952,
|
|
"min": 0.641458,
|
|
"med": 1.081541
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 27001
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 92558481,
|
|
"rate": 2286986.5286786724
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 22.420625,
|
|
"avg": 1.2504492717539055,
|
|
"min": 0.662167,
|
|
"med": 1.102291,
|
|
"p(90)": 1.606833,
|
|
"p(95)": 1.850813,
|
|
"p(99)": 2.7635204999999967
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
}
|
|
},
|
|
"root_group": {
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 28705,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 7296,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": ""
|
|
}
|
|
} |