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": {
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 152454,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 38521,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": ""
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40686.634324
|
|
},
|
|
"metrics": {
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 367.80221879,
|
|
"max": 449.415458,
|
|
"avg": 219.1247426695668,
|
|
"min": 146.7115,
|
|
"med": 212.78243700000002,
|
|
"p(90)": 241.7726286,
|
|
"p(95)": 265.5379919999999
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 141710,
|
|
"rate": 3482.9619690712266
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 141710,
|
|
"rate": 3482.9619690712266
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"values": {
|
|
"p(99)": 0.02143883999999986,
|
|
"max": 14.943958,
|
|
"avg": 0.0060837642245779484,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 63186,
|
|
"rate": 1552.9915671281808
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 0,
|
|
"fails": 141710,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 254.5449081999999,
|
|
"p(99)": 357.40110624,
|
|
"max": 466.262167,
|
|
"avg": 207.93294746205333,
|
|
"min": 1.618917,
|
|
"med": 202.782001,
|
|
"p(90)": 231.576108
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 190975,
|
|
"rate": 4693.801863265666
|
|
}
|
|
},
|
|
"data_received": {
|
|
"values": {
|
|
"count": 492407341,
|
|
"rate": 12102434.845772965
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2000,
|
|
"min": 1437,
|
|
"max": 2000
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"rate": 1377167.4883156403,
|
|
"count": 56032310
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 4695.030768060342,
|
|
"count": 191025
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 466.280292,
|
|
"avg": 207.96912208776465,
|
|
"min": 1.635541,
|
|
"med": 202.817042,
|
|
"p(90)": 231.60852500000001,
|
|
"p(95)": 254.59480839999998,
|
|
"p(99)": 357.44641175999993
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.00999024935479446,
|
|
"min": 0.000333,
|
|
"med": 0.001042,
|
|
"p(90)": 0.001667,
|
|
"p(95)": 0.002,
|
|
"p(99)": 0.03537615999999972,
|
|
"max": 18.328417
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 191025
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 207.96912208776465,
|
|
"min": 1.635541,
|
|
"med": 202.817042,
|
|
"p(90)": 231.60852500000001,
|
|
"p(95)": 254.59480839999998,
|
|
"p(99)": 357.44641175999993,
|
|
"max": 466.280292
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.028625,
|
|
"p(95)": 0.06228279999999965,
|
|
"p(99)": 0.17798007999999985,
|
|
"max": 8.779458,
|
|
"avg": 0.01602985388823584,
|
|
"min": 0.001291,
|
|
"med": 0.004
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"values": {
|
|
"p(90)": 233.207192,
|
|
"p(95)": 254.94417384999997,
|
|
"p(99)": 359.67610081,
|
|
"max": 466.280292,
|
|
"avg": 211.05595500666232,
|
|
"min": 146.7115,
|
|
"med": 204.74156299999999
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 190975
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 82225,
|
|
"rate": 2020.9339348449764
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 202.884708,
|
|
"p(90)": 231.6666918,
|
|
"p(95)": 254.6117757999998,
|
|
"p(99)": 357.50862123999997,
|
|
"max": 466.354375,
|
|
"avg": 208.084963761248,
|
|
"min": 7.14225
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1000,
|
|
"min": 746,
|
|
"max": 1000
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 209.00501614765687,
|
|
"min": 147.719708,
|
|
"med": 202.6259585,
|
|
"p(90)": 229.5899836,
|
|
"p(95)": 251.42451469999995,
|
|
"p(99)": 356.19724625,
|
|
"max": 466.280292
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.072834,
|
|
"p(99)": 0.12904175999999998,
|
|
"max": 8.118042,
|
|
"avg": 0.020144771820442373,
|
|
"min": 0.003375,
|
|
"med": 0.0115,
|
|
"p(90)": 0.041834
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0
|
|
}
|
|
}
|
|
}
|
|
} |