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": [
|
|
{
|
|
"passes": 37980,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
},
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 151165,
|
|
"fails": 0
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40684.977782
|
|
},
|
|
"metrics": {
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2000,
|
|
"min": 1395,
|
|
"max": 2000
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 214.113792,
|
|
"p(90)": 245.1018506,
|
|
"p(95)": 270.2188203999999,
|
|
"p(99)": 372.25995163999994,
|
|
"max": 465.138542,
|
|
"avg": 221.01029060916284,
|
|
"min": 155.626333
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 359.63131279999993,
|
|
"max": 499.152292,
|
|
"avg": 212.72006997134616,
|
|
"min": 152.778291,
|
|
"med": 205.537334,
|
|
"p(90)": 235.867375,
|
|
"p(95)": 261.7476454999998
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 55515639,
|
|
"rate": 1364524.255057144
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 499.152292,
|
|
"avg": 210.64375377029154,
|
|
"min": 152.778291,
|
|
"med": 203.374709,
|
|
"p(90)": 232.58720800000003,
|
|
"p(95)": 258.32443699999993,
|
|
"p(99)": 356.4408813
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 275.9032579999999,
|
|
"p(99)": 353.723407,
|
|
"max": 499.194916,
|
|
"avg": 209.7982602436173,
|
|
"min": 3.415166,
|
|
"med": 203.954084,
|
|
"p(90)": 236.3023924
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 189145,
|
|
"fails": 0,
|
|
"rate": 1
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 140571,
|
|
"rate": 3455.108191362758
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 24.524917,
|
|
"avg": 0.012856652511955563,
|
|
"min": 0.000333,
|
|
"med": 0.001042,
|
|
"p(90)": 0.001708,
|
|
"p(95)": 0.002042,
|
|
"p(99)": 0.03862745999999993
|
|
}
|
|
},
|
|
"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_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 189195,
|
|
"rate": 4650.242185549488
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 4649.013230718348,
|
|
"count": 189145
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 140571
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"values": {
|
|
"min": 0.001292,
|
|
"med": 0.004042,
|
|
"p(90)": 0.028125,
|
|
"p(95)": 0.061916,
|
|
"p(99)": 0.1809244999999998,
|
|
"max": 10.107541,
|
|
"avg": 0.018233239911204083
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"rate": 11938139.295602284,
|
|
"count": 485702932
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0.025752519999999928,
|
|
"max": 23.288292,
|
|
"avg": 0.0065474681096223545
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 64329,
|
|
"rate": 1581.1487066477073
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"values": {
|
|
"avg": 209.67785403078244,
|
|
"min": 1.795875,
|
|
"med": 203.888667,
|
|
"p(90)": 236.2317084,
|
|
"p(95)": 275.7965087999997,
|
|
"p(99)": 353.63638197999995,
|
|
"max": 499.152292
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 995,
|
|
"min": 706,
|
|
"max": 1000
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 189195
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"values": {
|
|
"avg": 0.020640354385686552,
|
|
"min": 0.003333,
|
|
"med": 0.011583,
|
|
"p(90)": 0.042625,
|
|
"p(95)": 0.073083,
|
|
"p(99)": 0.128708,
|
|
"max": 15.90475
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 140571,
|
|
"rate": 3455.108191362758
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 84056,
|
|
"rate": 2066.020545725562
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 499.152292,
|
|
"avg": 209.67785403078244,
|
|
"min": 1.795875,
|
|
"med": 203.888667,
|
|
"p(90)": 236.2317084,
|
|
"p(95)": 275.7965087999997,
|
|
"p(99)": 353.63638197999995
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.772709,
|
|
"med": 203.85325,
|
|
"p(90)": 236.1846084,
|
|
"p(95)": 275.77191229999994,
|
|
"p(99)": 353.61912948,
|
|
"max": 499.133833,
|
|
"avg": 209.63898043648106
|
|
}
|
|
}
|
|
}
|
|
} |