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": [
|
|
{
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 36183,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200"
|
|
},
|
|
{
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 146025,
|
|
"fails": 0,
|
|
"name": "message 201"
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": ""
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40505.759297
|
|
},
|
|
"metrics": {
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 68.79910799999999,
|
|
"p(99)": 115.62463394,
|
|
"max": 214.404875,
|
|
"avg": 14.549656091627657,
|
|
"min": 1.162208,
|
|
"med": 3.21025,
|
|
"p(90)": 49.1008414
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.002740961971490962,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 22.823125
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 26.821084,
|
|
"avg": 0.0171845146056695,
|
|
"min": 0.001542,
|
|
"med": 0.004458,
|
|
"p(90)": 0.017083,
|
|
"p(95)": 0.05075,
|
|
"p(99)": 0.15823249999999958
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 136607
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 995,
|
|
"min": 912,
|
|
"max": 995
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 14.995331524081449,
|
|
"min": 1.125417,
|
|
"med": 3.4733539999999996,
|
|
"p(90)": 49.3633288,
|
|
"p(95)": 69.11307314999995,
|
|
"p(99)": 109.99051887999998,
|
|
"max": 214.404875
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 53524706,
|
|
"rate": 1321409.7681157216
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136607,
|
|
"rate": 3372.5327551165697
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 31.51075,
|
|
"avg": 0.022952120230662,
|
|
"min": 0.003167,
|
|
"med": 0.011125,
|
|
"p(90)": 0.060875,
|
|
"p(95)": 0.08254814999999967,
|
|
"p(99)": 0.134875
|
|
}
|
|
},
|
|
"iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 182208,
|
|
"rate": 4498.323279511884
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 3.317208,
|
|
"p(90)": 47.500875,
|
|
"p(95)": 66.40735174999998,
|
|
"p(99)": 113.46405075999999,
|
|
"max": 184.699958,
|
|
"avg": 14.320787821842842,
|
|
"min": 1.228584
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"values": {
|
|
"avg": 14.955194889244616,
|
|
"min": 1.102584,
|
|
"med": 3.4358335,
|
|
"p(90)": 49.312845599999996,
|
|
"p(95)": 69.06695184999998,
|
|
"p(99)": 109.93961055999999,
|
|
"max": 214.235
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 194,
|
|
"rate": 4.789442374787635
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0048704018369553626,
|
|
"min": 0.000458,
|
|
"med": 0.001416,
|
|
"p(90)": 0.002,
|
|
"p(95)": 0.002333,
|
|
"p(99)": 0.00475,
|
|
"max": 22.891625
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 463564089,
|
|
"rate": 11444399.439620756
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 182208,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 182258
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 9,
|
|
"min": 9,
|
|
"max": 339
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 4499.55767187652,
|
|
"count": 182258
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 15.472226253342184,
|
|
"min": 1.162208,
|
|
"med": 2.758708,
|
|
"p(90)": 56.554591600000016,
|
|
"p(95)": 77.1659578,
|
|
"p(99)": 124.29750015999996,
|
|
"max": 214.404875
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 15.05615280762111,
|
|
"min": 1.166916,
|
|
"med": 3.528562,
|
|
"p(90)": 49.4424706,
|
|
"p(95)": 69.20440789999992,
|
|
"p(99)": 110.04451786999998,
|
|
"max": 214.455375
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 3.4733539999999996,
|
|
"p(90)": 49.3633288,
|
|
"p(95)": 69.11307314999995,
|
|
"p(99)": 109.99051887999998,
|
|
"max": 214.404875,
|
|
"avg": 14.995331524081449,
|
|
"min": 1.125417
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136607,
|
|
"rate": 3372.5327551165697
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 194,
|
|
"rate": 4.789442374787635
|
|
}
|
|
}
|
|
}
|
|
} |