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
{
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40494.971255
|
|
},
|
|
"metrics": {
|
|
"vus": {
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 3,
|
|
"min": 1,
|
|
"max": 7
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80852,
|
|
"rate": 1996.5935891365036
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 60600,
|
|
"rate": 1496.4821093067842
|
|
}
|
|
},
|
|
"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": 1.7156182885448563,
|
|
"min": 0.824042,
|
|
"med": 1.466667,
|
|
"p(90)": 2.047833,
|
|
"p(95)": 2.4472047999999997,
|
|
"p(99)": 5.160060499999998,
|
|
"max": 89.251458
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 2.1285243999999994,
|
|
"p(99)": 3.376934679999999,
|
|
"max": 17.982375,
|
|
"avg": 1.4468785441212615,
|
|
"min": 0.890834,
|
|
"med": 1.318416,
|
|
"p(90)": 1.846775
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.6659973119156122,
|
|
"min": 0.78925,
|
|
"med": 1.416291,
|
|
"p(90)": 1.9869128,
|
|
"p(95)": 2.38778735,
|
|
"p(99)": 5.151974759999996,
|
|
"max": 89.197708
|
|
}
|
|
},
|
|
"http_req_receiving": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.002792,
|
|
"med": 0.011917,
|
|
"p(90)": 0.0305,
|
|
"p(95)": 0.055167,
|
|
"p(99)": 0.08837466999999993,
|
|
"max": 1.904667,
|
|
"avg": 0.01672576740216692
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 80802,
|
|
"rate": 1995.3588679242043
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 80852
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.001917,
|
|
"p(99)": 0.003459,
|
|
"max": 15.280125,
|
|
"avg": 0.0035015845742839575,
|
|
"min": 0.000458,
|
|
"med": 0.001083,
|
|
"p(90)": 0.001666
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.641464294785539,
|
|
"min": 0.770333,
|
|
"med": 1.3935625,
|
|
"p(90)": 1.9557794000000002,
|
|
"p(95)": 2.356959,
|
|
"p(99)": 5.1077853399999995,
|
|
"max": 89.182875
|
|
}
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 207590017,
|
|
"rate": 5126315.949029557
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 404,
|
|
"min": 404,
|
|
"max": 404
|
|
}
|
|
},
|
|
"http_req_connecting": {
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 15.261292,
|
|
"avg": 0.0018953913323108895,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_sending": {
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 0.005,
|
|
"p(90)": 0.010875,
|
|
"p(95)": 0.017166,
|
|
"p(99)": 0.048375,
|
|
"max": 2.589083,
|
|
"avg": 0.00780724972789776,
|
|
"min": 0.001625
|
|
},
|
|
"type": "trend"
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.6659973119156122,
|
|
"min": 0.78925,
|
|
"med": 1.416291,
|
|
"p(90)": 1.9869128,
|
|
"p(95)": 2.38778735,
|
|
"p(99)": 5.151974759999996,
|
|
"max": 89.197708
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"values": {
|
|
"p(95)": 2.3712583499999993,
|
|
"p(99)": 4.329734919999989,
|
|
"max": 31.330917,
|
|
"avg": 1.5981085417326717,
|
|
"min": 0.890834,
|
|
"med": 1.444875,
|
|
"p(90)": 1.9944253000000003
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 60600
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 60600,
|
|
"rate": 1496.4821093067842
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"med": 1.472166,
|
|
"p(90)": 2.0314666000000003,
|
|
"p(95)": 2.4359247999999996,
|
|
"p(99)": 4.706364479999997,
|
|
"max": 31.330917,
|
|
"avg": 1.6362480627750742,
|
|
"min": 0.937875
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 23668427,
|
|
"rate": 584478.1775731625
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"checks": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1,
|
|
"passes": 80802,
|
|
"fails": 0
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 64524,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 16278,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e",
|
|
"groups": []
|
|
},
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
}
|
|
} |