forked from mtusi2026/mtusi2026lab2
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
{
|
|
"state": {
|
|
"testRunDurationMs": 40512.466949,
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false
|
|
},
|
|
"metrics": {
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 444.3323587936758,
|
|
"count": 18001
|
|
}
|
|
},
|
|
"iterations": {
|
|
"values": {
|
|
"count": 24002,
|
|
"rate": 592.4596008980504
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.03670766999999998,
|
|
"max": 1.409416,
|
|
"avg": 0.008617958714451961,
|
|
"min": 0.001959,
|
|
"med": 0.007458,
|
|
"p(90)": 0.012125,
|
|
"p(95)": 0.015084
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.753816639196738,
|
|
"min": 0.947792,
|
|
"med": 1.441125,
|
|
"p(90)": 2.1682459,
|
|
"p(95)": 2.7544895499999997,
|
|
"p(99)": 6.344387919999993,
|
|
"max": 42.942958
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 61598719,
|
|
"rate": 1520487.9791088726
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 42.764584,
|
|
"avg": 1.7074519006735396,
|
|
"min": 0.880458,
|
|
"med": 1.383667,
|
|
"p(90)": 2.0915295,
|
|
"p(95)": 2.7029087,
|
|
"p(99)": 7.08418658
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.002042,
|
|
"p(95)": 0.002375,
|
|
"p(99)": 0.00470849,
|
|
"max": 8.065667,
|
|
"avg": 0.002607370779976432,
|
|
"min": 0.0005,
|
|
"med": 0.001209
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"values": {
|
|
"value": 120,
|
|
"min": 120,
|
|
"max": 120
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 24052,
|
|
"rate": 593.6937888842559
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"count": 0
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 18001
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 18001,
|
|
"rate": 444.3323587936758
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.924417,
|
|
"med": 1.2330625,
|
|
"p(90)": 1.6882920000000001,
|
|
"p(95)": 1.8822085,
|
|
"p(99)": 2.8375913499999976,
|
|
"max": 15.623583,
|
|
"avg": 1.3423727624113504
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"values": {
|
|
"min": 0.962708,
|
|
"med": 1.33275,
|
|
"p(90)": 1.8200665999999999,
|
|
"p(95)": 2.0806166999999998,
|
|
"p(99)": 3.9452289399999967,
|
|
"max": 32.35025,
|
|
"avg": 1.4897623355423866
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.7074519006735396,
|
|
"min": 0.880458,
|
|
"med": 1.383667,
|
|
"p(90)": 2.0915295,
|
|
"p(95)": 2.7029087,
|
|
"p(99)": 7.08418658,
|
|
"max": 42.764584
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 8.050917,
|
|
"avg": 0.0010927555296856813,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 7014194,
|
|
"rate": 173136.67935428297
|
|
}
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 24002,
|
|
"fails": 0,
|
|
"rate": 1
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.7945,
|
|
"p(95)": 2.045292,
|
|
"p(99)": 3.73225,
|
|
"max": 32.35025,
|
|
"avg": 1.4597456600744465,
|
|
"min": 0.924417,
|
|
"med": 1.317459
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 24052
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"values": {
|
|
"p(99)": 7.056974079999995,
|
|
"max": 42.734,
|
|
"avg": 1.6795631524613348,
|
|
"min": 0.853041,
|
|
"med": 1.3603334999999999,
|
|
"p(90)": 2.04975,
|
|
"p(95)": 2.6568939
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.01927078949775497,
|
|
"min": 0.003792,
|
|
"med": 0.014833,
|
|
"p(90)": 0.031792,
|
|
"p(95)": 0.041976899999999956,
|
|
"p(99)": 0.08179033999999996,
|
|
"max": 1.07775
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 0,
|
|
"max": 3,
|
|
"value": 1
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"passes": 4883,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
},
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 19119,
|
|
"fails": 0
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"summaryTimeUnit": "",
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
]
|
|
}
|
|
} |