forked from mtusi2026/mtusi2026lab3
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": {
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 24337
|
|
},
|
|
{
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 97003,
|
|
"fails": 0,
|
|
"name": "message 201"
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e"
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40568.06588
|
|
},
|
|
"metrics": {
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 2241.640019738599,
|
|
"count": 90939
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 133.35669287,
|
|
"max": 285.292125,
|
|
"avg": 19.518601782000573,
|
|
"min": 1.033625,
|
|
"med": 2.900104,
|
|
"p(90)": 68.40434590000001,
|
|
"p(95)": 96.82258749999998
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 4,
|
|
"max": 307,
|
|
"value": 6
|
|
}
|
|
},
|
|
"data_received": {
|
|
"values": {
|
|
"count": 311052178,
|
|
"rate": 7667414.535366062
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.01572803049674697,
|
|
"min": 0.0015,
|
|
"med": 0.00475,
|
|
"p(90)": 0.014333,
|
|
"p(95)": 0.040625,
|
|
"p(99)": 0.14125461999999994,
|
|
"max": 12.89325
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 121390,
|
|
"rate": 2992.2550500452894
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 133.33546839,
|
|
"max": 285.263917,
|
|
"avg": 19.479703211466873,
|
|
"min": 1.015417,
|
|
"med": 2.8631665,
|
|
"p(90)": 68.3482831,
|
|
"p(95)": 96.72048124999999
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"values": {
|
|
"p(99)": 139.31661146,
|
|
"max": 285.292125,
|
|
"avg": 23.651851908829112,
|
|
"min": 1.033625,
|
|
"med": 3.443208,
|
|
"p(90)": 82.39865800000001,
|
|
"p(95)": 104.50242439999995
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_failed": {
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 121390
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 121340,
|
|
"fails": 0
|
|
}
|
|
},
|
|
"iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 121340,
|
|
"rate": 2991.022553525788
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 261,
|
|
"rate": 6.433631831796858
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 261,
|
|
"rate": 6.433631831796858
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 100.73051069999998,
|
|
"p(99)": 133.86176249999997,
|
|
"max": 285.292125,
|
|
"avg": 23.05891653466306,
|
|
"min": 1.136125,
|
|
"med": 3.6860415,
|
|
"p(90)": 79.9825378
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 2241.640019738599,
|
|
"count": 90939
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.000458,
|
|
"med": 0.001458,
|
|
"p(90)": 0.002125,
|
|
"p(95)": 0.002459,
|
|
"p(99)": 0.005333,
|
|
"max": 18.419,
|
|
"avg": 0.0038567679215751735
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.003084,
|
|
"med": 0.012709,
|
|
"p(90)": 0.0557081,
|
|
"p(95)": 0.081417,
|
|
"p(99)": 0.13905574999999987,
|
|
"max": 8.912291,
|
|
"avg": 0.02317054003624661
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 26.005899646171613,
|
|
"min": 1.033625,
|
|
"med": 2.735167,
|
|
"p(90)": 93.9356332,
|
|
"p(95)": 118.002808,
|
|
"p(99)": 153.48207563999998,
|
|
"max": 240.771
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 90939
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 68.40434590000001,
|
|
"p(95)": 96.82258749999998,
|
|
"p(99)": 133.35669287,
|
|
"max": 285.292125,
|
|
"avg": 19.518601782000573,
|
|
"min": 1.033625,
|
|
"med": 2.900104
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"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
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 35568102,
|
|
"rate": 876751.2384053543
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 133.46093411999996,
|
|
"max": 285.378167,
|
|
"avg": 19.587664852801872,
|
|
"min": 1.087458,
|
|
"med": 2.963958,
|
|
"p(90)": 68.51569130000004,
|
|
"p(95)": 96.91567354999998
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 701,
|
|
"min": 608,
|
|
"max": 701
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 18.40425,
|
|
"avg": 0.0020076064832358523,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
},
|
|
"type": "trend"
|
|
}
|
|
}
|
|
} |