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.8 KiB
JSON
309 lines
5.8 KiB
JSON
{
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40548.298505
|
|
},
|
|
"metrics": {
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.021417242641143305,
|
|
"min": 0.003042,
|
|
"med": 0.010709,
|
|
"p(90)": 0.05975,
|
|
"p(95)": 0.082167,
|
|
"p(99)": 0.135291,
|
|
"max": 10.117458
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 181482
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 33.578672076526445,
|
|
"min": 1.075083,
|
|
"med": 6.114916,
|
|
"p(90)": 104.19469180000002,
|
|
"p(95)": 128.41099979999998,
|
|
"p(99)": 166.22734504,
|
|
"max": 246.996333
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136189,
|
|
"rate": 3358.6859380352685
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 136189
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 174.75809299999997,
|
|
"max": 238.116251,
|
|
"avg": 36.552384597824094,
|
|
"min": 1.075083,
|
|
"med": 4.54025,
|
|
"p(90)": 113.2663832,
|
|
"p(95)": 135.49915439999995
|
|
}
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
}
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 34.88642940795464,
|
|
"min": 1.138584,
|
|
"med": 7.596521,
|
|
"p(90)": 104.64095380000002,
|
|
"p(95)": 126.73135799999999,
|
|
"p(99)": 165.05602771,
|
|
"max": 247.048083
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 1358,
|
|
"min": 912,
|
|
"max": 1358
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"fails": 0,
|
|
"rate": 1,
|
|
"passes": 181432
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 136189,
|
|
"rate": 3358.6859380352685
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 970,
|
|
"rate": 23.922088861025564
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"values": {
|
|
"max": 246.996333,
|
|
"avg": 34.81192176743194,
|
|
"min": 1.075083,
|
|
"med": 7.5408335,
|
|
"p(90)": 104.54374220000001,
|
|
"p(95)": 126.66034229999994,
|
|
"p(99)": 164.95812252
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 181432,
|
|
"rate": 4474.466418797516
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 463993897,
|
|
"rate": 11442993.025780972
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 164.95812252,
|
|
"max": 246.996333,
|
|
"avg": 34.81192176743194,
|
|
"min": 1.075083,
|
|
"med": 7.5408335,
|
|
"p(90)": 104.54374220000001,
|
|
"p(95)": 126.66034229999994
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"rate": 1313686.2695590437,
|
|
"count": 53267743
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.000416,
|
|
"med": 0.001292,
|
|
"p(90)": 0.001917,
|
|
"p(95)": 0.002209,
|
|
"p(99)": 0.01104119,
|
|
"max": 27.144834,
|
|
"avg": 0.013539493723886133
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"values": {
|
|
"avg": 0.014862923964912272,
|
|
"min": 0.001542,
|
|
"med": 0.004208,
|
|
"p(90)": 0.016667,
|
|
"p(95)": 0.050084,
|
|
"p(99)": 0.16354119,
|
|
"max": 6.024334
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 34.77564160082553,
|
|
"min": 1.060167,
|
|
"med": 7.4944375,
|
|
"p(90)": 104.49513780000001,
|
|
"p(95)": 126.61015659999995,
|
|
"p(99)": 164.90628372999998,
|
|
"max": 246.977792
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 61,
|
|
"min": 8,
|
|
"max": 658
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 4475.699516161486,
|
|
"count": 181482
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 23.346833,
|
|
"avg": 0.009668650968140104,
|
|
"min": 0
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 612,
|
|
"rate": 15.093111734997573
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 6.4568125,
|
|
"p(90)": 101.7698586,
|
|
"p(95)": 125.17382919999994,
|
|
"p(99)": 163.93985445999994,
|
|
"max": 246.996333,
|
|
"avg": 32.83629446768271,
|
|
"min": 1.256084
|
|
},
|
|
"type": "trend"
|
|
}
|
|
},
|
|
"root_group": {
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"passes": 36270,
|
|
"fails": 0,
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0"
|
|
},
|
|
{
|
|
"passes": 145162,
|
|
"fails": 0,
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882"
|
|
}
|
|
]
|
|
}
|
|
} |