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": [
|
|
{
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 7178,
|
|
"fails": 0,
|
|
"name": "history 200"
|
|
},
|
|
{
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 28822,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201"
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40475.211755
|
|
},
|
|
"metrics": {
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 36050,
|
|
"rate": 890.6685953421024
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 10542043,
|
|
"rate": 260456.77200682508
|
|
}
|
|
},
|
|
"iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 889.4332713541106,
|
|
"count": 36000
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 27000
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.6279598265464645,
|
|
"min": 0.836375,
|
|
"med": 1.419375,
|
|
"p(90)": 1.9623792,
|
|
"p(95)": 2.4581477999999986,
|
|
"p(99)": 5.772452839999999,
|
|
"max": 24.846625
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.6343014321111164,
|
|
"min": 1.006125,
|
|
"med": 1.4280415,
|
|
"p(90)": 2.0018372,
|
|
"p(95)": 2.521543749999999,
|
|
"p(99)": 5.48420842,
|
|
"max": 24.846625
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27000,
|
|
"rate": 667.0749535155829
|
|
}
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 36000,
|
|
"fails": 0
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 180,
|
|
"min": 180,
|
|
"max": 180
|
|
}
|
|
},
|
|
"data_received": {
|
|
"values": {
|
|
"count": 91297579,
|
|
"rate": 2255641.787685565
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.001625,
|
|
"med": 0.006917,
|
|
"p(90)": 0.011375,
|
|
"p(95)": 0.015167,
|
|
"p(99)": 0.03943741999999999,
|
|
"max": 1.692,
|
|
"avg": 0.007927717198335611
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.6279598265464645,
|
|
"min": 0.836375,
|
|
"med": 1.419375,
|
|
"p(90)": 1.9623792,
|
|
"p(95)": 2.4581477999999986,
|
|
"p(99)": 5.772452839999999,
|
|
"max": 24.846625
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 2.411672549999999,
|
|
"p(99)": 5.73810183,
|
|
"max": 24.830875,
|
|
"avg": 1.6018082100138737,
|
|
"min": 0.806167,
|
|
"med": 1.3950624999999999,
|
|
"p(90)": 1.9262162999999999
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 2.1869624999999995,
|
|
"p(99)": 4.9657274599999965,
|
|
"max": 24.842584,
|
|
"avg": 1.4998897512483789,
|
|
"min": 1.006125,
|
|
"med": 1.329792,
|
|
"p(90)": 1.8363252
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.060167,
|
|
"med": 1.448333,
|
|
"p(90)": 2.0378244000000003,
|
|
"p(95)": 2.612674799999999,
|
|
"p(99)": 5.585206719999997,
|
|
"max": 24.846625,
|
|
"avg": 1.667958819154365
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.003854909999999987,
|
|
"max": 13.376833,
|
|
"avg": 0.003528492066573935,
|
|
"min": 0.000458,
|
|
"med": 0.001125,
|
|
"p(90)": 0.001834,
|
|
"p(95)": 0.002125
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.01822389933425801,
|
|
"min": 0.003375,
|
|
"med": 0.014167,
|
|
"p(90)": 0.029625,
|
|
"p(95)": 0.03758355,
|
|
"p(99)": 0.07647941999999998,
|
|
"max": 5.856542
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"values": {
|
|
"avg": 1.6766518748889032,
|
|
"min": 0.884333,
|
|
"med": 1.47225,
|
|
"p(90)": 2.0306795,
|
|
"p(95)": 2.51017115,
|
|
"p(99)": 5.6223019899999995,
|
|
"max": 24.926375
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"fails": 36050,
|
|
"rate": 0,
|
|
"passes": 0
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27000,
|
|
"rate": 667.0749535155829
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 13.356583,
|
|
"avg": 0.002116652676837727,
|
|
"min": 0,
|
|
"med": 0
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1,
|
|
"min": 1,
|
|
"max": 4
|
|
}
|
|
}
|
|
}
|
|
} |