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": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 41003,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 164177
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40656.951616
|
|
},
|
|
"metrics": {
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1673.0226270390533,
|
|
"count": 68020
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 19.761625,
|
|
"avg": 0.004875973683184711,
|
|
"min": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"values": {
|
|
"min": 108.979041,
|
|
"med": 189.156979,
|
|
"p(90)": 216.83966650000002,
|
|
"p(95)": 232.828458,
|
|
"p(99)": 267.1379275,
|
|
"max": 330.466236,
|
|
"avg": 193.18971437049905
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 524969464,
|
|
"rate": 12912169.829117373
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 153111,
|
|
"rate": 3765.9242494645173
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1273.8534971622994,
|
|
"count": 51791
|
|
}
|
|
},
|
|
"vus": {
|
|
"values": {
|
|
"value": 993,
|
|
"min": 733,
|
|
"max": 1000
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 153111
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 124.181167,
|
|
"med": 198.806125,
|
|
"p(90)": 231.700008,
|
|
"p(95)": 249.44490019999995,
|
|
"p(99)": 284.1993125,
|
|
"max": 366.437375,
|
|
"avg": 202.41739736716124
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 268.20523118,
|
|
"max": 366.437375,
|
|
"avg": 193.15138498932467,
|
|
"min": 1.613042,
|
|
"med": 190.3927085,
|
|
"p(90)": 219.944958,
|
|
"p(95)": 235.64652499999994
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 193.26021219201016,
|
|
"min": 10.054875,
|
|
"med": 190.452604,
|
|
"p(90)": 220.0078422,
|
|
"p(95)": 235.71104344999998,
|
|
"p(99)": 268.27817143,
|
|
"max": 366.5
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.00884967095453707,
|
|
"min": 0.000333,
|
|
"med": 0.001083,
|
|
"p(90)": 0.001709,
|
|
"p(95)": 0.002042,
|
|
"p(99)": 0.025208,
|
|
"max": 19.771458
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 195.03602239933156,
|
|
"min": 108.979041,
|
|
"med": 190.853583,
|
|
"p(90)": 220.57925,
|
|
"p(95)": 238.1862085,
|
|
"p(99)": 271.0790167,
|
|
"max": 366.437375
|
|
}
|
|
},
|
|
"iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 205180,
|
|
"rate": 5046.615445690575
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 153111,
|
|
"rate": 3765.9242494645173
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 205180,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 235.64652499999994,
|
|
"p(99)": 268.20523118,
|
|
"max": 366.437375,
|
|
"avg": 193.15138498932467,
|
|
"min": 1.613042,
|
|
"med": 190.3927085,
|
|
"p(90)": 219.944958
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 205230,
|
|
"rate": 0,
|
|
"passes": 0
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 205230,
|
|
"rate": 5047.84524768046
|
|
}
|
|
},
|
|
"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_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 268.17826318,
|
|
"max": 366.423208,
|
|
"avg": 193.10373069664496,
|
|
"min": 1.593791,
|
|
"med": 190.35139600000002,
|
|
"p(90)": 219.89435469999998,
|
|
"p(95)": 235.60168109999995
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.045791,
|
|
"p(95)": 0.075584,
|
|
"p(99)": 0.13333371,
|
|
"max": 25.111333,
|
|
"avg": 0.021541755776446358,
|
|
"min": 0.003334,
|
|
"med": 0.011708
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 60262862,
|
|
"rate": 1482227.7520748593
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2000,
|
|
"min": 1418,
|
|
"max": 2000
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.001375,
|
|
"med": 0.004084,
|
|
"p(90)": 0.029125,
|
|
"p(95)": 0.0635,
|
|
"p(99)": 0.19382110999999994,
|
|
"max": 43.497125,
|
|
"avg": 0.026112536900064397
|
|
}
|
|
}
|
|
}
|
|
} |