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
{
|
|
"metrics": {
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.017664762418367067,
|
|
"min": 0.003,
|
|
"med": 0.01325,
|
|
"p(90)": 0.031125,
|
|
"p(95)": 0.0472914,
|
|
"p(99)": 0.08253983999999996,
|
|
"max": 1.691166
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 54003,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 1.980208,
|
|
"p(99)": 3.176417,
|
|
"max": 18.431292,
|
|
"avg": 1.3938188782652212,
|
|
"min": 0.846584,
|
|
"med": 1.266666,
|
|
"p(90)": 1.738333
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.874083,
|
|
"p(95)": 2.210958,
|
|
"p(99)": 4.213208,
|
|
"max": 35.198583,
|
|
"avg": 1.5401380701824596,
|
|
"min": 0.870875,
|
|
"med": 1.375709
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.846584,
|
|
"med": 1.359084,
|
|
"p(90)": 1.8463953000000002,
|
|
"p(95)": 2.159333,
|
|
"p(99)": 4.034152679999999,
|
|
"max": 35.198583,
|
|
"avg": 1.5112333283294714
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 40502
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 35.176625,
|
|
"avg": 1.4619958973044962,
|
|
"min": 0.680833,
|
|
"med": 1.319792,
|
|
"p(90)": 1.7834668000000002,
|
|
"p(95)": 2.0907249999999995,
|
|
"p(99)": 3.9854068399999973
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 4.0081983199999955,
|
|
"max": 35.198583,
|
|
"avg": 1.4870677130594188,
|
|
"min": 0.697959,
|
|
"med": 1.343875,
|
|
"p(90)": 1.813225,
|
|
"p(95)": 2.124417
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 54053
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 40502,
|
|
"rate": 1000.2256065137012
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.0037416726731169542,
|
|
"min": 0.000417,
|
|
"med": 0.001042,
|
|
"p(90)": 0.001709,
|
|
"p(95)": 0.002,
|
|
"p(99)": 0.003625,
|
|
"max": 17.086292
|
|
}
|
|
},
|
|
"vus": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2,
|
|
"min": 1,
|
|
"max": 4
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 54053,
|
|
"rate": 1334.8771593720087
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 17.074167,
|
|
"avg": 0.002444732466283093
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 40502,
|
|
"rate": 1000.2256065137012
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 35.198583,
|
|
"avg": 1.4870677130594188,
|
|
"min": 0.697959,
|
|
"med": 1.343875,
|
|
"p(90)": 1.813225,
|
|
"p(95)": 2.124417,
|
|
"p(99)": 4.0081983199999955
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 15831944,
|
|
"rate": 390981.0821611514
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 270,
|
|
"min": 270,
|
|
"max": 270
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.007407053336539946,
|
|
"min": 0.001583,
|
|
"med": 0.0065,
|
|
"p(90)": 0.010792,
|
|
"p(95)": 0.015433399999999901,
|
|
"p(99)": 0.03920848,
|
|
"max": 0.714709
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.395209,
|
|
"p(90)": 1.874542,
|
|
"p(95)": 2.1888624999999995,
|
|
"p(99)": 3.9960933399999994,
|
|
"max": 35.354291,
|
|
"avg": 1.5356431756754394,
|
|
"min": 0.728708
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1333.6423739212732,
|
|
"count": 54003
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"count": 0
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 136394750,
|
|
"rate": 3368365.0571338367
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"passes": 10703,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
},
|
|
{
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 43300,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201"
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTimeUnit": "",
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
]
|
|
},
|
|
"state": {
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40492.864546,
|
|
"isStdOutTTY": false
|
|
}
|
|
} |