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.9 KiB
JSON
309 lines
5.9 KiB
JSON
{
|
|
"root_group": {
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 18383,
|
|
"fails": 2
|
|
},
|
|
{
|
|
"fails": 1,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 4498
|
|
}
|
|
],
|
|
"name": ""
|
|
},
|
|
"options": {
|
|
"noColor": false,
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": ""
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40561.621464
|
|
},
|
|
"metrics": {
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 1117,
|
|
"rate": 27.538346833382402
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 669.042958,
|
|
"avg": 0.1102092415627446,
|
|
"min": 0.000375,
|
|
"med": 0.001209,
|
|
"p(90)": 0.002,
|
|
"p(95)": 0.002375,
|
|
"p(99)": 0.05290621999999976
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 2.0696544,
|
|
"p(95)": 2.9524648999999994,
|
|
"p(99)": 490.94000877999946,
|
|
"max": 1524.478334,
|
|
"avg": 13.170840395133801,
|
|
"min": 0.720708,
|
|
"med": 1.3265625
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 1515.260417,
|
|
"avg": 17.073808203034133,
|
|
"min": 0.835042,
|
|
"med": 1.328625,
|
|
"p(90)": 2.1977834,
|
|
"p(95)": 4.089033399999992,
|
|
"p(99)": 627.9157864999999
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 22884,
|
|
"rate": 564.1786293062872
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 57199555,
|
|
"rate": 1410189.063836287
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"values": {
|
|
"p(95)": 3.68011279999998,
|
|
"p(99)": 644.9678769999987,
|
|
"max": 1524.478334,
|
|
"avg": 17.32775004495639,
|
|
"min": 0.835042,
|
|
"med": 1.313125,
|
|
"p(90)": 2.131417
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0.03608374999999997,
|
|
"max": 669.03175,
|
|
"avg": 0.10596591484259191,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 13.137679492936272,
|
|
"min": 0.682958,
|
|
"med": 1.3014585,
|
|
"p(90)": 2.0325670000000007,
|
|
"p(95)": 2.911408549999997,
|
|
"p(99)": 488.7159721099997,
|
|
"max": 1519.308918
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.003917,
|
|
"med": 0.015958,
|
|
"p(90)": 0.03082070000000002,
|
|
"p(95)": 0.040556349999999956,
|
|
"p(99)": 0.08684760999999998,
|
|
"max": 10.697292,
|
|
"avg": 0.021729990407255588
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"passes": 3,
|
|
"fails": 16880,
|
|
"rate": 0.00017769353787833915
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 243,
|
|
"min": 120,
|
|
"max": 243
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 6704878,
|
|
"rate": 165301.03477127603
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 22934,
|
|
"rate": 565.4113216443975
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 0,
|
|
"max": 171,
|
|
"value": 1
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 1524.581001,
|
|
"avg": 13.359908396303116,
|
|
"min": 0.809417,
|
|
"med": 1.3872710000000001,
|
|
"p(90)": 2.1418920999999997,
|
|
"p(95)": 2.9675356499999985,
|
|
"p(99)": 494.5907966399989
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 16883,
|
|
"rate": 416.2308948862982
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 1117,
|
|
"rate": 27.538346833382402
|
|
}
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"rate": 0.9998689040377556,
|
|
"passes": 22881,
|
|
"fails": 3
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 1524.478334,
|
|
"avg": 18.371417197336594,
|
|
"min": 0.847667,
|
|
"med": 1.236437,
|
|
"p(90)": 1.9156874,
|
|
"p(95)": 2.631356249999999,
|
|
"p(99)": 711.5377745
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0.00013081015086770733,
|
|
"passes": 3,
|
|
"fails": 22931
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0,
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 2.946103999999997,
|
|
"p(99)": 476.33215019999983,
|
|
"max": 1524.478334,
|
|
"avg": 13.016499879813285,
|
|
"min": 0.720708,
|
|
"med": 1.326542,
|
|
"p(90)": 2.069333
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.001583,
|
|
"med": 0.007542,
|
|
"p(90)": 0.011667,
|
|
"p(95)": 0.0145,
|
|
"p(99)": 0.040263609999999984,
|
|
"max": 31.879584,
|
|
"avg": 0.011430911790354856
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"values": {
|
|
"count": 16883,
|
|
"rate": 416.2308948862982
|
|
},
|
|
"type": "counter",
|
|
"contains": "default"
|
|
}
|
|
}
|
|
} |