forked from mtusi2026/mtusi2026lab3
735 lines
14 KiB
JSON
735 lines
14 KiB
JSON
{
|
|
"config": "fixed-4x0.25-r3",
|
|
"repeat": 3,
|
|
"series": "fixed-cpu",
|
|
"params": {
|
|
"API_CPUSET": "0",
|
|
"AUX_CPUSET": "1",
|
|
"DB_POOL_MAX": "10",
|
|
"SESSION_CACHE": "redis",
|
|
"LB_SERVER_MAXCONN": "0",
|
|
"LB_QUEUE_TIMEOUT": "2s",
|
|
"API_REPLICAS": 4,
|
|
"API_CPUS": "0.25",
|
|
"API_MEMORY": "128M",
|
|
"KDF_CONCURRENCY": 1
|
|
},
|
|
"measured_at": "2026-11-03T09:37:46+00:00",
|
|
"slo": {
|
|
"p99_ms": 250.0,
|
|
"error_ratio": 0.01
|
|
},
|
|
"capacity_at_slo_rps": 120,
|
|
"peak_ok_rps": 200,
|
|
"steps": [
|
|
{
|
|
"attempted": 400,
|
|
"dropped": 0,
|
|
"duration_s": 10,
|
|
"error_kinds": {},
|
|
"error_ratio": 0,
|
|
"errors": 0,
|
|
"event": "step",
|
|
"label": "fixed-4x0.25-r3",
|
|
"latency_ms": {
|
|
"max": 88.29,
|
|
"p50": 5.38,
|
|
"p90": 13.59,
|
|
"p99": 82.74,
|
|
"p999": 88.29
|
|
},
|
|
"ok": 400,
|
|
"per_op": {
|
|
"history": {
|
|
"ok": 280,
|
|
"p50_ms": 5.33,
|
|
"p99_ms": 82.74
|
|
},
|
|
"me": {
|
|
"ok": 40,
|
|
"p50_ms": 2.42,
|
|
"p99_ms": 11.79
|
|
},
|
|
"post": {
|
|
"ok": 80,
|
|
"p50_ms": 5.93,
|
|
"p99_ms": 85.85
|
|
}
|
|
},
|
|
"rate": 40,
|
|
"service_ms": {
|
|
"p50": 4.73,
|
|
"p99": 82.16
|
|
},
|
|
"throughput_ok_rps": 40,
|
|
"resources": {
|
|
"cpu_percent_mean": {
|
|
"api": 25.6,
|
|
"lb": 2.1,
|
|
"loadgen-run-89815b9f6838": 2.5,
|
|
"postgres": 7.7,
|
|
"redis": 2.4
|
|
},
|
|
"mem_mib_max": {
|
|
"api": 40.4,
|
|
"lb": 4.4,
|
|
"loadgen-run-89815b9f6838": 6.1,
|
|
"postgres": 175.2,
|
|
"redis": 3.8
|
|
},
|
|
"lb_queue_max": 0,
|
|
"lb_sessions_mean": 0.1,
|
|
"pg_active_mean": 0,
|
|
"pg_wait_events_mean": {},
|
|
"api_cfs_throttled_period_ratio": 0.072,
|
|
"pg_connections_mean": 25
|
|
},
|
|
"slo_ok": true
|
|
},
|
|
{
|
|
"attempted": 800,
|
|
"dropped": 0,
|
|
"duration_s": 10,
|
|
"error_kinds": {},
|
|
"error_ratio": 0,
|
|
"errors": 0,
|
|
"event": "step",
|
|
"label": "fixed-4x0.25-r3",
|
|
"latency_ms": {
|
|
"max": 92.03,
|
|
"p50": 5.28,
|
|
"p90": 22.78,
|
|
"p99": 61.16,
|
|
"p999": 92.03
|
|
},
|
|
"ok": 800,
|
|
"per_op": {
|
|
"history": {
|
|
"ok": 560,
|
|
"p50_ms": 5.18,
|
|
"p99_ms": 61.94
|
|
},
|
|
"me": {
|
|
"ok": 80,
|
|
"p50_ms": 2.45,
|
|
"p99_ms": 54.32
|
|
},
|
|
"post": {
|
|
"ok": 160,
|
|
"p50_ms": 6.25,
|
|
"p99_ms": 71.44
|
|
}
|
|
},
|
|
"rate": 80,
|
|
"service_ms": {
|
|
"p50": 4.65,
|
|
"p99": 60.42
|
|
},
|
|
"throughput_ok_rps": 80,
|
|
"resources": {
|
|
"cpu_percent_mean": {
|
|
"api": 34.9,
|
|
"lb": 3.2,
|
|
"loadgen-run-89815b9f6838": 4.7,
|
|
"postgres": 9.9,
|
|
"redis": 2.6
|
|
},
|
|
"mem_mib_max": {
|
|
"api": 43.7,
|
|
"lb": 4.4,
|
|
"loadgen-run-89815b9f6838": 6.3,
|
|
"postgres": 175.7,
|
|
"redis": 5.3
|
|
},
|
|
"lb_queue_max": 0,
|
|
"lb_sessions_mean": 0.9,
|
|
"pg_active_mean": 0,
|
|
"pg_wait_events_mean": {},
|
|
"api_cfs_throttled_period_ratio": 0.094,
|
|
"pg_connections_mean": 25
|
|
},
|
|
"slo_ok": true
|
|
},
|
|
{
|
|
"attempted": 1200,
|
|
"dropped": 0,
|
|
"duration_s": 10,
|
|
"error_kinds": {},
|
|
"error_ratio": 0,
|
|
"errors": 0,
|
|
"event": "step",
|
|
"label": "fixed-4x0.25-r3",
|
|
"latency_ms": {
|
|
"max": 134.47,
|
|
"p50": 5.47,
|
|
"p90": 37.31,
|
|
"p99": 86.52,
|
|
"p999": 119.12
|
|
},
|
|
"ok": 1200,
|
|
"per_op": {
|
|
"history": {
|
|
"ok": 840,
|
|
"p50_ms": 5.33,
|
|
"p99_ms": 87.77
|
|
},
|
|
"me": {
|
|
"ok": 120,
|
|
"p50_ms": 2.73,
|
|
"p99_ms": 52.33
|
|
},
|
|
"post": {
|
|
"ok": 240,
|
|
"p50_ms": 6.41,
|
|
"p99_ms": 95.71
|
|
}
|
|
},
|
|
"rate": 120,
|
|
"service_ms": {
|
|
"p50": 4.86,
|
|
"p99": 85.73
|
|
},
|
|
"throughput_ok_rps": 120,
|
|
"resources": {
|
|
"cpu_percent_mean": {
|
|
"api": 49.3,
|
|
"lb": 4.0,
|
|
"loadgen-run-89815b9f6838": 6.2,
|
|
"postgres": 12.2,
|
|
"redis": 3.1
|
|
},
|
|
"mem_mib_max": {
|
|
"api": 44.1,
|
|
"lb": 4.5,
|
|
"loadgen-run-89815b9f6838": 6.6,
|
|
"postgres": 178.8,
|
|
"redis": 3.8
|
|
},
|
|
"lb_queue_max": 0,
|
|
"lb_sessions_mean": 1.8,
|
|
"pg_active_mean": 0,
|
|
"pg_wait_events_mean": {},
|
|
"api_cfs_throttled_period_ratio": 0.086,
|
|
"pg_connections_mean": 25.8
|
|
},
|
|
"slo_ok": true
|
|
},
|
|
{
|
|
"attempted": 1600,
|
|
"dropped": 0,
|
|
"duration_s": 10,
|
|
"error_kinds": {},
|
|
"error_ratio": 0,
|
|
"errors": 0,
|
|
"event": "step",
|
|
"label": "fixed-4x0.25-r3",
|
|
"latency_ms": {
|
|
"max": 664.67,
|
|
"p50": 7.67,
|
|
"p90": 234.63,
|
|
"p99": 471.46,
|
|
"p999": 654.99
|
|
},
|
|
"ok": 1600,
|
|
"per_op": {
|
|
"history": {
|
|
"ok": 1120,
|
|
"p50_ms": 8.22,
|
|
"p99_ms": 481.87
|
|
},
|
|
"me": {
|
|
"ok": 160,
|
|
"p50_ms": 2.73,
|
|
"p99_ms": 154.45
|
|
},
|
|
"post": {
|
|
"ok": 320,
|
|
"p50_ms": 8.26,
|
|
"p99_ms": 470.13
|
|
}
|
|
},
|
|
"rate": 160,
|
|
"service_ms": {
|
|
"p50": 7.1,
|
|
"p99": 471.35
|
|
},
|
|
"throughput_ok_rps": 160,
|
|
"resources": {
|
|
"cpu_percent_mean": {
|
|
"api": 67.1,
|
|
"lb": 4.7,
|
|
"loadgen-run-89815b9f6838": 7.8,
|
|
"postgres": 17.6,
|
|
"redis": 3.6
|
|
},
|
|
"mem_mib_max": {
|
|
"api": 44.9,
|
|
"lb": 5.1,
|
|
"loadgen-run-89815b9f6838": 7.7,
|
|
"postgres": 239.6,
|
|
"redis": 3.9
|
|
},
|
|
"lb_queue_max": 0,
|
|
"lb_sessions_mean": 11.5,
|
|
"pg_active_mean": 0.11,
|
|
"pg_wait_events_mean": {
|
|
"IO:WALSync": 0.11
|
|
},
|
|
"api_cfs_throttled_period_ratio": 0.044,
|
|
"pg_connections_mean": 42.7
|
|
},
|
|
"slo_ok": false
|
|
},
|
|
{
|
|
"attempted": 2000,
|
|
"dropped": 0,
|
|
"duration_s": 10,
|
|
"error_kinds": {},
|
|
"error_ratio": 0,
|
|
"errors": 0,
|
|
"event": "step",
|
|
"label": "fixed-4x0.25-r3",
|
|
"latency_ms": {
|
|
"max": 2946.08,
|
|
"p50": 426.45,
|
|
"p90": 1381.86,
|
|
"p99": 1855.88,
|
|
"p999": 2676.84
|
|
},
|
|
"ok": 2000,
|
|
"per_op": {
|
|
"history": {
|
|
"ok": 1400,
|
|
"p50_ms": 469.38,
|
|
"p99_ms": 1789.43
|
|
},
|
|
"me": {
|
|
"ok": 200,
|
|
"p50_ms": 72.89,
|
|
"p99_ms": 448.11
|
|
},
|
|
"post": {
|
|
"ok": 400,
|
|
"p50_ms": 531.44,
|
|
"p99_ms": 2000.46
|
|
}
|
|
},
|
|
"rate": 200,
|
|
"service_ms": {
|
|
"p50": 425.95,
|
|
"p99": 1855.08
|
|
},
|
|
"throughput_ok_rps": 200,
|
|
"resources": {
|
|
"cpu_percent_mean": {
|
|
"api": 74.6,
|
|
"lb": 5.6,
|
|
"loadgen-run-89815b9f6838": 10.3,
|
|
"postgres": 17.5,
|
|
"redis": 3.4
|
|
},
|
|
"mem_mib_max": {
|
|
"api": 50.4,
|
|
"lb": 8.2,
|
|
"loadgen-run-89815b9f6838": 15.2,
|
|
"postgres": 250.8,
|
|
"redis": 4.7
|
|
},
|
|
"lb_queue_max": 0,
|
|
"lb_sessions_mean": 103.5,
|
|
"pg_active_mean": 0,
|
|
"pg_wait_events_mean": {},
|
|
"api_cfs_throttled_period_ratio": 0.404,
|
|
"pg_connections_mean": 52.2
|
|
},
|
|
"slo_ok": false
|
|
},
|
|
{
|
|
"attempted": 2400,
|
|
"dropped": 0,
|
|
"duration_s": 10,
|
|
"error_kinds": {
|
|
"503": 627
|
|
},
|
|
"error_ratio": 0.2613,
|
|
"errors": 627,
|
|
"event": "step",
|
|
"label": "fixed-4x0.25-r3",
|
|
"latency_ms": {
|
|
"max": 3109.98,
|
|
"p50": 614.79,
|
|
"p90": 2033.95,
|
|
"p99": 2760.99,
|
|
"p999": 3106.01
|
|
},
|
|
"ok": 1773,
|
|
"per_op": {
|
|
"history": {
|
|
"ok": 1223,
|
|
"p50_ms": 670.52,
|
|
"p99_ms": 2652.06
|
|
},
|
|
"me": {
|
|
"ok": 195,
|
|
"p50_ms": 88.16,
|
|
"p99_ms": 2495.23
|
|
},
|
|
"post": {
|
|
"ok": 355,
|
|
"p50_ms": 870.35,
|
|
"p99_ms": 2933.06
|
|
}
|
|
},
|
|
"rate": 240,
|
|
"service_ms": {
|
|
"p50": 610.97,
|
|
"p99": 2760.1
|
|
},
|
|
"throughput_ok_rps": 177.3,
|
|
"resources": {
|
|
"cpu_percent_mean": {
|
|
"api": 78.9,
|
|
"lb": 6.4,
|
|
"loadgen-run-89815b9f6838": 11.9,
|
|
"postgres": 16.7,
|
|
"redis": 3.2
|
|
},
|
|
"mem_mib_max": {
|
|
"api": 53.9,
|
|
"lb": 9.9,
|
|
"loadgen-run-89815b9f6838": 21.0,
|
|
"postgres": 250.4,
|
|
"redis": 5.7
|
|
},
|
|
"lb_queue_max": 0,
|
|
"lb_sessions_mean": 209.6,
|
|
"pg_active_mean": 0,
|
|
"pg_wait_events_mean": {},
|
|
"api_cfs_throttled_period_ratio": 0.384,
|
|
"pg_connections_mean": 53
|
|
},
|
|
"slo_ok": false
|
|
},
|
|
{
|
|
"attempted": 2800,
|
|
"dropped": 0,
|
|
"duration_s": 10,
|
|
"error_kinds": {
|
|
"503": 1102
|
|
},
|
|
"error_ratio": 0.3936,
|
|
"errors": 1102,
|
|
"event": "step",
|
|
"label": "fixed-4x0.25-r3",
|
|
"latency_ms": {
|
|
"max": 4334.56,
|
|
"p50": 1383.24,
|
|
"p90": 3095.47,
|
|
"p99": 3639.35,
|
|
"p999": 4302.63
|
|
},
|
|
"ok": 1698,
|
|
"per_op": {
|
|
"history": {
|
|
"ok": 1112,
|
|
"p50_ms": 1465.17,
|
|
"p99_ms": 3611.04
|
|
},
|
|
"me": {
|
|
"ok": 250,
|
|
"p50_ms": 120.89,
|
|
"p99_ms": 1839.54
|
|
},
|
|
"post": {
|
|
"ok": 336,
|
|
"p50_ms": 1480.37,
|
|
"p99_ms": 3671.15
|
|
}
|
|
},
|
|
"rate": 280,
|
|
"service_ms": {
|
|
"p50": 1382.39,
|
|
"p99": 3623.89
|
|
},
|
|
"throughput_ok_rps": 169.8,
|
|
"resources": {
|
|
"cpu_percent_mean": {
|
|
"api": 83.5,
|
|
"lb": 7.0,
|
|
"loadgen-run-89815b9f6838": 13.0,
|
|
"postgres": 17.5,
|
|
"redis": 4.0
|
|
},
|
|
"mem_mib_max": {
|
|
"api": 53.7,
|
|
"lb": 12.2,
|
|
"loadgen-run-89815b9f6838": 27.2,
|
|
"postgres": 251.7,
|
|
"redis": 4.6
|
|
},
|
|
"lb_queue_max": 0,
|
|
"lb_sessions_mean": 349.4,
|
|
"pg_active_mean": 0.5,
|
|
"pg_wait_events_mean": {
|
|
"Client:ClientRead": 0.5
|
|
},
|
|
"api_cfs_throttled_period_ratio": 0.334,
|
|
"pg_connections_mean": 53
|
|
},
|
|
"slo_ok": false
|
|
},
|
|
{
|
|
"attempted": 3200,
|
|
"dropped": 0,
|
|
"duration_s": 10,
|
|
"error_kinds": {
|
|
"503": 1469
|
|
},
|
|
"error_ratio": 0.4591,
|
|
"errors": 1469,
|
|
"event": "step",
|
|
"label": "fixed-4x0.25-r3",
|
|
"latency_ms": {
|
|
"max": 4102.38,
|
|
"p50": 1496.75,
|
|
"p90": 3242.68,
|
|
"p99": 3974.51,
|
|
"p999": 4099.38
|
|
},
|
|
"ok": 1731,
|
|
"per_op": {
|
|
"history": {
|
|
"ok": 1145,
|
|
"p50_ms": 1645.44,
|
|
"p99_ms": 3926.88
|
|
},
|
|
"me": {
|
|
"ok": 255,
|
|
"p50_ms": 115.33,
|
|
"p99_ms": 2338.79
|
|
},
|
|
"post": {
|
|
"ok": 331,
|
|
"p50_ms": 1609.47,
|
|
"p99_ms": 3998.78
|
|
}
|
|
},
|
|
"rate": 320,
|
|
"service_ms": {
|
|
"p50": 1496.47,
|
|
"p99": 3973.21
|
|
},
|
|
"throughput_ok_rps": 173.1,
|
|
"resources": {
|
|
"cpu_percent_mean": {
|
|
"api": 78.7,
|
|
"lb": 8.0,
|
|
"loadgen-run-89815b9f6838": 13.2,
|
|
"postgres": 16.7,
|
|
"redis": 3.0
|
|
},
|
|
"mem_mib_max": {
|
|
"api": 58.6,
|
|
"lb": 13.2,
|
|
"loadgen-run-89815b9f6838": 30.5,
|
|
"postgres": 252.1,
|
|
"redis": 6.1
|
|
},
|
|
"lb_queue_max": 0,
|
|
"lb_sessions_mean": 413.7,
|
|
"pg_active_mean": 0.3,
|
|
"pg_wait_events_mean": {
|
|
"Client:ClientRead": 0.3
|
|
},
|
|
"api_cfs_throttled_period_ratio": 0.375,
|
|
"pg_connections_mean": 53
|
|
},
|
|
"slo_ok": false
|
|
}
|
|
],
|
|
"pool_before": {
|
|
"api-cbf60d4e": {
|
|
"pool": {
|
|
"connections_num": 3,
|
|
"requests_num": 20,
|
|
"requests_queued": 3,
|
|
"connections_ms": 212,
|
|
"requests_wait_ms": 203,
|
|
"usage_ms": 114,
|
|
"pool_min": 1,
|
|
"pool_max": 10,
|
|
"pool_size": 3,
|
|
"pool_available": 2,
|
|
"requests_waiting": 0
|
|
},
|
|
"cache": {
|
|
"hits": 0,
|
|
"misses": 0,
|
|
"errors": 0
|
|
},
|
|
"requests": 9
|
|
},
|
|
"api-aa2feb60": {
|
|
"pool": {
|
|
"connections_num": 3,
|
|
"requests_num": 21,
|
|
"requests_queued": 3,
|
|
"connections_ms": 263,
|
|
"requests_wait_ms": 285,
|
|
"usage_ms": 122,
|
|
"pool_min": 1,
|
|
"pool_max": 10,
|
|
"pool_size": 3,
|
|
"pool_available": 2,
|
|
"requests_waiting": 0
|
|
},
|
|
"cache": {
|
|
"hits": 0,
|
|
"misses": 0,
|
|
"errors": 0
|
|
},
|
|
"requests": 9
|
|
},
|
|
"api-75fe1536": {
|
|
"pool": {
|
|
"connections_num": 3,
|
|
"requests_num": 22,
|
|
"requests_queued": 3,
|
|
"connections_ms": 218,
|
|
"requests_wait_ms": 290,
|
|
"usage_ms": 59,
|
|
"pool_min": 1,
|
|
"pool_max": 10,
|
|
"pool_size": 3,
|
|
"pool_available": 3,
|
|
"requests_waiting": 0
|
|
},
|
|
"cache": {
|
|
"hits": 0,
|
|
"misses": 0,
|
|
"errors": 0
|
|
},
|
|
"requests": 10
|
|
},
|
|
"api-95ddae14": {
|
|
"pool": {
|
|
"connections_num": 3,
|
|
"requests_num": 26,
|
|
"requests_queued": 3,
|
|
"connections_ms": 221,
|
|
"requests_wait_ms": 280,
|
|
"usage_ms": 90,
|
|
"pool_min": 1,
|
|
"pool_max": 10,
|
|
"pool_size": 3,
|
|
"pool_available": 3,
|
|
"requests_waiting": 0
|
|
},
|
|
"cache": {
|
|
"hits": 0,
|
|
"misses": 0,
|
|
"errors": 0
|
|
},
|
|
"requests": 13
|
|
}
|
|
},
|
|
"pool_after": {
|
|
"api-cbf60d4e": {
|
|
"pool": {
|
|
"connections_num": 10,
|
|
"requests_num": 5685,
|
|
"requests_queued": 2640,
|
|
"connections_ms": 1849,
|
|
"requests_wait_ms": 3373255,
|
|
"usage_ms": 293816,
|
|
"requests_errors": 1303,
|
|
"pool_min": 1,
|
|
"pool_max": 10,
|
|
"pool_size": 10,
|
|
"pool_available": 10,
|
|
"requests_waiting": 0
|
|
},
|
|
"cache": {
|
|
"hits": 3738,
|
|
"misses": 16,
|
|
"errors": 17
|
|
},
|
|
"requests": 5343
|
|
},
|
|
"api-aa2feb60": {
|
|
"pool": {
|
|
"connections_num": 10,
|
|
"requests_num": 4088,
|
|
"requests_queued": 1775,
|
|
"connections_ms": 1616,
|
|
"requests_wait_ms": 1525236,
|
|
"usage_ms": 262582,
|
|
"requests_errors": 98,
|
|
"pool_min": 1,
|
|
"pool_max": 10,
|
|
"pool_size": 10,
|
|
"pool_available": 10,
|
|
"requests_waiting": 0
|
|
},
|
|
"cache": {
|
|
"hits": 3933,
|
|
"misses": 22,
|
|
"errors": 2
|
|
},
|
|
"requests": 4204
|
|
},
|
|
"api-75fe1536": {
|
|
"pool": {
|
|
"connections_num": 10,
|
|
"requests_num": 4030,
|
|
"requests_queued": 1772,
|
|
"connections_ms": 1588,
|
|
"requests_wait_ms": 1549683,
|
|
"usage_ms": 263095,
|
|
"requests_errors": 128,
|
|
"pool_min": 1,
|
|
"pool_max": 10,
|
|
"pool_size": 10,
|
|
"pool_available": 10,
|
|
"requests_waiting": 0
|
|
},
|
|
"cache": {
|
|
"hits": 3969,
|
|
"misses": 23,
|
|
"errors": 0
|
|
},
|
|
"requests": 4203
|
|
},
|
|
"api-95ddae14": {
|
|
"pool": {
|
|
"connections_num": 10,
|
|
"requests_num": 6393,
|
|
"requests_queued": 3048,
|
|
"connections_ms": 1829,
|
|
"requests_wait_ms": 3953309,
|
|
"usage_ms": 339101,
|
|
"requests_errors": 2079,
|
|
"pool_min": 1,
|
|
"pool_max": 10,
|
|
"pool_size": 10,
|
|
"pool_available": 10,
|
|
"requests_waiting": 0
|
|
},
|
|
"cache": {
|
|
"hits": 4746,
|
|
"misses": 22,
|
|
"errors": 47
|
|
},
|
|
"requests": 6327
|
|
}
|
|
},
|
|
"loadgen": {
|
|
"users": 48,
|
|
"seed": 10,
|
|
"duration_s": 10,
|
|
"warmup_s": 3,
|
|
"mix": "history=70,post=20,me=10",
|
|
"model": "open-loop, latency from scheduled time"
|
|
}
|
|
}
|