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
{
|
|
"options": {
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": ""
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40653.595339
|
|
},
|
|
"metrics": {
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 63499236,
|
|
"rate": 1561958.6772214365
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"values": {
|
|
"max": 390.235791,
|
|
"avg": 192.26358437344572,
|
|
"min": 125.204959,
|
|
"med": 187.246709,
|
|
"p(90)": 227.696875,
|
|
"p(95)": 243.736313,
|
|
"p(99)": 277.8486255
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_blocked": {
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.001041,
|
|
"p(90)": 0.001666,
|
|
"p(95)": 0.001958,
|
|
"p(99)": 0.018416199999999997,
|
|
"max": 44.285916,
|
|
"avg": 0.01926339880008008,
|
|
"min": 0.000333
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 43645,
|
|
"rate": 1073.582782434258
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 216181
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 223.842583,
|
|
"p(99)": 254.0276414,
|
|
"max": 390.235791,
|
|
"avg": 183.31916333318043,
|
|
"min": 1.422,
|
|
"med": 180.429334,
|
|
"p(90)": 210.61575
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 999,
|
|
"min": 770,
|
|
"max": 1000
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 57073,
|
|
"rate": 1403.8856717120038
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2000,
|
|
"min": 1456,
|
|
"max": 2000
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 254.0276414,
|
|
"max": 390.235791,
|
|
"avg": 183.31916333318043,
|
|
"min": 1.422,
|
|
"med": 180.429334,
|
|
"p(90)": 210.61575,
|
|
"p(95)": 223.842583
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 161254,
|
|
"rate": 3966.53724363968
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 216131,
|
|
"rate": 5316.405552762026
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 180.393375,
|
|
"p(90)": 210.578125,
|
|
"p(95)": 223.802167,
|
|
"p(99)": 253.978817,
|
|
"max": 390.211917,
|
|
"avg": 183.2817590538281,
|
|
"min": 1.403
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 180.119167,
|
|
"p(90)": 207.217475,
|
|
"p(95)": 219.23051249999995,
|
|
"p(99)": 245.98719347999997,
|
|
"max": 365.991167,
|
|
"avg": 183.39927325966534,
|
|
"min": 125.650292
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 185.17214647664298,
|
|
"min": 125.204959,
|
|
"med": 181.2600835,
|
|
"p(90)": 211.5146671,
|
|
"p(95)": 225.42240635,
|
|
"p(99)": 255.94481725999992,
|
|
"max": 390.235791
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 161254,
|
|
"rate": 3966.53724363968
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 0,
|
|
"fails": 161254,
|
|
"rate": 0
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"data_received": {
|
|
"values": {
|
|
"rate": 13581236.97045638,
|
|
"count": 552126112
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"checks": {
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 216131,
|
|
"fails": 0,
|
|
"rate": 1
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 8.235792,
|
|
"avg": 0.0200274625845933,
|
|
"min": 0.003167,
|
|
"med": 0.011042,
|
|
"p(90)": 0.048,
|
|
"p(95)": 0.074,
|
|
"p(99)": 0.12575
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 223.90279199999998,
|
|
"p(99)": 254.09475369999998,
|
|
"max": 390.281833,
|
|
"avg": 183.43244068265773,
|
|
"min": 2.89225,
|
|
"med": 180.488208,
|
|
"p(90)": 210.676375
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 216181,
|
|
"rate": 5317.635456281827
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.18830019999999992,
|
|
"max": 38.363,
|
|
"avg": 0.017376816769282825,
|
|
"min": 0.001416,
|
|
"med": 0.003916,
|
|
"p(90)": 0.025833,
|
|
"p(95)": 0.061334
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 35.213458,
|
|
"avg": 0.00887002607999777,
|
|
"min": 0,
|
|
"med": 0
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 43107
|
|
},
|
|
{
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 173024,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201"
|
|
}
|
|
]
|
|
}
|
|
} |