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
{
|
|
"metrics": {
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0.02208980999999986,
|
|
"max": 21.676875,
|
|
"avg": 0.015870581857096826,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 2.998667,
|
|
"med": 201.53787499999999,
|
|
"p(90)": 228.59051240000002,
|
|
"p(95)": 248.20827504999994,
|
|
"p(99)": 342.03809944,
|
|
"max": 405.781626,
|
|
"avg": 206.71114527001467
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 208.02332516071573,
|
|
"min": 141.029666,
|
|
"med": 202.165084,
|
|
"p(90)": 229.39757500000002,
|
|
"p(95)": 247.32032499999994,
|
|
"p(99)": 341.16639675999994,
|
|
"max": 405.739417
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.127708,
|
|
"max": 11.054666,
|
|
"avg": 0.020790105452637462,
|
|
"min": 0.003875,
|
|
"med": 0.011416,
|
|
"p(90)": 0.042958,
|
|
"p(95)": 0.072375
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 210.9193545,
|
|
"p(90)": 237.65973390000002,
|
|
"p(95)": 256.07698579999993,
|
|
"p(99)": 350.98185513,
|
|
"max": 405.739417,
|
|
"avg": 216.05664072290404,
|
|
"min": 141.029666
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 192494,
|
|
"rate": 0,
|
|
"passes": 0
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 206.58424593016866,
|
|
"min": 1.708458,
|
|
"med": 201.4793545,
|
|
"p(90)": 228.52902500000002,
|
|
"p(95)": 248.14312554999998,
|
|
"p(99)": 341.97850356,
|
|
"max": 405.739417
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.002,
|
|
"p(99)": 0.036755809999999854,
|
|
"max": 26.853375,
|
|
"avg": 0.02224490122289993,
|
|
"min": 0.000333,
|
|
"med": 0.001041,
|
|
"p(90)": 0.001667
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 61077,
|
|
"rate": 1500.1873021684871
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 192494,
|
|
"rate": 4728.081840031776
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 206.58424593016866,
|
|
"min": 1.708458,
|
|
"med": 201.4793545,
|
|
"p(90)": 228.52902500000002,
|
|
"p(95)": 248.14312554999998,
|
|
"p(99)": 341.97850356,
|
|
"max": 405.739417
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.022942996379108675,
|
|
"min": 0.001291,
|
|
"med": 0.003958,
|
|
"p(90)": 0.028625,
|
|
"p(95)": 0.062333,
|
|
"p(99)": 0.19558593999999993,
|
|
"max": 20.29875
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 484552876,
|
|
"rate": 11901699.032441368
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 143825,
|
|
"rate": 3532.662683733364
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 192444,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2000,
|
|
"min": 1484,
|
|
"max": 2000
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 228.4789411,
|
|
"p(95)": 248.12196084999997,
|
|
"p(99)": 341.93630569,
|
|
"max": 405.716292,
|
|
"avg": 206.54051282833632,
|
|
"min": 1.687708,
|
|
"med": 201.4292705
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 56596392,
|
|
"rate": 1390133.5793662122
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 3532.662683733364,
|
|
"count": 143825
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80760,
|
|
"rate": 1983.645668960935
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 192444,
|
|
"rate": 4726.853728547773
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 999,
|
|
"min": 800,
|
|
"max": 1000
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"values": {
|
|
"p(90)": 226.000959,
|
|
"p(95)": 243.945875,
|
|
"p(99)": 338.6609166,
|
|
"max": 398.445083,
|
|
"avg": 206.0516043036499,
|
|
"min": 142.333625,
|
|
"med": 200.335084
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 143825
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"passes": 37751,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
},
|
|
{
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 154693,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201"
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40712.916255
|
|
}
|
|
} |