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.8 KiB
JSON
309 lines
5.8 KiB
JSON
{
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40744.926074
|
|
},
|
|
"metrics": {
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.172333,
|
|
"med": 81.4098745,
|
|
"p(90)": 197.41495060000003,
|
|
"p(95)": 220.60094199999992,
|
|
"p(99)": 284.03786993999995,
|
|
"max": 382.6515,
|
|
"avg": 87.99814129338033
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 52390543,
|
|
"rate": 1285817.5986096894
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 458124100,
|
|
"rate": 11243709.19628043
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0.017951029999999868,
|
|
"max": 11.2645,
|
|
"avg": 0.001918653679435486
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 134003
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1798,
|
|
"min": 912,
|
|
"max": 1798
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.027833037091173914,
|
|
"min": 0.003167,
|
|
"med": 0.011875,
|
|
"p(90)": 0.0645411,
|
|
"p(95)": 0.08975,
|
|
"p(99)": 0.15133341,
|
|
"max": 38.358916
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"dropped_iterations": {
|
|
"values": {
|
|
"count": 3897,
|
|
"rate": 95.64381078817908
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 108.69837226458101,
|
|
"min": 1.250375,
|
|
"med": 108.4512085,
|
|
"p(90)": 215.413479,
|
|
"p(95)": 237.61288575,
|
|
"p(99)": 304.9732063,
|
|
"max": 382.666167
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 88.06995674983135,
|
|
"min": 1.222417,
|
|
"med": 81.48,
|
|
"p(90)": 197.53536640000002,
|
|
"p(95)": 220.63814854999998,
|
|
"p(99)": 284.06688699999995,
|
|
"max": 382.666167
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 101.68852592059002,
|
|
"min": 1.250375,
|
|
"med": 99.219875,
|
|
"p(90)": 205.20729960000003,
|
|
"p(95)": 226.72970829999997,
|
|
"p(99)": 293.55929133999996,
|
|
"max": 382.666167
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 178510,
|
|
"rate": 4381.1590104690395
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 2798,
|
|
"rate": 68.67112717098411
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"values": {
|
|
"avg": 99.93480541753998,
|
|
"min": 1.4655,
|
|
"med": 97.307292,
|
|
"p(90)": 202.9989668,
|
|
"p(95)": 223.46961249999995,
|
|
"p(99)": 291.08512513999995,
|
|
"max": 373.801958
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 197.53536640000002,
|
|
"p(95)": 220.63814854999998,
|
|
"p(99)": 284.06688699999995,
|
|
"max": 382.666167,
|
|
"avg": 88.06995674983135,
|
|
"min": 1.222417,
|
|
"med": 81.48
|
|
}
|
|
},
|
|
"checks": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 178510,
|
|
"fails": 0
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 88.1532102208615,
|
|
"min": 1.257708,
|
|
"med": 81.578125,
|
|
"p(90)": 197.6085125,
|
|
"p(95)": 220.67812934999995,
|
|
"p(99)": 284.15084372,
|
|
"max": 382.712083
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 178560
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"values": {
|
|
"rate": 3288.826681305712,
|
|
"count": 134003
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_sending": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.023125,
|
|
"p(95)": 0.060042,
|
|
"p(99)": 0.18897580999999994,
|
|
"max": 124.401584,
|
|
"avg": 0.04398241936044001,
|
|
"min": 0.001458,
|
|
"med": 0.0045
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 11,
|
|
"max": 1000,
|
|
"value": 1000
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 178560,
|
|
"rate": 4382.386157130422
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 134003,
|
|
"rate": 3288.826681305712
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"values": {
|
|
"p(95)": 0.002583,
|
|
"p(99)": 0.037309219999999935,
|
|
"max": 11.307792,
|
|
"avg": 0.004146866476254477,
|
|
"min": 0.000375,
|
|
"med": 0.001458,
|
|
"p(90)": 0.002167
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 142686,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"passes": 35824,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
}
|
|
]
|
|
}
|
|
} |