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
{
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 16150,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 64652,
|
|
"fails": 0
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40530.744672
|
|
},
|
|
"metrics": {
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.046709,
|
|
"med": 1.578292,
|
|
"p(90)": 3.3125875000000007,
|
|
"p(95)": 7.123843099999995,
|
|
"p(99)": 33.91847958999999,
|
|
"max": 132.080209,
|
|
"avg": 2.826527161419257
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 60601,
|
|
"rate": 1495.1859505770494
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"values": {
|
|
"count": 60601,
|
|
"rate": 1495.1859505770494
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 2.7409818816108587,
|
|
"min": 0.992958,
|
|
"med": 1.497,
|
|
"p(90)": 3.2088828000000005,
|
|
"p(95)": 7.027964949999999,
|
|
"p(99)": 33.808128749999995,
|
|
"max": 132.003666
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.522229,
|
|
"p(90)": 3.2465327000000004,
|
|
"p(95)": 7.070820499999999,
|
|
"p(99)": 33.83562574999998,
|
|
"max": 132.029917,
|
|
"avg": 2.7692966446593505,
|
|
"min": 1.013708
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 80852
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 60601
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.06187333999999988,
|
|
"max": 7.028542,
|
|
"avg": 0.009111456908920075,
|
|
"min": 0.001583,
|
|
"med": 0.005042,
|
|
"p(90)": 0.012125,
|
|
"p(95)": 0.020583
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1994.8313472724146,
|
|
"count": 80852
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0036554793820809243,
|
|
"min": 0.000458,
|
|
"med": 0.001292,
|
|
"p(90)": 0.001917,
|
|
"p(95)": 0.002208,
|
|
"p(99)": 0.004292,
|
|
"max": 15.032792
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 15.019042,
|
|
"avg": 0.0019513582100628318,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.019203306139613012,
|
|
"min": 0.003083,
|
|
"med": 0.013167,
|
|
"p(90)": 0.03475,
|
|
"p(95)": 0.062417,
|
|
"p(99)": 0.10435408999999997,
|
|
"max": 18.179333
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 132.029917,
|
|
"avg": 2.6441732362172194,
|
|
"min": 1.029333,
|
|
"med": 1.463708,
|
|
"p(90)": 3.054584,
|
|
"p(95)": 6.532875,
|
|
"p(99)": 31.003542
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80802,
|
|
"rate": 1993.5977158549654
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 132.029917,
|
|
"avg": 2.7692966446593505,
|
|
"min": 1.013708,
|
|
"med": 1.522229,
|
|
"p(90)": 3.2465327000000004,
|
|
"p(95)": 7.070820499999999,
|
|
"p(99)": 33.83562574999998
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"values": {
|
|
"p(99)": 31.406828179999973,
|
|
"max": 131.733459,
|
|
"avg": 2.4497903127108223,
|
|
"min": 1.029333,
|
|
"med": 1.384958,
|
|
"p(90)": 2.5190416,
|
|
"p(95)": 4.699445599999997
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 7,
|
|
"min": 0,
|
|
"max": 70
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 404,
|
|
"min": 404,
|
|
"max": 404
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 3.1669585000000002,
|
|
"p(95)": 7.044791749999995,
|
|
"p(99)": 30.93373589999999,
|
|
"max": 132.029917,
|
|
"avg": 2.692943504871424,
|
|
"min": 1.041709,
|
|
"med": 1.4784165
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 23683981,
|
|
"rate": 584346.061037504
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"rate": 5089194.626677991,
|
|
"count": 206268848
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 80802,
|
|
"fails": 0
|
|
}
|
|
}
|
|
}
|
|
} |