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
{
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 28773,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 7228,
|
|
"fails": 0
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40465.70888
|
|
},
|
|
"metrics": {
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 27.025208,
|
|
"avg": 1.2353379577542911,
|
|
"min": 0.637333,
|
|
"med": 1.088583,
|
|
"p(90)": 1.562167,
|
|
"p(95)": 1.791354,
|
|
"p(99)": 2.906583499999999
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27001,
|
|
"rate": 667.2563201616153
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.2130133135003178,
|
|
"min": 0.619542,
|
|
"med": 1.068709,
|
|
"p(90)": 1.534667,
|
|
"p(95)": 1.7620209999999992,
|
|
"p(99)": 2.8810835,
|
|
"max": 27.001166
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_reqs": {
|
|
"values": {
|
|
"count": 36051,
|
|
"rate": 890.902470210229
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 36001,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 1.798209,
|
|
"p(99)": 2.811042,
|
|
"max": 27.025208,
|
|
"avg": 1.2398016470130728,
|
|
"min": 0.790125,
|
|
"med": 1.094666,
|
|
"p(90)": 1.57
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 27001
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.562167,
|
|
"p(95)": 1.791354,
|
|
"p(99)": 2.906583499999999,
|
|
"max": 27.025208,
|
|
"avg": 1.2353379577542911,
|
|
"min": 0.637333,
|
|
"med": 1.088583
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 36001,
|
|
"rate": 889.6668561215627
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 10536509,
|
|
"rate": 260381.17931520095
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.2613292444897224,
|
|
"min": 0.80675,
|
|
"med": 1.1027705,
|
|
"p(90)": 1.5911250000000001,
|
|
"p(95)": 1.83291625,
|
|
"p(99)": 2.969821149999999,
|
|
"max": 27.025208
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 180,
|
|
"min": 180,
|
|
"max": 180
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.153786846808508,
|
|
"min": 0.790125,
|
|
"med": 1.034708,
|
|
"p(90)": 1.4757082000000001,
|
|
"p(95)": 1.6831577999999998,
|
|
"p(99)": 2.3064296799999977,
|
|
"max": 15.676958
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_blocked": {
|
|
"values": {
|
|
"p(99)": 0.003812499999999987,
|
|
"max": 17.011,
|
|
"avg": 0.0036613571606886977,
|
|
"min": 0.000458,
|
|
"med": 0.000958,
|
|
"p(90)": 0.001542,
|
|
"p(95)": 0.001875
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.025895499999999988,
|
|
"max": 0.592333,
|
|
"avg": 0.006963566170147788,
|
|
"min": 0.001791,
|
|
"med": 0.006667,
|
|
"p(90)": 0.009375,
|
|
"p(95)": 0.011792
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 36051
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.003417,
|
|
"med": 0.011792,
|
|
"p(90)": 0.025209,
|
|
"p(95)": 0.034041,
|
|
"p(99)": 0.062896,
|
|
"max": 0.336583,
|
|
"avg": 0.015361078083825797
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 27.074666,
|
|
"avg": 1.2767051786894807,
|
|
"min": 0.704333,
|
|
"med": 1.134792,
|
|
"p(90)": 1.621625,
|
|
"p(95)": 1.853375,
|
|
"p(99)": 2.867791
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0024274582397159597,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 17.003709
|
|
}
|
|
},
|
|
"data_received": {
|
|
"values": {
|
|
"count": 91784350,
|
|
"rate": 2268200.71958171
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 667.2563201616153,
|
|
"count": 27001
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"vus": {
|
|
"values": {
|
|
"value": 1,
|
|
"min": 0,
|
|
"max": 2
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
}
|
|
}
|
|
} |