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.7 KiB
JSON
309 lines
5.7 KiB
JSON
{
|
|
"root_group": {
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 28778,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"passes": 7222,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
}
|
|
],
|
|
"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": 40545.400532
|
|
},
|
|
"metrics": {
|
|
"vus_max": {
|
|
"values": {
|
|
"value": 180,
|
|
"min": 180,
|
|
"max": 180
|
|
},
|
|
"type": "gauge",
|
|
"contains": "default"
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.001667,
|
|
"med": 0.006959,
|
|
"p(90)": 0.01225,
|
|
"p(95)": 0.016792,
|
|
"p(99)": 0.04781292999999999,
|
|
"max": 1.115583,
|
|
"avg": 0.00839880740637989
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"rate": 2265691.121425669,
|
|
"count": 91863354
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 36000,
|
|
"rate": 887.8935595071358
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0.002042,
|
|
"p(95)": 0.002333,
|
|
"p(99)": 0.003875,
|
|
"max": 20.099416,
|
|
"avg": 0.004383732288488032,
|
|
"min": 0.0005,
|
|
"med": 0.00125
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.863125,
|
|
"med": 1.4996455,
|
|
"p(90)": 2.4831794000000014,
|
|
"p(95)": 3.838872399999994,
|
|
"p(99)": 12.822177839999997,
|
|
"max": 94.886583,
|
|
"avg": 2.0667818152288557
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 94.886583,
|
|
"avg": 2.0667818152288557,
|
|
"min": 0.863125,
|
|
"med": 1.4996455,
|
|
"p(90)": 2.4831794000000014,
|
|
"p(95)": 3.838872399999994,
|
|
"p(99)": 12.822177839999997
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 94.873,
|
|
"avg": 2.0387098913731045,
|
|
"min": 0.843334,
|
|
"med": 1.4731874999999999,
|
|
"p(90)": 2.4452044,
|
|
"p(95)": 3.797624999999996,
|
|
"p(99)": 12.76655892
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27000,
|
|
"rate": 665.9201696303519
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 27000,
|
|
"rate": 665.9201696303519
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 94.886583,
|
|
"avg": 2.235069333533777,
|
|
"min": 0.974959,
|
|
"med": 1.543791,
|
|
"p(90)": 2.628375,
|
|
"p(95)": 4.208375599999997,
|
|
"p(99)": 16.237222999999997
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 27000,
|
|
"rate": 0,
|
|
"passes": 0
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 2.1469284871481467,
|
|
"min": 0.937541,
|
|
"med": 1.5231455,
|
|
"p(90)": 2.524625,
|
|
"p(95)": 3.8903190499999996,
|
|
"p(99)": 14.809826419999991,
|
|
"max": 94.886583
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.015208,
|
|
"p(90)": 0.032375,
|
|
"p(95)": 0.042708,
|
|
"p(99)": 0.09210523999999996,
|
|
"max": 0.790792,
|
|
"avg": 0.019673116449375944,
|
|
"min": 0.003166
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"values": {
|
|
"count": 36050,
|
|
"rate": 889.1267450064513
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
},
|
|
"iteration_duration": {
|
|
"values": {
|
|
"p(95)": 3.8659565499999986,
|
|
"p(99)": 12.64265282999997,
|
|
"max": 94.934542,
|
|
"avg": 2.1187137235277804,
|
|
"min": 0.913166,
|
|
"med": 1.5570415,
|
|
"p(90)": 2.5515827
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 2.1967586,
|
|
"p(95)": 2.8879542,
|
|
"p(99)": 6.6591274999999985,
|
|
"max": 68.444208,
|
|
"avg": 1.7929733178525025,
|
|
"min": 0.937541,
|
|
"med": 1.43075
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"values": {
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 36050
|
|
},
|
|
"type": "rate"
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 10537011,
|
|
"rate": 259881.78342655124
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 20.002875,
|
|
"avg": 0.002711139833564495
|
|
}
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 36000,
|
|
"fails": 0
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1,
|
|
"min": 0,
|
|
"max": 5
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
}
|
|
}
|
|
} |