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.8 KiB
JSON
309 lines
5.8 KiB
JSON
{
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40661.280449
|
|
},
|
|
"metrics": {
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 58063,
|
|
"rate": 1427.9678199712957
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.020286132557275065,
|
|
"min": 0.003166,
|
|
"med": 0.011125,
|
|
"p(90)": 0.047875,
|
|
"p(95)": 0.074375,
|
|
"p(99)": 0.12688412999999982,
|
|
"max": 6.138459
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 548797325,
|
|
"rate": 13496803.812864106
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 213.8282958,
|
|
"p(95)": 227.16947254999997,
|
|
"p(99)": 260.85009375,
|
|
"max": 409.809542,
|
|
"avg": 184.06630001022884,
|
|
"min": 1.320208,
|
|
"med": 180.46666699999997
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.004061172243133968,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 25.163375
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 161517
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 161517,
|
|
"rate": 3972.2556254121173
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 184.03034135924827,
|
|
"min": 1.305583,
|
|
"med": 180.432104,
|
|
"p(90)": 213.7933419,
|
|
"p(95)": 227.12881889999994,
|
|
"p(99)": 260.81574375,
|
|
"max": 409.789292
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 215140,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1066.985582375259,
|
|
"count": 43385
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 213.8282958,
|
|
"p(95)": 227.16947254999997,
|
|
"p(99)": 260.85009375,
|
|
"max": 409.809542,
|
|
"avg": 184.06630001022884,
|
|
"min": 1.320208,
|
|
"med": 180.46666699999997
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 136.430208,
|
|
"med": 179.214292,
|
|
"p(90)": 209.1851331,
|
|
"p(95)": 218.37597309999998,
|
|
"p(99)": 248.12681212999993,
|
|
"max": 351.364667,
|
|
"avg": 183.25409223707598
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 191.66332050275287,
|
|
"min": 137.314625,
|
|
"med": 184.8685,
|
|
"p(90)": 231.4914498,
|
|
"p(95)": 247.37695029999998,
|
|
"p(99)": 281.165167,
|
|
"max": 393.182167
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 5.672208,
|
|
"avg": 0.015672518425578735,
|
|
"min": 0.001375,
|
|
"med": 0.003834,
|
|
"p(90)": 0.026334,
|
|
"p(95)": 0.060958,
|
|
"p(99)": 0.183375
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 215190
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 161517,
|
|
"rate": 3972.2556254121173
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"values": {
|
|
"med": 180.529125,
|
|
"p(90)": 213.89669940000002,
|
|
"p(95)": 227.22842294999998,
|
|
"p(99)": 260.93490825,
|
|
"max": 409.844167,
|
|
"avg": 184.1716037930539,
|
|
"min": 2.960041
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 184.926753792772,
|
|
"min": 136.430208,
|
|
"med": 180.139417,
|
|
"p(90)": 212.936241,
|
|
"p(95)": 225.2598422,
|
|
"p(99)": 257.034973,
|
|
"max": 393.182167
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 5292.258325949798,
|
|
"count": 215190
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.001625,
|
|
"p(95)": 0.001917,
|
|
"p(99)": 0.020055639999999764,
|
|
"max": 25.441917,
|
|
"avg": 0.009436869069192827,
|
|
"min": 0.000333,
|
|
"med": 0.001
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"max": 1000,
|
|
"value": 992,
|
|
"min": 685
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"values": {
|
|
"value": 2000,
|
|
"min": 1372,
|
|
"max": 2000
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 215140,
|
|
"rate": 5291.028654885634
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 63219413,
|
|
"rate": 1554781.6571908959
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 42838,
|
|
"fails": 0,
|
|
"name": "history 200"
|
|
},
|
|
{
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 172302,
|
|
"fails": 0,
|
|
"name": "message 201"
|
|
}
|
|
]
|
|
}
|
|
} |