forked from mtusi2026/mtusi2026lab3
Record the fixed budget series of track 1
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
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
67f6d6866e
commit
be19abf364
@@ -0,0 +1,309 @@
|
||||
{
|
||||
"root_group": {
|
||||
"name": "",
|
||||
"path": "",
|
||||
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
||||
"groups": [],
|
||||
"checks": [
|
||||
{
|
||||
"name": "message 201",
|
||||
"path": "::message 201",
|
||||
"id": "6445aff337e1ade0bc10402fbac79882",
|
||||
"passes": 64666,
|
||||
"fails": 0
|
||||
},
|
||||
{
|
||||
"name": "history 200",
|
||||
"path": "::history 200",
|
||||
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
||||
"passes": 16135,
|
||||
"fails": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"summaryTrendStats": [
|
||||
"avg",
|
||||
"min",
|
||||
"med",
|
||||
"p(90)",
|
||||
"p(95)",
|
||||
"p(99)",
|
||||
"max"
|
||||
],
|
||||
"summaryTimeUnit": "",
|
||||
"noColor": false
|
||||
},
|
||||
"state": {
|
||||
"isStdOutTTY": false,
|
||||
"isStdErrTTY": false,
|
||||
"testRunDurationMs": 40478.836074
|
||||
},
|
||||
"metrics": {
|
||||
"http_req_duration{scenario:measure,name:post_message}": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"avg": 1.6236077180749362,
|
||||
"min": 0.637111,
|
||||
"med": 1.486083,
|
||||
"p(90)": 2.0397918000000006,
|
||||
"p(95)": 2.3286292,
|
||||
"p(99)": 4.06759514,
|
||||
"max": 34.767541
|
||||
}
|
||||
},
|
||||
"data_received": {
|
||||
"type": "counter",
|
||||
"contains": "data",
|
||||
"values": {
|
||||
"count": 206046865,
|
||||
"rate": 5090236.898692504
|
||||
}
|
||||
},
|
||||
"iteration_duration": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"max": 35.418583,
|
||||
"avg": 1.6370638699644615,
|
||||
"min": 0.831333,
|
||||
"med": 1.504542,
|
||||
"p(90)": 2.057625,
|
||||
"p(95)": 2.334875,
|
||||
"p(99)": 3.894084
|
||||
}
|
||||
},
|
||||
"http_req_failed": {
|
||||
"type": "rate",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"rate": 0,
|
||||
"passes": 0,
|
||||
"fails": 80851
|
||||
}
|
||||
},
|
||||
"vus": {
|
||||
"values": {
|
||||
"min": 2,
|
||||
"max": 6,
|
||||
"value": 3
|
||||
},
|
||||
"type": "gauge",
|
||||
"contains": "default"
|
||||
},
|
||||
"dropped_iterations{scenario:measure}": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 0,
|
||||
"rate": 0
|
||||
}
|
||||
},
|
||||
"http_req_sending": {
|
||||
"values": {
|
||||
"avg": 0.007219949338907151,
|
||||
"min": 0.001417,
|
||||
"med": 0.00475,
|
||||
"p(90)": 0.010209,
|
||||
"p(95)": 0.016042,
|
||||
"p(99)": 0.042436999999999975,
|
||||
"max": 1.569791
|
||||
},
|
||||
"type": "trend",
|
||||
"contains": "time"
|
||||
},
|
||||
"http_reqs": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 80851,
|
||||
"rate": 1997.364742706411
|
||||
}
|
||||
},
|
||||
"dropped_iterations": {
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 0,
|
||||
"rate": 0
|
||||
},
|
||||
"type": "counter"
|
||||
},
|
||||
"http_req_receiving": {
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"p(95)": 0.05275,
|
||||
"p(99)": 0.08210399999999997,
|
||||
"max": 16.039083,
|
||||
"avg": 0.015855649540512762,
|
||||
"min": 0.002875,
|
||||
"med": 0.011208,
|
||||
"p(90)": 0.028666
|
||||
},
|
||||
"type": "trend"
|
||||
},
|
||||
"http_req_duration": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"avg": 1.5897528751901397,
|
||||
"min": 0.637111,
|
||||
"med": 1.45575,
|
||||
"p(90)": 2.003709,
|
||||
"p(95)": 2.2786874999999993,
|
||||
"p(99)": 3.880353999999997,
|
||||
"max": 34.767541
|
||||
}
|
||||
},
|
||||
"iterations{scenario:measure}": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"rate": 1497.103323060336,
|
||||
"count": 60601
|
||||
}
|
||||
},
|
||||
"iterations": {
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 80801,
|
||||
"rate": 1996.129529324569
|
||||
},
|
||||
"type": "counter"
|
||||
},
|
||||
"http_req_duration{scenario:measure}": {
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"min": 0.637111,
|
||||
"med": 1.458208,
|
||||
"p(90)": 2.006125,
|
||||
"p(95)": 2.279208,
|
||||
"p(99)": 3.810958,
|
||||
"max": 34.767541,
|
||||
"avg": 1.5900565672018574
|
||||
},
|
||||
"type": "trend"
|
||||
},
|
||||
"http_reqs{scenario:measure}": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 60601,
|
||||
"rate": 1497.103323060336
|
||||
}
|
||||
},
|
||||
"http_req_waiting": {
|
||||
"values": {
|
||||
"avg": 1.566677276310748,
|
||||
"min": 0.579528,
|
||||
"med": 1.433792,
|
||||
"p(90)": 1.978625,
|
||||
"p(95)": 2.251167,
|
||||
"p(99)": 3.8407289999999996,
|
||||
"max": 34.628375
|
||||
},
|
||||
"type": "trend",
|
||||
"contains": "time"
|
||||
},
|
||||
"http_req_failed{scenario:measure}": {
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"rate": 0,
|
||||
"passes": 0,
|
||||
"fails": 60601
|
||||
},
|
||||
"type": "rate"
|
||||
},
|
||||
"data_sent": {
|
||||
"type": "counter",
|
||||
"contains": "data",
|
||||
"values": {
|
||||
"count": 23685932,
|
||||
"rate": 585143.6033560692
|
||||
}
|
||||
},
|
||||
"http_req_duration{expected_response:true}": {
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"min": 0.637111,
|
||||
"med": 1.45575,
|
||||
"p(90)": 2.003709,
|
||||
"p(95)": 2.2786874999999993,
|
||||
"p(99)": 3.880353999999997,
|
||||
"max": 34.767541,
|
||||
"avg": 1.5897528751901397
|
||||
},
|
||||
"type": "trend"
|
||||
},
|
||||
"http_req_blocked": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"min": 0.000458,
|
||||
"med": 0.001,
|
||||
"p(90)": 0.001542,
|
||||
"p(95)": 0.001791,
|
||||
"p(99)": 0.002917,
|
||||
"max": 16.33725,
|
||||
"avg": 0.003488646621563177
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"values": {
|
||||
"rate": 1,
|
||||
"passes": 80801,
|
||||
"fails": 0
|
||||
},
|
||||
"type": "rate",
|
||||
"contains": "default"
|
||||
},
|
||||
"vus_max": {
|
||||
"type": "gauge",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"value": 404,
|
||||
"min": 404,
|
||||
"max": 404
|
||||
}
|
||||
},
|
||||
"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_duration{scenario:measure,name:get_history}": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"p(99)": 2.8718908099999996,
|
||||
"max": 32.175958,
|
||||
"avg": 1.4547625682610836,
|
||||
"min": 0.665445,
|
||||
"med": 1.3308545,
|
||||
"p(90)": 1.8610253,
|
||||
"p(95)": 2.0853097999999988
|
||||
}
|
||||
},
|
||||
"http_req_connecting": {
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"min": 0,
|
||||
"med": 0,
|
||||
"p(90)": 0,
|
||||
"p(95)": 0,
|
||||
"p(99)": 0,
|
||||
"max": 16.3265,
|
||||
"avg": 0.0020535038527662005
|
||||
},
|
||||
"type": "trend"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user