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
{
|
|
"root_group": {
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"passes": 40217,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
},
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 161721,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": ""
|
|
},
|
|
"options": {
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": ""
|
|
},
|
|
"state": {
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40759.489838,
|
|
"isStdOutTTY": false
|
|
},
|
|
"metrics": {
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 59318638,
|
|
"rate": 1455333.18095403
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 247.2658752,
|
|
"p(95)": 266.1346756,
|
|
"p(99)": 302.27563684,
|
|
"max": 419.281666,
|
|
"avg": 208.4796791870252,
|
|
"min": 142.462417,
|
|
"med": 202.656042
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"values": {
|
|
"rate": 3653.7258094226295,
|
|
"count": 148924
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 283.26862604,
|
|
"max": 419.221958,
|
|
"avg": 196.75271956304292,
|
|
"min": 1.526,
|
|
"med": 192.054125,
|
|
"p(90)": 232.1254664,
|
|
"p(95)": 248.0412738
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 148924,
|
|
"rate": 3653.7258094226295
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 201.04833732725808,
|
|
"min": 139.084834,
|
|
"med": 194.4931875,
|
|
"p(90)": 236.9128125,
|
|
"p(95)": 253.24064369999996,
|
|
"p(99)": 288.93224716000003,
|
|
"max": 419.281666
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"values": {
|
|
"p(90)": 0.001708,
|
|
"p(95)": 0.002041,
|
|
"p(99)": 0.030037959999999475,
|
|
"max": 22.249792,
|
|
"avg": 0.01965377728874573,
|
|
"min": 0.000333,
|
|
"med": 0.001083
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"iteration_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 196.91089489335778,
|
|
"min": 2.994708,
|
|
"med": 192.1463125,
|
|
"p(90)": 232.2370043,
|
|
"p(95)": 248.23004459999999,
|
|
"p(99)": 283.38877566,
|
|
"max": 419.316375
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 2000,
|
|
"min": 1432,
|
|
"max": 2000
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0
|
|
}
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 201938,
|
|
"fails": 0
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.556416,
|
|
"med": 192.0855215,
|
|
"p(90)": 232.1621786,
|
|
"p(95)": 248.07960165,
|
|
"p(99)": 283.327075,
|
|
"max": 419.281666,
|
|
"avg": 196.7901001910133
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 22.198,
|
|
"avg": 0.013271486429886964,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"values": {
|
|
"p(90)": 0.029625,
|
|
"p(95)": 0.064792,
|
|
"p(99)": 0.19680191999999985,
|
|
"max": 7.112917,
|
|
"avg": 0.017033536566530026,
|
|
"min": 0.001333,
|
|
"med": 0.004083
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 55978,
|
|
"rate": 1373.373421072896
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"max": 1000,
|
|
"value": 1000,
|
|
"min": 746
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 1.556416,
|
|
"med": 192.0855215,
|
|
"p(90)": 232.1621786,
|
|
"p(95)": 248.07960165,
|
|
"p(99)": 283.327075,
|
|
"max": 419.281666,
|
|
"avg": 196.7901001910133
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"passes": 0,
|
|
"fails": 201988,
|
|
"rate": 0
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.011667,
|
|
"p(90)": 0.042584,
|
|
"p(95)": 0.073208,
|
|
"p(99)": 0.12820812999999998,
|
|
"max": 5.751583,
|
|
"avg": 0.020347091411371154,
|
|
"min": 0.003166
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 201938,
|
|
"rate": 4954.3799689988655
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 249.60039590000002,
|
|
"p(99)": 284.04721865999994,
|
|
"max": 414.539167,
|
|
"avg": 199.1873664461666,
|
|
"min": 139.084834,
|
|
"med": 192.69925,
|
|
"p(90)": 234.01010860000002
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 201988,
|
|
"rate": 4955.6066771887545
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 514976423,
|
|
"rate": 12634515.913883897
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 148924
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 71265,
|
|
"rate": 1748.4271830497685
|
|
}
|
|
}
|
|
}
|
|
} |