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": {
|
|
"med": 1.268,
|
|
"p(90)": 1.7170086,
|
|
"p(95)": 1.9448708,
|
|
"p(99)": 3.5018133199999992,
|
|
"max": 55.268584,
|
|
"avg": 1.4163250630780795,
|
|
"min": 0.831541
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 36053
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 1,
|
|
"max": 9,
|
|
"value": 1
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"values": {
|
|
"p(99)": 3.7665589999999995,
|
|
"max": 55.2305,
|
|
"avg": 1.3947309545433504,
|
|
"min": 0.863667,
|
|
"med": 1.232209,
|
|
"p(90)": 1.677,
|
|
"p(95)": 1.9057036999999997
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 18.896709,
|
|
"avg": 0.002607545502454718
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 90729859,
|
|
"rate": 2240866.6094673127
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.194,
|
|
"p(90)": 1.62435,
|
|
"p(95)": 1.8408587999999997,
|
|
"p(99)": 3.6141903199999965,
|
|
"max": 55.141375,
|
|
"avg": 1.3472797378581458,
|
|
"min": 0.760625
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27003,
|
|
"rate": 666.9262106474325
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.06453983999999997,
|
|
"max": 1.542792,
|
|
"avg": 0.016775615455024644,
|
|
"min": 0.003,
|
|
"med": 0.013041,
|
|
"p(90)": 0.028208,
|
|
"p(95)": 0.036416
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27003,
|
|
"rate": 666.9262106474325
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 3.6501918399999997,
|
|
"max": 55.2305,
|
|
"avg": 1.3715764878650802,
|
|
"min": 0.791542,
|
|
"med": 1.217084,
|
|
"p(90)": 1.6524916,
|
|
"p(95)": 1.8756834
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 10549481,
|
|
"rate": 260553.47137825747
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 3.6501918399999997,
|
|
"max": 55.2305,
|
|
"avg": 1.3715764878650802,
|
|
"min": 0.791542,
|
|
"med": 1.217084,
|
|
"p(90)": 1.6524916,
|
|
"p(95)": 1.8756834
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.000458,
|
|
"med": 0.001,
|
|
"p(90)": 0.001708,
|
|
"p(95)": 0.002,
|
|
"p(99)": 0.003686679999999987,
|
|
"max": 18.907375,
|
|
"avg": 0.0038775473330927494
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.007521134551909605,
|
|
"min": 0.001709,
|
|
"med": 0.006792,
|
|
"p(90)": 0.010542,
|
|
"p(95)": 0.013583,
|
|
"p(99)": 0.032042,
|
|
"max": 1.691542
|
|
}
|
|
},
|
|
"iterations": {
|
|
"values": {
|
|
"count": 36003,
|
|
"rate": 889.2102493033926
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 180,
|
|
"min": 180,
|
|
"max": 180
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 27003
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 36003,
|
|
"fails": 0
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 53.111083,
|
|
"avg": 1.266309265309937,
|
|
"min": 0.791542,
|
|
"med": 1.1485,
|
|
"p(90)": 1.535396,
|
|
"p(95)": 1.7241874999999998,
|
|
"p(99)": 2.5745267499999986
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.3692587267340603,
|
|
"min": 0.791542,
|
|
"med": 1.212958,
|
|
"p(90)": 1.6519916,
|
|
"p(95)": 1.8670127999999997,
|
|
"p(99)": 3.477645499999999,
|
|
"max": 55.2305
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 36053,
|
|
"rate": 890.4451606292591
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"checks": [
|
|
{
|
|
"passes": 7124,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
},
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 28879,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": []
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40488.737088
|
|
}
|
|
} |