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": [
|
||||
{
|
||||
"fails": 0,
|
||||
"name": "history 200",
|
||||
"path": "::history 200",
|
||||
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
||||
"passes": 10706
|
||||
},
|
||||
{
|
||||
"name": "message 201",
|
||||
"path": "::message 201",
|
||||
"id": "6445aff337e1ade0bc10402fbac79882",
|
||||
"passes": 43296,
|
||||
"fails": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"options": {
|
||||
"summaryTrendStats": [
|
||||
"avg",
|
||||
"min",
|
||||
"med",
|
||||
"p(90)",
|
||||
"p(95)",
|
||||
"p(99)",
|
||||
"max"
|
||||
],
|
||||
"summaryTimeUnit": "",
|
||||
"noColor": false
|
||||
},
|
||||
"state": {
|
||||
"isStdOutTTY": false,
|
||||
"isStdErrTTY": false,
|
||||
"testRunDurationMs": 40469.67213
|
||||
},
|
||||
"metrics": {
|
||||
"http_req_duration{scenario:measure,name:get_history}": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"p(95)": 1.8529764499999997,
|
||||
"p(99)": 2.581184079999999,
|
||||
"max": 24.766792,
|
||||
"avg": 1.3224150976250042,
|
||||
"min": 0.920583,
|
||||
"med": 1.2208744999999999,
|
||||
"p(90)": 1.6383957999999998
|
||||
}
|
||||
},
|
||||
"vus_max": {
|
||||
"values": {
|
||||
"value": 270,
|
||||
"min": 270,
|
||||
"max": 270
|
||||
},
|
||||
"type": "gauge",
|
||||
"contains": "default"
|
||||
},
|
||||
"http_req_sending": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"med": 0.0065,
|
||||
"p(90)": 0.01,
|
||||
"p(95)": 0.014459,
|
||||
"p(99)": 0.03362282999999992,
|
||||
"max": 0.711041,
|
||||
"avg": 0.007007232775845245,
|
||||
"min": 0.001584
|
||||
}
|
||||
},
|
||||
"http_req_receiving": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"min": 0.003333,
|
||||
"med": 0.012375,
|
||||
"p(90)": 0.029166,
|
||||
"p(95)": 0.0458938999999999,
|
||||
"p(99)": 0.07660357999999998,
|
||||
"max": 1.075834,
|
||||
"avg": 0.01666869090875457
|
||||
}
|
||||
},
|
||||
"http_req_connecting": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"avg": 0.0020324895101013836,
|
||||
"min": 0,
|
||||
"med": 0,
|
||||
"p(90)": 0,
|
||||
"p(95)": 0,
|
||||
"p(99)": 0,
|
||||
"max": 17.995084
|
||||
}
|
||||
},
|
||||
"http_req_waiting": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"p(99)": 3.02014308,
|
||||
"max": 24.746625,
|
||||
"avg": 1.4058790874343052,
|
||||
"min": 0.658,
|
||||
"med": 1.299291,
|
||||
"p(90)": 1.7320369,
|
||||
"p(95)": 1.9852203499999985
|
||||
}
|
||||
},
|
||||
"http_req_duration": {
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"p(90)": 1.7605253000000003,
|
||||
"p(95)": 2.0173902499999996,
|
||||
"p(99)": 3.0540525799999996,
|
||||
"max": 24.766792,
|
||||
"avg": 1.4295550111189264,
|
||||
"min": 0.688375,
|
||||
"med": 1.322
|
||||
},
|
||||
"type": "trend"
|
||||
},
|
||||
"http_req_tls_handshaking": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"p(95)": 0,
|
||||
"p(99)": 0,
|
||||
"max": 0,
|
||||
"avg": 0,
|
||||
"min": 0,
|
||||
"med": 0,
|
||||
"p(90)": 0
|
||||
}
|
||||
},
|
||||
"dropped_iterations{scenario:measure}": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 0,
|
||||
"rate": 0
|
||||
}
|
||||
},
|
||||
"http_reqs": {
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 54052,
|
||||
"rate": 1335.6174427697297
|
||||
},
|
||||
"type": "counter"
|
||||
},
|
||||
"iterations": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 54002,
|
||||
"rate": 1334.3819496864305
|
||||
}
|
||||
},
|
||||
"data_sent": {
|
||||
"type": "counter",
|
||||
"contains": "data",
|
||||
"values": {
|
||||
"rate": 391185.50180356996,
|
||||
"count": 15831149
|
||||
}
|
||||
},
|
||||
"http_req_duration{scenario:measure}": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"min": 0.903833,
|
||||
"med": 1.320583,
|
||||
"p(90)": 1.7478328000000003,
|
||||
"p(95)": 1.997471099999999,
|
||||
"p(99)": 2.927081479999998,
|
||||
"max": 24.766792,
|
||||
"avg": 1.4202309106397766
|
||||
}
|
||||
},
|
||||
"http_req_blocked": {
|
||||
"values": {
|
||||
"med": 0.001,
|
||||
"p(90)": 0.001583,
|
||||
"p(95)": 0.001875,
|
||||
"p(99)": 0.003291,
|
||||
"max": 18.003084,
|
||||
"avg": 0.003254079904536148,
|
||||
"min": 0.000416
|
||||
},
|
||||
"type": "trend",
|
||||
"contains": "time"
|
||||
},
|
||||
"data_received": {
|
||||
"type": "counter",
|
||||
"contains": "data",
|
||||
"values": {
|
||||
"count": 136612627,
|
||||
"rate": 3375679.114996576
|
||||
}
|
||||
},
|
||||
"http_req_failed": {
|
||||
"type": "rate",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"rate": 0,
|
||||
"passes": 0,
|
||||
"fails": 54052
|
||||
}
|
||||
},
|
||||
"iterations{scenario:measure}": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 40499,
|
||||
"rate": 1000.724687610658
|
||||
}
|
||||
},
|
||||
"http_req_duration{scenario:measure,name:post_message}": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"avg": 1.4443093901043176,
|
||||
"min": 0.903833,
|
||||
"med": 1.340542,
|
||||
"p(90)": 1.7691668000000003,
|
||||
"p(95)": 2.0300411,
|
||||
"p(99)": 2.989921159999998,
|
||||
"max": 17.497542
|
||||
}
|
||||
},
|
||||
"vus": {
|
||||
"type": "gauge",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"value": 2,
|
||||
"min": 0,
|
||||
"max": 3
|
||||
}
|
||||
},
|
||||
"checks": {
|
||||
"type": "rate",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"rate": 1,
|
||||
"passes": 54002,
|
||||
"fails": 0
|
||||
}
|
||||
},
|
||||
"http_req_failed{scenario:measure}": {
|
||||
"type": "rate",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"rate": 0,
|
||||
"passes": 0,
|
||||
"fails": 40499
|
||||
}
|
||||
},
|
||||
"dropped_iterations": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"rate": 0,
|
||||
"count": 0
|
||||
}
|
||||
},
|
||||
"http_reqs{scenario:measure}": {
|
||||
"type": "counter",
|
||||
"contains": "default",
|
||||
"values": {
|
||||
"count": 40499,
|
||||
"rate": 1000.724687610658
|
||||
}
|
||||
},
|
||||
"http_req_duration{expected_response:true}": {
|
||||
"values": {
|
||||
"p(99)": 3.0540525799999996,
|
||||
"max": 24.766792,
|
||||
"avg": 1.4295550111189264,
|
||||
"min": 0.688375,
|
||||
"med": 1.322,
|
||||
"p(90)": 1.7605253000000003,
|
||||
"p(95)": 2.0173902499999996
|
||||
},
|
||||
"type": "trend",
|
||||
"contains": "time"
|
||||
},
|
||||
"iteration_duration": {
|
||||
"type": "trend",
|
||||
"contains": "time",
|
||||
"values": {
|
||||
"avg": 1.4754266627902657,
|
||||
"min": 0.755792,
|
||||
"med": 1.370625,
|
||||
"p(90)": 1.8176167,
|
||||
"p(95)": 2.07703685,
|
||||
"p(99)": 3.0696639199999995,
|
||||
"max": 24.806958
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user