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
{
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40493.274296
|
|
},
|
|
"metrics": {
|
|
"http_req_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 144.284708,
|
|
"avg": 1.858917646907538,
|
|
"min": 0.791,
|
|
"med": 1.367417,
|
|
"p(90)": 2.005375,
|
|
"p(95)": 2.6069999999999998,
|
|
"p(99)": 7.716104499999959
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.367417,
|
|
"p(90)": 2.005375,
|
|
"p(95)": 2.6069999999999998,
|
|
"p(99)": 7.716104499999959,
|
|
"max": 144.284708,
|
|
"avg": 1.858917646907538,
|
|
"min": 0.791
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4097451885954084,
|
|
"min": 0.85325,
|
|
"med": 1.2663545,
|
|
"p(90)": 1.7474589,
|
|
"p(95)": 1.9983669999999998,
|
|
"p(99)": 3.79695509,
|
|
"max": 25.917292
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 54051,
|
|
"rate": 0,
|
|
"passes": 0
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 54001,
|
|
"rate": 1333.579487923364
|
|
}
|
|
},
|
|
"data_received": {
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 138274849,
|
|
"rate": 3414760.880763328
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 54001
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 12.222125,
|
|
"avg": 0.0018473378105862983,
|
|
"min": 0,
|
|
"med": 0
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 15812593,
|
|
"rate": 390499.24400808447
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 270,
|
|
"min": 270,
|
|
"max": 270
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 40501,
|
|
"rate": 1000.1907898073028
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.365166,
|
|
"p(90)": 1.905292,
|
|
"p(95)": 2.2865,
|
|
"p(99)": 4.727291,
|
|
"max": 39.123,
|
|
"avg": 1.5346780998987755,
|
|
"min": 0.85325
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 40501,
|
|
"rate": 1000.1907898073028
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"values": {
|
|
"med": 1.383,
|
|
"p(90)": 1.9464244,
|
|
"p(95)": 2.3509252999999997,
|
|
"p(99)": 4.947136999999997,
|
|
"max": 39.123,
|
|
"avg": 1.5659200038890178,
|
|
"min": 0.876334
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.007919117629645967,
|
|
"min": 0.001625,
|
|
"med": 0.00625,
|
|
"p(90)": 0.011125,
|
|
"p(95)": 0.015833499999999997,
|
|
"p(99)": 0.043666999999999956,
|
|
"max": 5.738
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 40501
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.8326245634863687,
|
|
"min": 0.763084,
|
|
"med": 1.343125,
|
|
"p(90)": 1.971833,
|
|
"p(95)": 2.567396,
|
|
"p(99)": 7.543145999999991,
|
|
"max": 144.266208
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.003083,
|
|
"med": 0.013667,
|
|
"p(90)": 0.031667,
|
|
"p(95)": 0.048520499999999904,
|
|
"p(99)": 0.086875,
|
|
"max": 7.819875,
|
|
"avg": 0.018373965791566915
|
|
}
|
|
},
|
|
"vus": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2,
|
|
"min": 0,
|
|
"max": 9
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 12.241417,
|
|
"avg": 0.0033862023829344546,
|
|
"min": 0.000458,
|
|
"med": 0.001084,
|
|
"p(90)": 0.00175,
|
|
"p(95)": 0.002042,
|
|
"p(99)": 0.003417
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 144.365917,
|
|
"avg": 1.9086864445658263,
|
|
"min": 0.822416,
|
|
"med": 1.419,
|
|
"p(90)": 2.071708,
|
|
"p(95)": 2.670458,
|
|
"p(99)": 7.289833
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1334.8142608793494,
|
|
"count": 54051
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 43143,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 10858,
|
|
"fails": 0
|
|
}
|
|
]
|
|
}
|
|
} |