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.7 KiB
JSON
309 lines
5.7 KiB
JSON
{
|
|
"root_group": {
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 43216,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201"
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 10785,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e"
|
|
},
|
|
"options": {
|
|
"summaryTimeUnit": "",
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
]
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40475.835449
|
|
},
|
|
"metrics": {
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4715024178811562,
|
|
"min": 0.826458,
|
|
"med": 1.378667,
|
|
"p(90)": 1.770417,
|
|
"p(95)": 2.023166,
|
|
"p(99)": 3.3175,
|
|
"max": 21.668166
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.017202415366968205,
|
|
"min": 0.003208,
|
|
"med": 0.013042,
|
|
"p(90)": 0.029958,
|
|
"p(95)": 0.0446874999999999,
|
|
"p(99)": 0.07931249999999998,
|
|
"max": 2.051417
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 40501
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4430569014779862,
|
|
"min": 0.860917,
|
|
"med": 1.346208,
|
|
"p(90)": 1.7477666,
|
|
"p(95)": 2.0071333999999994,
|
|
"p(99)": 3.336632999999999,
|
|
"max": 19.215083
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 270,
|
|
"min": 270,
|
|
"max": 270
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 54051,
|
|
"rate": 1335.3893601061022
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 40501,
|
|
"rate": 1000.6217178897198
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.721917,
|
|
"p(95)": 1.972083,
|
|
"p(99)": 3.237125,
|
|
"max": 19.215083,
|
|
"avg": 1.4179234176933935,
|
|
"min": 0.795625,
|
|
"med": 1.326666
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 40501,
|
|
"rate": 1000.6217178897198
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 54001,
|
|
"rate": 1334.1540551532742
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 0,
|
|
"max": 3,
|
|
"value": 2
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4233831830863373,
|
|
"min": 0.443195,
|
|
"med": 1.328541,
|
|
"p(90)": 1.709958,
|
|
"p(95)": 1.9604374999999996,
|
|
"p(99)": 3.3068129999999996,
|
|
"max": 19.215083
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4233831830863373,
|
|
"min": 0.443195,
|
|
"med": 1.328541,
|
|
"p(90)": 1.709958,
|
|
"p(95)": 1.9604374999999996,
|
|
"p(99)": 3.3068129999999996,
|
|
"max": 19.215083
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 16.985167,
|
|
"avg": 0.0029658170986660765,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 19.205084,
|
|
"avg": 1.3989875018408628,
|
|
"min": 0.434611,
|
|
"med": 1.305416,
|
|
"p(90)": 1.68125,
|
|
"p(95)": 1.927228999999999,
|
|
"p(99)": 3.2756665
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.001333,
|
|
"med": 0.006417,
|
|
"p(90)": 0.0105,
|
|
"p(95)": 0.014770499999999902,
|
|
"p(99)": 0.036125,
|
|
"max": 1.312958,
|
|
"avg": 0.00719326587852191
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 54051,
|
|
"rate": 0,
|
|
"passes": 0
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 54001,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 17.002625,
|
|
"avg": 0.0045121993302619425,
|
|
"min": 0.000458,
|
|
"med": 0.001042,
|
|
"p(90)": 0.001625,
|
|
"p(95)": 0.001916,
|
|
"p(99)": 0.003583
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 15821094,
|
|
"rate": 390877.51554714056
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 137597194,
|
|
"rate": 3399489.9048686465
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"values": {
|
|
"p(99)": 2.6197674999999987,
|
|
"max": 18.524666,
|
|
"avg": 1.3172621379139926,
|
|
"min": 0.795625,
|
|
"med": 1.224792,
|
|
"p(90)": 1.617725,
|
|
"p(95)": 1.8046751499999998
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
}
|
|
}
|
|
} |