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
{
|
|
"options": {
|
|
"summaryTrendStats": [
|
|
"avg",
|
|
"min",
|
|
"med",
|
|
"p(90)",
|
|
"p(95)",
|
|
"p(99)",
|
|
"max"
|
|
],
|
|
"summaryTimeUnit": "",
|
|
"noColor": false
|
|
},
|
|
"state": {
|
|
"isStdOutTTY": false,
|
|
"isStdErrTTY": false,
|
|
"testRunDurationMs": 40466.296338
|
|
},
|
|
"metrics": {
|
|
"http_req_duration{scenario:measure,name:post_message}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 2.8937575199999985,
|
|
"max": 27.3085,
|
|
"avg": 1.4198878635373624,
|
|
"min": 0.83425,
|
|
"med": 1.324917,
|
|
"p(90)": 1.7211752000000002,
|
|
"p(95)": 1.9620455999999997
|
|
}
|
|
},
|
|
"iterations": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 54002,
|
|
"rate": 1334.4932669138109
|
|
}
|
|
},
|
|
"http_req_blocked": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 0.001833,
|
|
"p(99)": 0.0032700899999999803,
|
|
"max": 12.995084,
|
|
"avg": 0.003517339506400951,
|
|
"min": 0.000458,
|
|
"med": 0.000959,
|
|
"p(90)": 0.001541
|
|
}
|
|
},
|
|
"http_req_duration{scenario:measure,name:get_history}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 17.387167,
|
|
"avg": 1.305179904502916,
|
|
"min": 0.827208,
|
|
"med": 1.216729,
|
|
"p(90)": 1.6256665000000001,
|
|
"p(95)": 1.7986977499999999,
|
|
"p(99)": 2.5128229499999994
|
|
}
|
|
},
|
|
"dropped_iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"count": 0
|
|
}
|
|
},
|
|
"checks": {
|
|
"values": {
|
|
"passes": 54002,
|
|
"fails": 0,
|
|
"rate": 1
|
|
},
|
|
"type": "rate",
|
|
"contains": "default"
|
|
},
|
|
"http_req_tls_handshaking": {
|
|
"values": {
|
|
"avg": 0,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 0
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"http_req_receiving": {
|
|
"values": {
|
|
"min": 0.003167,
|
|
"med": 0.012083,
|
|
"p(90)": 0.028292,
|
|
"p(95)": 0.043167,
|
|
"p(99)": 0.07414508999999998,
|
|
"max": 2.173167,
|
|
"avg": 0.01614864301043432
|
|
},
|
|
"type": "trend",
|
|
"contains": "time"
|
|
},
|
|
"data_received": {
|
|
"type": "counter",
|
|
"contains": "data",
|
|
"values": {
|
|
"count": 135314247,
|
|
"rate": 3343875.255342623
|
|
}
|
|
},
|
|
"vus": {
|
|
"type": "gauge",
|
|
"contains": "default",
|
|
"values": {
|
|
"value": 4,
|
|
"min": 1,
|
|
"max": 5
|
|
}
|
|
},
|
|
"http_req_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 1.4107384407792731,
|
|
"min": 0.706333,
|
|
"med": 1.310729,
|
|
"p(90)": 1.711,
|
|
"p(95)": 1.9484685999999996,
|
|
"p(99)": 2.92553233,
|
|
"max": 27.3085
|
|
}
|
|
},
|
|
"http_reqs{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 40501,
|
|
"rate": 1000.8575942238483
|
|
}
|
|
},
|
|
"data_sent": {
|
|
"values": {
|
|
"count": 15846572,
|
|
"rate": 391599.2673912989
|
|
},
|
|
"type": "counter",
|
|
"contains": "data"
|
|
},
|
|
"http_req_connecting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"avg": 0.002277729353215423,
|
|
"min": 0,
|
|
"med": 0,
|
|
"p(90)": 0,
|
|
"p(95)": 0,
|
|
"p(99)": 0,
|
|
"max": 12.977208
|
|
}
|
|
},
|
|
"vus_max": {
|
|
"contains": "default",
|
|
"values": {
|
|
"min": 270,
|
|
"max": 270,
|
|
"value": 270
|
|
},
|
|
"type": "gauge"
|
|
},
|
|
"http_req_duration{scenario:measure}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"max": 27.3085,
|
|
"avg": 1.397496289894075,
|
|
"min": 0.827208,
|
|
"med": 1.308,
|
|
"p(90)": 1.702791,
|
|
"p(95)": 1.932542,
|
|
"p(99)": 2.808917
|
|
}
|
|
},
|
|
"http_req_failed": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 54052
|
|
}
|
|
},
|
|
"http_reqs": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 54052,
|
|
"rate": 1335.7288630647995
|
|
}
|
|
},
|
|
"dropped_iterations": {
|
|
"contains": "default",
|
|
"values": {
|
|
"count": 0,
|
|
"rate": 0
|
|
},
|
|
"type": "counter"
|
|
},
|
|
"iteration_duration": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"min": 0.746083,
|
|
"med": 1.3579795,
|
|
"p(90)": 1.7668289000000001,
|
|
"p(95)": 2.007667,
|
|
"p(99)": 2.95137,
|
|
"max": 27.35375,
|
|
"avg": 1.455344996314939
|
|
}
|
|
},
|
|
"iterations{scenario:measure}": {
|
|
"type": "counter",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 1000.8575942238483,
|
|
"count": 40501
|
|
}
|
|
},
|
|
"http_req_failed{scenario:measure}": {
|
|
"type": "rate",
|
|
"contains": "default",
|
|
"values": {
|
|
"rate": 0,
|
|
"passes": 0,
|
|
"fails": 40501
|
|
}
|
|
},
|
|
"http_req_duration{expected_response:true}": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(90)": 1.711,
|
|
"p(95)": 1.9484685999999996,
|
|
"p(99)": 2.92553233,
|
|
"max": 27.3085,
|
|
"avg": 1.4107384407792731,
|
|
"min": 0.706333,
|
|
"med": 1.310729
|
|
}
|
|
},
|
|
"http_req_sending": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(99)": 0.03368757999999998,
|
|
"max": 1.129834,
|
|
"avg": 0.00698370596832664,
|
|
"min": 0.001666,
|
|
"med": 0.006458,
|
|
"p(90)": 0.009875,
|
|
"p(95)": 0.014518449999999902
|
|
}
|
|
},
|
|
"http_req_waiting": {
|
|
"type": "trend",
|
|
"contains": "time",
|
|
"values": {
|
|
"p(95)": 1.92025,
|
|
"p(99)": 2.8900729999999997,
|
|
"max": 27.295291,
|
|
"avg": 1.3876060918004858,
|
|
"min": 0.675042,
|
|
"med": 1.288542,
|
|
"p(90)": 1.6863288
|
|
}
|
|
}
|
|
},
|
|
"root_group": {
|
|
"groups": [],
|
|
"checks": [
|
|
{
|
|
"name": "message 201",
|
|
"path": "::message 201",
|
|
"id": "6445aff337e1ade0bc10402fbac79882",
|
|
"passes": 43427,
|
|
"fails": 0
|
|
},
|
|
{
|
|
"name": "history 200",
|
|
"path": "::history 200",
|
|
"id": "fe27b3b8edd292c7f2170a6357b087d0",
|
|
"passes": 10575,
|
|
"fails": 0
|
|
}
|
|
],
|
|
"name": "",
|
|
"path": "",
|
|
"id": "d41d8cd98f00b204e9800998ecf8427e"
|
|
}
|
|
} |