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": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"testRunDurationMs": 40516.421755,
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false
|
|
},
|
|
"metrics": {
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 4476.012247493695,
|
|
"count": 181352
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 181352,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 1051,
|
|
"rate": 25.940099211014346
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 337.936417,
|
|
"avg": 36.68972809340059,
|
|
"min": 1.02525,
|
|
"med": 3.206333,
|
|
"p(90)": 153.36327470000003,
|
|
"p(95)": 179.00815,
|
|
"p(99)": 213.74548124999998
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 46.65148835339282,
|
|
"min": 1.02525,
|
|
"med": 3.410604,
|
|
"p(90)": 165.3589667,
|
|
"p(95)": 186.32665639999996,
|
|
"p(99)": 217.95134351,
|
|
"max": 337.936417
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 10.942417,
|
|
"avg": 0.0014065034288486364,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 163.6745084,
|
|
"p(95)": 184.1332836,
|
|
"p(99)": 213.86093002,
|
|
"max": 314.143917,
|
|
"avg": 46.05922804466184,
|
|
"min": 1.02525,
|
|
"med": 3.527541
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.001875,
|
|
"p(95)": 0.002208,
|
|
"p(99)": 0.011041579999999933,
|
|
"max": 10.954542,
|
|
"avg": 0.0031152035038201995,
|
|
"min": 0.000375,
|
|
"med": 0.001291
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 213.74548124999998,
|
|
"max": 337.936417,
|
|
"avg": 36.68972809340059,
|
|
"min": 1.02525,
|
|
"med": 3.206333,
|
|
"p(90)": 153.36327470000003,
|
|
"p(95)": 179.00815
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.132875,
|
|
"max": 6.452625,
|
|
"avg": 0.021359508665836264,
|
|
"min": 0.002833,
|
|
"med": 0.010708,
|
|
"p(90)": 0.059666,
|
|
"p(95)": 0.082083
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 135750,
|
|
"rate": 3350.4933091295884
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 36.65315375019602,
|
|
"min": 1.004375,
|
|
"med": 3.17475,
|
|
"p(90)": 153.3236831,
|
|
"p(95)": 178.9162226,
|
|
"p(99)": 213.70261000000002,
|
|
"max": 337.9185
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 53278370,
|
|
"rate": 1314982.1157004095
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"values": {
|
|
"min": 1.07075,
|
|
"med": 3.2590209999999997,
|
|
"p(90)": 153.4247962,
|
|
"p(95)": 179.07046684999997,
|
|
"p(99)": 213.81169942,
|
|
"max": 337.982167,
|
|
"avg": 36.753935512914275
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1406,
|
|
"min": 912,
|
|
"max": 1406
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 8,
|
|
"max": 850,
|
|
"value": 15
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 1051,
|
|
"rate": 25.940099211014346
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 135750,
|
|
"rate": 0,
|
|
"passes": 0
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 3350.4933091295884,
|
|
"count": 135750
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 181402,
|
|
"rate": 4477.24631501087
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"values": {
|
|
"avg": 49.03224645645836,
|
|
"min": 1.094791,
|
|
"med": 2.96375,
|
|
"p(90)": 172.545975,
|
|
"p(95)": 198.70537139999993,
|
|
"p(99)": 233.66516963999996,
|
|
"max": 337.936417
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.016042,
|
|
"p(95)": 0.048167,
|
|
"p(99)": 0.1415,
|
|
"max": 10.094542,
|
|
"avg": 0.015214834538760201,
|
|
"min": 0.001458,
|
|
"med": 0.004084
|
|
}
|
|
},
|
|
"data_received": {
|
|
"values": {
|
|
"count": 460763064,
|
|
"rate": 11372254.607926691
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 181402
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 145393,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 35959,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200"
|
|
}
|
|
]
|
|
}
|
|
} |