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
{
|
|
"metrics": {
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 10531227,
|
|
"rate": 260120.36356949565
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 3.5555311599999957,
|
|
"max": 23.599958,
|
|
"avg": 1.4479320011372148,
|
|
"min": 0.794875,
|
|
"med": 1.349459,
|
|
"p(90)": 1.7342496000000003,
|
|
"p(95)": 1.9616409999999995
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 36053,
|
|
"rate": 890.5058705667466
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 23.599958,
|
|
"avg": 1.4482785890304355,
|
|
"min": 0.794875,
|
|
"med": 1.352375,
|
|
"p(90)": 1.7472375,
|
|
"p(95)": 1.98578685,
|
|
"p(99)": 3.479453749999999
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0034763157573569625,
|
|
"min": 0.000458,
|
|
"med": 0.001167,
|
|
"p(90)": 0.001833,
|
|
"p(95)": 0.002084,
|
|
"p(99)": 0.003291,
|
|
"max": 15.128917
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.003375,
|
|
"med": 0.015458,
|
|
"p(90)": 0.032167,
|
|
"p(95)": 0.040042,
|
|
"p(99)": 0.06820848,
|
|
"max": 1.183334,
|
|
"avg": 0.01896935811166871
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27002,
|
|
"rate": 666.9469813065012
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0020338736027515044,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 15.120667
|
|
}
|
|
},
|
|
"data_received": {
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 92266316,
|
|
"rate": 2278969.74048114
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 2.7796999999999987,
|
|
"max": 19.560417,
|
|
"avg": 1.3408810055187665,
|
|
"min": 0.794875,
|
|
"med": 1.2575414999999999,
|
|
"p(90)": 1.6575415,
|
|
"p(95)": 1.8361662499999998
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.349459,
|
|
"p(90)": 1.7342496000000003,
|
|
"p(95)": 1.9616409999999995,
|
|
"p(99)": 3.5555311599999957,
|
|
"max": 23.599958,
|
|
"avg": 1.4479320011372148,
|
|
"min": 0.794875
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.802125,
|
|
"p(95)": 2.0311451999999997,
|
|
"p(99)": 3.423045179999998,
|
|
"max": 23.654875,
|
|
"avg": 1.4970185049579139,
|
|
"min": 0.8285,
|
|
"med": 1.4065
|
|
}
|
|
},
|
|
"vus": {
|
|
"values": {
|
|
"value": 1,
|
|
"min": 1,
|
|
"max": 3
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 36053,
|
|
"rate": 0,
|
|
"passes": 0
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27002,
|
|
"rate": 666.9469813065012
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.007947952514353752,
|
|
"min": 0.001583,
|
|
"med": 0.007041,
|
|
"p(90)": 0.011541,
|
|
"p(95)": 0.014958,
|
|
"p(99)": 0.03814131999999993,
|
|
"max": 1.526167
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 27002
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.70185,
|
|
"p(95)": 1.9272503999999993,
|
|
"p(99)": 3.5243701599999997,
|
|
"max": 23.580792,
|
|
"avg": 1.4210146905111816,
|
|
"min": 0.765167,
|
|
"med": 1.323125
|
|
}
|
|
},
|
|
"iterations": {
|
|
"values": {
|
|
"count": 36003,
|
|
"rate": 889.2708750454768
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 3.7227892499999986,
|
|
"max": 23.599958,
|
|
"avg": 1.4753495926458344,
|
|
"min": 0.851125,
|
|
"med": 1.3719375,
|
|
"p(90)": 1.7670415000000002,
|
|
"p(95)": 2.0221985
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 36003,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"values": {
|
|
"min": 180,
|
|
"max": 180,
|
|
"value": 180
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 28725
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 7278,
|
|
"fails": 0
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40485.976782
|
|
}
|
|
} |