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.7 KiB
JSON
309 lines
5.7 KiB
JSON
{
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40469.604213
|
|
},
|
|
"metrics": {
|
|
"checks": {
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 182315
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136717,
|
|
"rate": 3378.263826857061
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 182315,
|
|
"rate": 4504.98598998987
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 468731176,
|
|
"rate": 11582301.955140695
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"values": {
|
|
"count": 182365,
|
|
"rate": 4506.2214851466015
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"values": {
|
|
"p(90)": 4.3675498,
|
|
"p(95)": 17.923845449999973,
|
|
"p(99)": 69.01050074999999,
|
|
"max": 214.381583,
|
|
"avg": 4.932237626047097,
|
|
"min": 1.0125,
|
|
"med": 2.213417
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_blocked": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.001667,
|
|
"p(95)": 0.001958,
|
|
"p(99)": 0.0035,
|
|
"max": 19.704083,
|
|
"avg": 0.003648494288925867,
|
|
"min": 0.000375,
|
|
"med": 0.001166
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.0125,
|
|
"med": 2.523708,
|
|
"p(90)": 6.2550998,
|
|
"p(95)": 18.29599199999999,
|
|
"p(99)": 62.93925371999998,
|
|
"max": 214.381583,
|
|
"avg": 5.123992316083589
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.019584472453595635,
|
|
"min": 0.002834,
|
|
"med": 0.009667,
|
|
"p(90)": 0.057333,
|
|
"p(95)": 0.075375,
|
|
"p(99)": 0.1175,
|
|
"max": 2.168708
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136717,
|
|
"rate": 3378.263826857061
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 84,
|
|
"rate": 2.0756318633088284
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.051,
|
|
"med": 2.551375,
|
|
"p(90)": 5.4813670000000005,
|
|
"p(95)": 13.555795399999985,
|
|
"p(99)": 54.395179999999975,
|
|
"max": 214.427625,
|
|
"avg": 4.667722522359625
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 54.18382187999998,
|
|
"max": 214.369167,
|
|
"avg": 4.584026285849906,
|
|
"min": 0.99475,
|
|
"med": 2.473666,
|
|
"p(90)": 5.3860084,
|
|
"p(95)": 13.433208599999992
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 5.428174600000001,
|
|
"p(95)": 13.472449999999958,
|
|
"p(99)": 54.28900363999998,
|
|
"max": 214.381583,
|
|
"avg": 4.615887720565907,
|
|
"min": 1.0125,
|
|
"med": 2.502291
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 19.693625,
|
|
"avg": 0.0019632002467578763
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 12,
|
|
"min": 1,
|
|
"max": 208
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 84,
|
|
"rate": 2.0756318633088284
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 5.172182399088378,
|
|
"min": 1.138458,
|
|
"med": 2.606709,
|
|
"p(90)": 6.6902588000000005,
|
|
"p(95)": 18.326087499999975,
|
|
"p(99)": 61.49151544,
|
|
"max": 191.326501
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 136717
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"values": {
|
|
"value": 936,
|
|
"min": 912,
|
|
"max": 936
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 5.428174600000001,
|
|
"p(95)": 13.472449999999958,
|
|
"p(99)": 54.28900363999998,
|
|
"max": 214.381583,
|
|
"avg": 4.615887720565907,
|
|
"min": 1.0125,
|
|
"med": 2.502291
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"rate": 1322000.8211203113,
|
|
"count": 53500850
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 182365
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.038666,
|
|
"p(99)": 0.12118175999999993,
|
|
"max": 4.945791,
|
|
"avg": 0.012276962262496364,
|
|
"min": 0.001416,
|
|
"med": 0.00375,
|
|
"p(90)": 0.013208
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"checks": [
|
|
{
|
|
"passes": 145648,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882"
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 36667,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": []
|
|
},
|
|
"options": {
|
|
"summaryTimeUnit": "",
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
]
|
|
}
|
|
} |