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": {
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"passes": 4755,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
},
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 19248,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": ""
|
|
},
|
|
"options": {
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": ""
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40619.027866
|
|
},
|
|
"metrics": {
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"max": 120,
|
|
"value": 120,
|
|
"min": 120
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.374,
|
|
"p(90)": 1.9282793999999999,
|
|
"p(95)": 2.2427329499999997,
|
|
"p(99)": 3.934919169999997,
|
|
"max": 20.332584,
|
|
"avg": 1.532392873824673,
|
|
"min": 0.996083
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24053,
|
|
"rate": 592.160897581044
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 0.928375,
|
|
"avg": 0.00850530316384644,
|
|
"min": 0.002084,
|
|
"med": 0.007583,
|
|
"p(90)": 0.011792,
|
|
"p(95)": 0.014891399999999956,
|
|
"p(99)": 0.030833
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 4.13185516,
|
|
"max": 30.172084,
|
|
"avg": 1.5074867757452235,
|
|
"min": 0.818708,
|
|
"med": 1.327958,
|
|
"p(90)": 1.8546586,
|
|
"p(95)": 2.1488583999999995
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 18001
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0,
|
|
"max": 15.922917,
|
|
"avg": 0.0020756664449341046,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1,
|
|
"min": 0,
|
|
"max": 8
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.06118667999999999,
|
|
"max": 0.301375,
|
|
"avg": 0.01703950039496129,
|
|
"min": 0.003625,
|
|
"med": 0.013708,
|
|
"p(90)": 0.027833,
|
|
"p(95)": 0.03575
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 24053
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.723433,
|
|
"p(95)": 1.9651079999999999,
|
|
"p(99)": 3.763636999999999,
|
|
"max": 20.064209,
|
|
"avg": 1.4041737955894804,
|
|
"min": 0.966458,
|
|
"med": 1.257375
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"values": {
|
|
"p(90)": 1.8546586,
|
|
"p(95)": 2.1488583999999995,
|
|
"p(99)": 4.13185516,
|
|
"max": 30.172084,
|
|
"avg": 1.5074867757452235,
|
|
"min": 0.818708,
|
|
"med": 1.327958
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 4.09655668,
|
|
"max": 30.115833,
|
|
"avg": 1.4819419721864266,
|
|
"min": 0.797583,
|
|
"med": 1.305917,
|
|
"p(90)": 1.8186418000000002,
|
|
"p(95)": 2.1101329999999985
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 24003,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 60152656,
|
|
"rate": 1480898.4645925153
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 7029922,
|
|
"rate": 173069.6761919398
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"iteration_duration": {
|
|
"values": {
|
|
"med": 1.382667,
|
|
"p(90)": 1.9236078000000003,
|
|
"p(95)": 2.213333,
|
|
"p(99)": 3.9949519799999993,
|
|
"max": 35.099875,
|
|
"avg": 1.5464038297712854,
|
|
"min": 0.872834
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24003,
|
|
"rate": 590.9299473927493
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 18001,
|
|
"rate": 443.1666867898546
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 443.1666867898546,
|
|
"count": 18001
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 3.905625,
|
|
"max": 20.332584,
|
|
"avg": 1.5071992245986354,
|
|
"min": 0.966458,
|
|
"med": 1.353125,
|
|
"p(90)": 1.895416,
|
|
"p(95)": 2.199208
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.002208,
|
|
"p(99)": 0.004144679999999992,
|
|
"max": 15.931208,
|
|
"avg": 0.0035358741529120416,
|
|
"min": 0.000541,
|
|
"med": 0.001166,
|
|
"p(90)": 0.001875
|
|
}
|
|
}
|
|
}
|
|
} |