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
{
|
|
"metrics": {
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.3261124413149479,
|
|
"min": 0.775542,
|
|
"med": 1.2375,
|
|
"p(90)": 1.623667,
|
|
"p(95)": 1.773916,
|
|
"p(99)": 2.256625,
|
|
"max": 18.775459
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.1974165,
|
|
"p(90)": 1.5733214,
|
|
"p(95)": 1.7151168999999997,
|
|
"p(99)": 2.1629938399999995,
|
|
"max": 6.843459,
|
|
"avg": 1.2863300009044116,
|
|
"min": 0.944
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 24051
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.001833,
|
|
"med": 0.007292,
|
|
"p(90)": 0.010833,
|
|
"p(95)": 0.014833,
|
|
"p(99)": 0.028708499999999998,
|
|
"max": 0.628917,
|
|
"avg": 0.00810371003284688
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.2873861763336343,
|
|
"min": 0.682333,
|
|
"med": 1.186458,
|
|
"p(90)": 1.558916,
|
|
"p(95)": 1.7059584999999995,
|
|
"p(99)": 2.258187499999999,
|
|
"max": 23.244
|
|
}
|
|
},
|
|
"iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24001,
|
|
"rate": 593.0209523904324
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"vus_max": {
|
|
"values": {
|
|
"value": 120,
|
|
"min": 120,
|
|
"max": 120
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 18001,
|
|
"rate": 444.7718913370349
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.2873861763336343,
|
|
"min": 0.682333,
|
|
"med": 1.186458,
|
|
"p(90)": 1.558916,
|
|
"p(95)": 1.7059584999999995,
|
|
"p(99)": 2.258187499999999,
|
|
"max": 23.244
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.014446005238867509,
|
|
"min": 0.003708,
|
|
"med": 0.011959,
|
|
"p(90)": 0.021792,
|
|
"p(95)": 0.029,
|
|
"p(99)": 0.04637449999999998,
|
|
"max": 0.343375
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 1.5852838999999994,
|
|
"p(99)": 2.016811999999999,
|
|
"max": 5.848,
|
|
"avg": 1.2023169029500955,
|
|
"min": 0.946708,
|
|
"med": 1.113834,
|
|
"p(90)": 1.4570746
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 7018034,
|
|
"rate": 173402.8251568033
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"values": {
|
|
"count": 24051,
|
|
"rate": 594.2563612325441
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1,
|
|
"min": 0,
|
|
"max": 2
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.001625,
|
|
"p(95)": 0.001958,
|
|
"p(99)": 0.003916,
|
|
"max": 16.091166,
|
|
"avg": 0.0032670951727575264,
|
|
"min": 0.000458,
|
|
"med": 0.001
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 18001,
|
|
"rate": 444.7718913370349
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.661667,
|
|
"med": 1.166334,
|
|
"p(90)": 1.530125,
|
|
"p(95)": 1.671375,
|
|
"p(99)": 2.2144585,
|
|
"max": 23.219334,
|
|
"avg": 1.2648364610619132
|
|
}
|
|
},
|
|
"data_received": {
|
|
"values": {
|
|
"count": 61243185,
|
|
"rate": 1513207.4453615868
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 6.843459,
|
|
"avg": 1.2694023020943304,
|
|
"min": 0.944,
|
|
"med": 1.18675,
|
|
"p(90)": 1.552292,
|
|
"p(95)": 1.695875,
|
|
"p(99)": 2.150167
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 18001
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 16.080833,
|
|
"avg": 0.0019497955178578849,
|
|
"min": 0,
|
|
"med": 0
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 24001
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 19152,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 4849,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e"
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40472.431713
|
|
}
|
|
} |