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
{
|
|
"state": {
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40488.238297,
|
|
"isStdOutTTY": false
|
|
},
|
|
"metrics": {
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80801,
|
|
"rate": 1995.6659859410825
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80851,
|
|
"rate": 1996.9009124803215
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 404,
|
|
"max": 404,
|
|
"value": 404
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 60601,
|
|
"rate": 0,
|
|
"passes": 0
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.817333,
|
|
"med": 1.421792,
|
|
"p(90)": 1.955125,
|
|
"p(95)": 2.339874999999999,
|
|
"p(99)": 4.424999999999991,
|
|
"max": 39.039958,
|
|
"avg": 1.5733808082769647
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.005042,
|
|
"p(90)": 0.010791,
|
|
"p(95)": 0.017083,
|
|
"p(99)": 0.04556249999999997,
|
|
"max": 6.0755,
|
|
"avg": 0.007752789761412771,
|
|
"min": 0.001625
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.016649108941138708,
|
|
"min": 0.002875,
|
|
"med": 0.012041,
|
|
"p(90)": 0.030208,
|
|
"p(95)": 0.054687499999999854,
|
|
"p(99)": 0.087542,
|
|
"max": 1.010833
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 60601,
|
|
"rate": 1496.755664088508
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0044827825753551145,
|
|
"min": 0.000375,
|
|
"med": 0.001083,
|
|
"p(90)": 0.001667,
|
|
"p(95)": 0.001917,
|
|
"p(99)": 0.003333,
|
|
"max": 19.093416
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"values": {
|
|
"min": 0.792417,
|
|
"med": 1.399083,
|
|
"p(90)": 1.923708,
|
|
"p(95)": 2.300312499999999,
|
|
"p(99)": 4.385917,
|
|
"max": 39.025,
|
|
"avg": 1.5489789095744044
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"checks": {
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 80801,
|
|
"fails": 0,
|
|
"rate": 1
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 3.4101500199999975,
|
|
"max": 18.10975,
|
|
"avg": 1.4407667705415879,
|
|
"min": 0.887417,
|
|
"med": 1.3128959999999998,
|
|
"p(90)": 1.8116169,
|
|
"p(95)": 2.1082085499999996
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"values": {
|
|
"p(90)": 1.955125,
|
|
"p(95)": 2.339874999999999,
|
|
"p(99)": 4.424999999999991,
|
|
"max": 39.039958,
|
|
"avg": 1.5733808082769647,
|
|
"min": 0.817333,
|
|
"med": 1.421792
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 39.039958,
|
|
"avg": 1.604482526268298,
|
|
"min": 0.917625,
|
|
"med": 1.45725,
|
|
"p(90)": 1.9970164000000001,
|
|
"p(95)": 2.409966999999999,
|
|
"p(99)": 4.408996999999999
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"values": {
|
|
"p(95)": 2.352959,
|
|
"p(99)": 4.21625,
|
|
"max": 39.039958,
|
|
"avg": 1.572458523885763,
|
|
"min": 0.887417,
|
|
"med": 1.431708,
|
|
"p(90)": 1.965042
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 203224657,
|
|
"rate": 5019350.447141041
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 39.091458,
|
|
"avg": 1.6244991789953045,
|
|
"min": 0.855,
|
|
"med": 1.473084,
|
|
"p(90)": 2.016125,
|
|
"p(95)": 2.400708,
|
|
"p(99)": 4.379583
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 18.982125,
|
|
"avg": 0.002887459722205044,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2,
|
|
"min": 0,
|
|
"max": 7
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 60601,
|
|
"rate": 1496.755664088508
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"contains": "data",
|
|
"values": {
|
|
"rate": 585784.909336432,
|
|
"count": 23717399
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 80851
|
|
},
|
|
"type": "rate"
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 15870,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 64931,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201"
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
}
|
|
} |