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": {
|
|
"summaryTimeUnit": "",
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
]
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40504.300922
|
|
},
|
|
"metrics": {
|
|
"http_req_tls_handshaking": {
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 70.17180690999999,
|
|
"max": 167.090917,
|
|
"avg": 5.389551417381185,
|
|
"min": 1.087625,
|
|
"med": 1.929542,
|
|
"p(90)": 7.309150300000001,
|
|
"p(95)": 29.093385749999918
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 121655,
|
|
"rate": 3003.5082011234717
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 121605,
|
|
"rate": 3002.2737643140013
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 121605,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 35673582,
|
|
"rate": 880735.6549295193
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 91202
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 7.5862666,
|
|
"p(95)": 28.424900199999986,
|
|
"p(99)": 69.53188164,
|
|
"max": 194.970084,
|
|
"avg": 5.3978362502117845,
|
|
"min": 1.1325,
|
|
"med": 1.96725
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 167.090917,
|
|
"avg": 5.322736441878288,
|
|
"min": 1.129167,
|
|
"med": 1.970875,
|
|
"p(90)": 7.833803700000001,
|
|
"p(95)": 27.95388914999998,
|
|
"p(99)": 66.21717978999999
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.003,
|
|
"med": 0.012083,
|
|
"p(90)": 0.0525,
|
|
"p(95)": 0.07558329999999999,
|
|
"p(99)": 0.11781085999999995,
|
|
"max": 3.213333,
|
|
"avg": 0.02060260721713037
|
|
}
|
|
},
|
|
"data_received": {
|
|
"values": {
|
|
"count": 309193978,
|
|
"rate": 7633608.554198269
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 7.539699800000006,
|
|
"p(95)": 28.330437399999944,
|
|
"p(99)": 69.4726925,
|
|
"max": 194.922084,
|
|
"avg": 5.3411124576711915,
|
|
"min": 1.087625,
|
|
"med": 1.912209
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 5.659142503257167,
|
|
"min": 1.087625,
|
|
"med": 1.7159375,
|
|
"p(90)": 5.290158900000005,
|
|
"p(95)": 35.00115044999992,
|
|
"p(99)": 81.46293312999997,
|
|
"max": 153.225834
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.003369415289137563,
|
|
"min": 0.000416,
|
|
"med": 0.00125,
|
|
"p(90)": 0.001875,
|
|
"p(95)": 0.002166,
|
|
"p(99)": 0.004166,
|
|
"max": 19.114333
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 121655
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.026084,
|
|
"p(99)": 0.09,
|
|
"max": 6.382,
|
|
"avg": 0.010056716345403281,
|
|
"min": 0.001375,
|
|
"med": 0.004375,
|
|
"p(90)": 0.012459
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 608,
|
|
"min": 608,
|
|
"max": 608
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 91202,
|
|
"rate": 2251.6621179471695
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"vus": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 7,
|
|
"min": 2,
|
|
"max": 168
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_connecting": {
|
|
"values": {
|
|
"max": 19.097292,
|
|
"avg": 0.001756606773252229,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 194.922084,
|
|
"avg": 5.3411124576711915,
|
|
"min": 1.087625,
|
|
"med": 1.912209,
|
|
"p(90)": 7.539699800000006,
|
|
"p(95)": 28.330437399999944,
|
|
"p(99)": 69.4726925
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 69.43767617999997,
|
|
"max": 194.807167,
|
|
"avg": 5.3104531341087515,
|
|
"min": 1.057625,
|
|
"med": 1.882959,
|
|
"p(90)": 7.500458600000013,
|
|
"p(95)": 28.28853739999989
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 91202,
|
|
"rate": 2251.6621179471695
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 97444,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 24161,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": ""
|
|
}
|
|
} |