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.6 KiB
JSON
309 lines
5.6 KiB
JSON
{
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 64505
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 16296,
|
|
"fails": 0
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40502.085907
|
|
},
|
|
"metrics": {
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"values": {
|
|
"avg": 2.2590173913636713,
|
|
"min": 1.024667,
|
|
"med": 1.5095,
|
|
"p(90)": 2.4058668,
|
|
"p(95)": 3.5766337999999993,
|
|
"p(99)": 21.120706999999967,
|
|
"max": 141.582834
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"rate": 5132101.355897704,
|
|
"count": 207860810
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 60601,
|
|
"rate": 1496.2439252919141
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 10.080625,
|
|
"avg": 0.008670962684444164,
|
|
"min": 0.001416,
|
|
"med": 0.005083,
|
|
"p(90)": 0.011666,
|
|
"p(95)": 0.018417,
|
|
"p(99)": 0.0542085
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 20.4662295,
|
|
"max": 141.582834,
|
|
"avg": 2.188363316062855,
|
|
"min": 1.005,
|
|
"med": 1.465833,
|
|
"p(90)": 2.353,
|
|
"p(95)": 3.559957999999999
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.002125,
|
|
"p(99)": 0.0035,
|
|
"max": 27.367584,
|
|
"avg": 0.003928745061904141,
|
|
"min": 0.000458,
|
|
"med": 0.00125,
|
|
"p(90)": 0.001875
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 23666257,
|
|
"rate": 584321.9298468217
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 141.640084,
|
|
"avg": 2.243680035247072,
|
|
"min": 1.045333,
|
|
"med": 1.521709,
|
|
"p(90)": 2.417167,
|
|
"p(95)": 3.609167,
|
|
"p(99)": 20.605083
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.033709,
|
|
"p(95)": 0.06072949999999985,
|
|
"p(99)": 0.099625,
|
|
"max": 12.42975,
|
|
"avg": 0.018512769885344595,
|
|
"min": 0.002833,
|
|
"med": 0.013083
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 404,
|
|
"max": 404,
|
|
"value": 404
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 80851
|
|
}
|
|
},
|
|
"vus": {
|
|
"contains": "default",
|
|
"values": {
|
|
"max": 99,
|
|
"value": 2,
|
|
"min": 1
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 0,
|
|
"fails": 60601,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 2.188363316062855,
|
|
"min": 1.005,
|
|
"med": 1.465833,
|
|
"p(90)": 2.353,
|
|
"p(95)": 3.559957999999999,
|
|
"p(99)": 20.4662295,
|
|
"max": 141.582834
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 20.418041499999998,
|
|
"max": 141.555791,
|
|
"avg": 2.1611795834930945,
|
|
"min": 0.984333,
|
|
"med": 1.440375,
|
|
"p(90)": 2.318917,
|
|
"p(95)": 3.5271659999999945
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 60601,
|
|
"rate": 1496.2439252919141
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80851,
|
|
"rate": 1996.218174679899
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_connecting": {
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 27.356875,
|
|
"avg": 0.002418109114296671
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80801,
|
|
"rate": 1994.9836703604224
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 20.699375,
|
|
"max": 141.582834,
|
|
"avg": 2.211959182158718,
|
|
"min": 1.005,
|
|
"med": 1.490458,
|
|
"p(90)": 2.334709,
|
|
"p(95)": 3.424
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 80801
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.4155829999999998,
|
|
"p(90)": 2.0785296,
|
|
"p(95)": 2.7961169499999996,
|
|
"p(99)": 19.21440658999999,
|
|
"max": 133.367875,
|
|
"avg": 2.0257243174083768,
|
|
"min": 1.005
|
|
}
|
|
}
|
|
}
|
|
} |