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.8 KiB
JSON
309 lines
5.8 KiB
JSON
{
|
|
"root_group": {
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 36324,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 146021,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": ""
|
|
},
|
|
"options": {
|
|
"summaryTimeUnit": "",
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
]
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40524.460922
|
|
},
|
|
"metrics": {
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 94.6195499,
|
|
"max": 170.369875,
|
|
"avg": 12.07805641476831,
|
|
"min": 1.255083,
|
|
"med": 3.393125,
|
|
"p(90)": 40.291458,
|
|
"p(95)": 58.76914599999999
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"dropped_iterations": {
|
|
"values": {
|
|
"count": 59,
|
|
"rate": 1.4559107920907581
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_blocked": {
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.001417,
|
|
"p(90)": 0.002041,
|
|
"p(95)": 0.002333,
|
|
"p(99)": 0.004625,
|
|
"max": 8.05775,
|
|
"avg": 0.0029614736149563606,
|
|
"min": 0.000375
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.001541,
|
|
"med": 0.004542,
|
|
"p(90)": 0.018541,
|
|
"p(95)": 0.05158329999999999,
|
|
"p(99)": 0.15250251999999992,
|
|
"max": 29.150458,
|
|
"avg": 0.01781365346089605
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.083833,
|
|
"p(99)": 0.135625,
|
|
"max": 11.905542,
|
|
"avg": 0.022357670391183894,
|
|
"min": 0.00325,
|
|
"med": 0.011209,
|
|
"p(90)": 0.061458
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 53551459,
|
|
"rate": 1321460.1201746739
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 3.472834,
|
|
"p(90)": 41.608916400000005,
|
|
"p(95)": 60.30526259999999,
|
|
"p(99)": 93.09528803999999,
|
|
"max": 175.068209,
|
|
"avg": 12.56642621197978,
|
|
"min": 1.120917
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 8.0475,
|
|
"avg": 0.0010091395542640967
|
|
}
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 182345
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 61.547883649999996,
|
|
"p(99)": 97.44172784,
|
|
"max": 175.068209,
|
|
"avg": 12.271049040960435,
|
|
"min": 1.120917,
|
|
"med": 3.2802705000000003,
|
|
"p(90)": 41.86664940000001
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 136742
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.16875,
|
|
"med": 3.529042,
|
|
"p(90)": 41.680125200000006,
|
|
"p(95)": 60.3713086,
|
|
"p(99)": 93.15240352000001,
|
|
"max": 175.102958,
|
|
"avg": 12.625475048380855
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"values": {
|
|
"min": 1.120917,
|
|
"med": 2.835,
|
|
"p(90)": 50.221,
|
|
"p(95)": 71.29770799999999,
|
|
"p(99)": 108.15301669999997,
|
|
"max": 175.068209,
|
|
"avg": 13.047892058101587
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 182345,
|
|
"rate": 4499.628023454055
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 59,
|
|
"rate": 1.4559107920907581
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 465114174,
|
|
"rate": 11477368.567474216
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136742,
|
|
"rate": 3374.3076869843126
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 939,
|
|
"min": 912,
|
|
"max": 939
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 182395,
|
|
"rate": 4500.861846159218
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 182395
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136742,
|
|
"rate": 3374.3076869843126
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 41.56255860000001,
|
|
"p(95)": 60.26175349999997,
|
|
"p(99)": 93.06779447999998,
|
|
"max": 175.049166,
|
|
"avg": 12.5262548881275,
|
|
"min": 1.1045,
|
|
"med": 3.43525
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 6,
|
|
"max": 478,
|
|
"value": 11
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 3.472834,
|
|
"p(90)": 41.608916400000005,
|
|
"p(95)": 60.30526259999999,
|
|
"p(99)": 93.09528803999999,
|
|
"max": 175.068209,
|
|
"avg": 12.56642621197978,
|
|
"min": 1.120917
|
|
},
|
|
"type": "trend"
|
|
}
|
|
}
|
|
} |