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": {
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 172816,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 42523,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200"
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": []
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40669.788366
|
|
},
|
|
"metrics": {
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 185.05207102755014,
|
|
"min": 124.053833,
|
|
"med": 181.68325,
|
|
"p(90)": 209.2461584,
|
|
"p(95)": 221.27813429999998,
|
|
"p(99)": 250.14761066,
|
|
"max": 356.308459
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 215389,
|
|
"rate": 5296.044278904227
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 257.48918799999996,
|
|
"max": 390.068541,
|
|
"avg": 183.77141766562247,
|
|
"min": 1.295667,
|
|
"med": 181.074792,
|
|
"p(90)": 212.4376252,
|
|
"p(95)": 225.78550819999998
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1000,
|
|
"min": 701,
|
|
"max": 1000
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2000,
|
|
"min": 1384,
|
|
"max": 2000
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 159964,
|
|
"rate": 3933.2390559900264
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 57863,
|
|
"rate": 1422.7514409289022
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.01994725909865497,
|
|
"min": 0.001209,
|
|
"med": 0.003875,
|
|
"p(90)": 0.027542,
|
|
"p(95)": 0.063542,
|
|
"p(99)": 0.198375,
|
|
"max": 13.653667
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": -0.108139,
|
|
"med": 0.011167,
|
|
"p(90)": 0.048583,
|
|
"p(95)": 0.074792,
|
|
"p(99)": 0.12979691999999993,
|
|
"max": 17.267125,
|
|
"avg": 0.02121528618917421
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 44940,
|
|
"rate": 1104.9971442086458
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 63315520,
|
|
"rate": 1556819.5101042588
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 181.120917,
|
|
"p(90)": 212.480167,
|
|
"p(95)": 225.82385019999998,
|
|
"p(99)": 257.5138481199999,
|
|
"max": 390.091292,
|
|
"avg": 183.81258021090855,
|
|
"min": 1.313333
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.001667,
|
|
"p(95)": 0.002,
|
|
"p(99)": 0.018666119999999998,
|
|
"max": 31.795166,
|
|
"avg": 0.02583836431294461,
|
|
"min": 0.000333,
|
|
"med": 0.001041
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 215339,
|
|
"fails": 0,
|
|
"rate": 1
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 0,
|
|
"fails": 159964,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 181.1985,
|
|
"p(90)": 212.55019240000001,
|
|
"p(95)": 225.88845869999997,
|
|
"p(99)": 257.58927538,
|
|
"max": 390.156459,
|
|
"avg": 183.93474754022267,
|
|
"min": 4.733084
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 24.737,
|
|
"avg": 0.013071480911281451,
|
|
"min": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 376.501501,
|
|
"avg": 193.71272711848115,
|
|
"min": 125.400042,
|
|
"med": 189.742458,
|
|
"p(90)": 227.390442,
|
|
"p(95)": 241.52960879999995,
|
|
"p(99)": 273.011215
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 183.81258021090855,
|
|
"min": 1.313333,
|
|
"med": 181.120917,
|
|
"p(90)": 212.480167,
|
|
"p(95)": 225.82385019999998,
|
|
"p(99)": 257.5138481199999,
|
|
"max": 390.091292
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 159964,
|
|
"rate": 3933.2390559900264
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 124.053833,
|
|
"med": 182.8930205,
|
|
"p(90)": 213.5572127,
|
|
"p(95)": 226.51134184999998,
|
|
"p(99)": 256.66334254,
|
|
"max": 376.501501,
|
|
"avg": 186.755626476908
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 215389
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 545436875,
|
|
"rate": 13411352.675146597
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 215339,
|
|
"rate": 5294.81486508112
|
|
}
|
|
}
|
|
}
|
|
} |