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": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 28907,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 7095,
|
|
"fails": 0
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40475.648338
|
|
},
|
|
"metrics": {
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 27001
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"values": {
|
|
"p(95)": 0.033583,
|
|
"p(99)": 0.061458,
|
|
"max": 1.826959,
|
|
"avg": 0.0154486157217354,
|
|
"min": 0.00325,
|
|
"med": 0.011792,
|
|
"p(90)": 0.025167
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0,
|
|
"max": 15.849208,
|
|
"avg": 0.002102095417729946,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.2121227593198671,
|
|
"min": 0.631,
|
|
"med": 1.077292,
|
|
"p(90)": 1.555125,
|
|
"p(95)": 1.7866996999999998,
|
|
"p(99)": 2.70780459,
|
|
"max": 25.359916
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.009417,
|
|
"p(95)": 0.011916,
|
|
"p(99)": 0.0265,
|
|
"max": 1.052167,
|
|
"avg": 0.0070975047431487215,
|
|
"min": 0.00175,
|
|
"med": 0.006708
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 36052,
|
|
"rate": 890.7084007386505
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"values": {
|
|
"avg": 1.2346688797847607,
|
|
"min": 0.651375,
|
|
"med": 1.097625,
|
|
"p(90)": 1.5822458,
|
|
"p(95)": 1.8185377999999999,
|
|
"p(99)": 2.751278419999999,
|
|
"max": 25.452458
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0033057292521910366,
|
|
"min": 0.000458,
|
|
"med": 0.000917,
|
|
"p(90)": 0.001542,
|
|
"p(95)": 0.001875,
|
|
"p(99)": 0.0038120899999999867,
|
|
"max": 15.858291
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 90478142,
|
|
"rate": 2235372.2723461813
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1,
|
|
"min": 0,
|
|
"max": 3
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.042666,
|
|
"p(90)": 1.4974336000000001,
|
|
"p(95)": 1.6922084,
|
|
"p(99)": 2.367529999999999,
|
|
"max": 14.787708,
|
|
"avg": 1.1707924894586872,
|
|
"min": 0.770125
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.107,
|
|
"p(90)": 1.601792,
|
|
"p(95)": 1.8375,
|
|
"p(99)": 2.655333,
|
|
"max": 15.658125,
|
|
"avg": 1.2379902445094566,
|
|
"min": 0.770125
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 889.4730900752496,
|
|
"count": 36002
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27001,
|
|
"rate": 667.0924644498032
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"contains": "data",
|
|
"values": {
|
|
"rate": 260723.1862446171,
|
|
"count": 10552940
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"max": 180,
|
|
"value": 180,
|
|
"min": 180
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.2346688797847607,
|
|
"min": 0.651375,
|
|
"med": 1.097625,
|
|
"p(90)": 1.5822458,
|
|
"p(95)": 1.8185377999999999,
|
|
"p(99)": 2.751278419999999,
|
|
"max": 25.452458
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.2542672126886196,
|
|
"min": 0.795333,
|
|
"med": 1.11475,
|
|
"p(90)": 1.6240625,
|
|
"p(95)": 1.8650525,
|
|
"p(99)": 2.7624936499999975,
|
|
"max": 15.658125
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 36052
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 2.7203537499999997,
|
|
"max": 23.161083,
|
|
"avg": 1.2751255160268815,
|
|
"min": 0.713,
|
|
"med": 1.1433125,
|
|
"p(90)": 1.6426545000000001,
|
|
"p(95)": 1.8840704999999995
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27001,
|
|
"rate": 667.0924644498032
|
|
}
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 36002
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
}
|
|
}
|
|
} |