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": {
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 19125,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 4875,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200"
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e"
|
|
},
|
|
"options": {
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": ""
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40504.608797
|
|
},
|
|
"metrics": {
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 7014466,
|
|
"rate": 173176.98425764157
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 61645259,
|
|
"rate": 1521931.9685064035
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 120,
|
|
"min": 120,
|
|
"max": 120
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4007874455986875,
|
|
"min": 0.875917,
|
|
"med": 1.2905834999999999,
|
|
"p(90)": 1.7916749,
|
|
"p(95)": 2.0141098499999996,
|
|
"p(99)": 2.9367395,
|
|
"max": 20.01
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 2.264025,
|
|
"p(95)": 3.498247399999996,
|
|
"p(99)": 16.028841419999978,
|
|
"max": 175.2545,
|
|
"avg": 2.0539890402494776,
|
|
"min": 0.752792,
|
|
"med": 1.3871455
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 18000,
|
|
"rate": 0,
|
|
"passes": 0
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 18000,
|
|
"rate": 444.3938735518211
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 2.437875,
|
|
"p(99)": 6.182109779999999,
|
|
"max": 24.782708,
|
|
"avg": 1.6072071569516095,
|
|
"min": 0.888584,
|
|
"med": 1.407625,
|
|
"p(90)": 2.0220917000000003
|
|
}
|
|
},
|
|
"iterations": {
|
|
"values": {
|
|
"rate": 592.5251647357615,
|
|
"count": 24000
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.01006782436590428,
|
|
"min": 0.002,
|
|
"med": 0.00775,
|
|
"p(90)": 0.012792,
|
|
"p(95)": 0.015834,
|
|
"p(99)": 0.037668659999999965,
|
|
"max": 4.623334
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 18000,
|
|
"rate": 444.3938735518211
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 24050
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.452167,
|
|
"p(90)": 2.3401911,
|
|
"p(95)": 3.5376225999999993,
|
|
"p(99)": 16.405340829999993,
|
|
"max": 178.362625,
|
|
"avg": 2.114267869875009,
|
|
"min": 0.78725
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.5652580845000015,
|
|
"min": 0.875917,
|
|
"med": 1.384979,
|
|
"p(90)": 1.9753503000000003,
|
|
"p(95)": 2.33329405,
|
|
"p(99)": 5.397326249999996,
|
|
"max": 24.782708
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 12.999667,
|
|
"avg": 0.0022195860291060305,
|
|
"min": 0
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.08264891999999995,
|
|
"max": 3.699417,
|
|
"avg": 0.021719167650727435,
|
|
"min": 0.003458,
|
|
"med": 0.017334,
|
|
"p(90)": 0.035083100000000006,
|
|
"p(95)": 0.045375
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 13.018417,
|
|
"avg": 0.00394095771309747,
|
|
"min": 0.000542,
|
|
"med": 0.001292,
|
|
"p(90)": 0.00225,
|
|
"p(95)": 0.002667,
|
|
"p(99)": 0.006645909999999991
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 24000,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"values": {
|
|
"p(95)": 3.498247399999996,
|
|
"p(99)": 16.028841419999978,
|
|
"max": 175.2545,
|
|
"avg": 2.0539890402494776,
|
|
"min": 0.752792,
|
|
"med": 1.3871455,
|
|
"p(90)": 2.264025
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 2.2244914000000002,
|
|
"p(95)": 3.445248099999998,
|
|
"p(99)": 15.891055089999984,
|
|
"max": 171.618167,
|
|
"avg": 2.0222020482328458,
|
|
"min": 0.721292,
|
|
"med": 1.3590625
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"max": 9,
|
|
"value": 1,
|
|
"min": 0
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24050,
|
|
"rate": 593.7595921622943
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
}
|
|
}
|
|
} |