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
{
|
|
"root_group": {
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 19149,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 4853,
|
|
"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": 40461.759338
|
|
},
|
|
"metrics": {
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0036910615749206933,
|
|
"min": 0.000541,
|
|
"med": 0.001083,
|
|
"p(90)": 0.001709,
|
|
"p(95)": 0.002042,
|
|
"p(99)": 0.003770089999999991,
|
|
"max": 16.092958
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"values": {
|
|
"p(90)": 1.5744036000000001,
|
|
"p(95)": 1.7261213499999999,
|
|
"p(99)": 2.5727845899999995,
|
|
"max": 18.44875,
|
|
"avg": 1.3248901224846252,
|
|
"min": 0.697666,
|
|
"med": 1.241625
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"vus": {
|
|
"values": {
|
|
"max": 2,
|
|
"value": 1,
|
|
"min": 0
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_req_connecting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0023529316480957927,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 16.072584
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.260774700192362,
|
|
"min": 0.850708,
|
|
"med": 1.186,
|
|
"p(90)": 1.5137582,
|
|
"p(95)": 1.6419124999999999,
|
|
"p(99)": 2.056574999999999,
|
|
"max": 15.222334
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24002,
|
|
"rate": 593.202084948845
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 61441310,
|
|
"rate": 1518503.174484973
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 120,
|
|
"max": 120,
|
|
"value": 120
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.330125087939561,
|
|
"min": 0.850708,
|
|
"med": 1.269333,
|
|
"p(90)": 1.59225,
|
|
"p(95)": 1.738083,
|
|
"p(99)": 2.336625,
|
|
"max": 15.637958
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 18001,
|
|
"rate": 444.8892063646429
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 1.75982675,
|
|
"p(99)": 2.421878999999998,
|
|
"max": 15.637958,
|
|
"avg": 1.3476968788469583,
|
|
"min": 0.91125,
|
|
"med": 1.28575,
|
|
"p(90)": 1.6102586
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"count": 0
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 7017782,
|
|
"rate": 173442.33456030645
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 24052
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.348971472018961,
|
|
"min": 0.7175,
|
|
"med": 1.2635625,
|
|
"p(90)": 1.605125,
|
|
"p(95)": 1.7616018999999998,
|
|
"p(99)": 2.6423995699999994,
|
|
"max": 18.464042
|
|
}
|
|
},
|
|
"checks": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 24002,
|
|
"fails": 0
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"dropped_iterations": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.007334,
|
|
"p(90)": 0.010833,
|
|
"p(95)": 0.013458,
|
|
"p(99)": 0.02612366999999998,
|
|
"max": 0.698792,
|
|
"avg": 0.007871716780309334,
|
|
"min": 0.001875
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 0.260209,
|
|
"avg": 0.016209632754033025,
|
|
"min": 0.003458,
|
|
"med": 0.013334,
|
|
"p(90)": 0.025875,
|
|
"p(95)": 0.032917,
|
|
"p(99)": 0.054208
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 18001,
|
|
"rate": 444.8892063646429
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24052,
|
|
"rate": 594.4378196479302
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.3906189493792227,
|
|
"min": 0.819959,
|
|
"med": 1.3151875,
|
|
"p(90)": 1.6715958000000002,
|
|
"p(95)": 1.8264086499999999,
|
|
"p(99)": 2.5576460799999987,
|
|
"max": 19.431459
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 18001
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.605125,
|
|
"p(95)": 1.7616018999999998,
|
|
"p(99)": 2.6423995699999994,
|
|
"max": 18.464042,
|
|
"avg": 1.348971472018961,
|
|
"min": 0.7175,
|
|
"med": 1.2635625
|
|
}
|
|
}
|
|
}
|
|
} |