date: 2026-11-06T08:36:44.060823+00:00 commit: b063c8780eabf63cdb9da3802f82440750308d6b
$ python3 scripts/scaling.py --out evidence/final-validation/current-after --configs 8x1 --api-memory 512 --rates 2400,3600,5400 --variant after
{"raw_dir": "after-8x1_rate2400_rep1_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 2400, "repeat": 1, "started": "2026-11-06T08:37:07Z", "db_mb": 18.7, "messages": 21870, "k6_exit": 0, "saturated": false, "requests": 72003, "rps": 2400.1, "ok_rps": 2400.1, "failed_ratio": 0, "dropped_iterations": 0, "p50_ms": 2.14, "p95_ms": 4.44, "p99_ms": 13.64, "p95_post_ms": 3.62, "p95_get_ms": 5.44, "cpu_api": 393.49, "cpu_postgres": 92.13, "cpu_lb": 22.57, "cpu_valkey": 5.33, "cpu_k6": 41.21, "mem_api_mb": 163.0, "mem_postgres_mb": 306.7, "mem_k6_mb": 188.4, "pg_backends_max": 64, "pg_active_avg": 1.35, "pg_active_max": 6, "pg_idle_avg": 60.12, "pg_idle_tx_avg": 2.54, "pg_lock_avg": 0, "pg_lock_max": 0, "pg_lwlock_avg": 0.5, "pg_io_avg": 0.38, "lb_scur_max": 14, "lb_qcur_max": 0, "lb_qtime_max_ms": 0, "lb_rtime_avg_ms": 2.79, "cpu_vm": 586.5, "cpu_other": 31.8, "gap_s": 4.4, "wall_s": 41.8, "disturbed": false}
{"raw_dir": "after-8x1_rate3600_rep1_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 3600, "repeat": 1, "started": "2026-11-06T08:37:54Z", "db_mb": 55.6, "messages": 98932, "k6_exit": 0, "saturated": false, "requests": 107570, "rps": 3585.67, "ok_rps": 3585.67, "failed_ratio": 0, "dropped_iterations": 429, "p50_ms": 3.38, "p95_ms": 82.38, "p99_ms": 160.22, "p95_post_ms": 75.76, "p95_get_ms": 104.76, "cpu_api": 585.63, "cpu_postgres": 143.3, "cpu_lb": 35.18, "cpu_valkey": 8.5, "cpu_k6": 66.46, "mem_api_mb": 162.8, "mem_postgres_mb": 366.3, "mem_k6_mb": 307.8, "pg_backends_max": 64, "pg_active_avg": 11.22, "pg_active_max": 50, "pg_idle_avg": 46.04, "pg_idle_tx_avg": 6.7, "pg_lock_avg": 7.74, "pg_lock_max": 50, "pg_lwlock_avg": 1, "pg_io_avg": 0.59, "lb_scur_max": 506, "lb_qcur_max": 250, "lb_qtime_max_ms": 65, "lb_rtime_avg_ms": 8.48, "cpu_vm": 871.8, "cpu_other": 32.7, "gap_s": 4.6, "wall_s": 41.7, "disturbed": false}
{"raw_dir": "after-8x1_rate5400_rep1_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 5400, "repeat": 1, "started": "2026-11-06T08:38:41Z", "db_mb": 110.8, "messages": 214551, "k6_exit": 0, "saturated": true, "requests": 124043, "rps": 4134.77, "ok_rps": 4134.77, "failed_ratio": 0, "dropped_iterations": 37958, "p50_ms": 231.4, "p95_ms": 307.98, "p99_ms": 394.12, "p95_post_ms": 302.43, "p95_get_ms": 327.54, "cpu_api": 632.46, "cpu_postgres": 178.29, "cpu_lb": 39.61, "cpu_valkey": 10.1, "cpu_k6": 74.05, "mem_api_mb": 176.2, "mem_postgres_mb": 444.5, "mem_k6_mb": 657.3, "pg_backends_max": 64, "pg_active_avg": 43.54, "pg_active_max": 54, "pg_idle_avg": 5.58, "pg_idle_tx_avg": 14.88, "pg_lock_avg": 39.31, "pg_lock_max": 48, "pg_lwlock_avg": 2.92, "pg_io_avg": 0.5, "lb_scur_max": 1000, "lb_qcur_max": 744, "lb_qtime_max_ms": 345, "lb_rtime_avg_ms": 62.48, "cpu_vm": 994.8, "cpu_other": 60.3, "gap_s": 4.0, "wall_s": 42.2, "disturbed": false}
{"raw_dir": "after-8x1_rate2400_rep2_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 2400, "repeat": 2, "started": "2026-11-06T08:39:34Z", "db_mb": 174.4, "messages": 348505, "k6_exit": 0, "saturated": false, "requests": 71777, "rps": 2392.57, "ok_rps": 2392.57, "failed_ratio": 0, "dropped_iterations": 223, "p50_ms": 2.22, "p95_ms": 6.76, "p99_ms": 84.57, "p95_post_ms": 6.2, "p95_get_ms": 8.16, "cpu_api": 403.91, "cpu_postgres": 99.53, "cpu_lb": 22.58, "cpu_valkey": 5.5, "cpu_k6": 41.43, "mem_api_mb": 173.2, "mem_postgres_mb": 482.7, "mem_k6_mb": 198.9, "pg_backends_max": 64, "pg_active_avg": 1.19, "pg_active_max": 4, "pg_idle_avg": 60.04, "pg_idle_tx_avg": 2.77, "pg_lock_avg": 0, "pg_lock_max": 0, "pg_lwlock_avg": 0.23, "pg_io_avg": 0.38, "lb_scur_max": 12, "lb_qcur_max": 0, "lb_qtime_max_ms": 1, "lb_rtime_avg_ms": 3, "cpu_vm": 593.2, "cpu_other": 20.2, "gap_s": 4.1, "wall_s": 41.6, "disturbed": false}
{"raw_dir": "after-8x1_rate3600_rep2_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 3600, "repeat": 2, "started": "2026-11-06T08:40:21Z", "db_mb": 210.7, "messages": 424118, "k6_exit": 0, "saturated": false, "requests": 107789, "rps": 3592.97, "ok_rps": 3592.97, "failed_ratio": 0, "dropped_iterations": 212, "p50_ms": 3.62, "p95_ms": 76.08, "p99_ms": 132.04, "p95_post_ms": 70.39, "p95_get_ms": 99.7, "cpu_api": 582.64, "cpu_postgres": 145.11, "cpu_lb": 34.75, "cpu_valkey": 8.49, "cpu_k6": 63.08, "mem_api_mb": 163.2, "mem_postgres_mb": 548.8, "mem_k6_mb": 273.7, "pg_backends_max": 64, "pg_active_avg": 13.35, "pg_active_max": 57, "pg_idle_avg": 42.92, "pg_idle_tx_avg": 7.69, "pg_lock_avg": 9.85, "pg_lock_max": 49, "pg_lwlock_avg": 1.62, "pg_io_avg": 0.58, "lb_scur_max": 409, "lb_qcur_max": 153, "lb_qtime_max_ms": 23, "lb_rtime_avg_ms": 13.31, "cpu_vm": 870.4, "cpu_other": 36.3, "gap_s": 4.2, "wall_s": 42.0, "disturbed": false}
{"raw_dir": "after-8x1_rate5400_rep2_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 5400, "repeat": 2, "started": "2026-11-06T08:41:09Z", "db_mb": 264.9, "messages": 539459, "k6_exit": 0, "saturated": true, "requests": 114806, "rps": 3826.87, "ok_rps": 3826.87, "failed_ratio": 0, "dropped_iterations": 47195, "p50_ms": 252.82, "p95_ms": 325.37, "p99_ms": 376.77, "p95_post_ms": 320.37, "p95_get_ms": 342.74, "cpu_api": 588.83, "cpu_postgres": 177.04, "cpu_lb": 37.72, "cpu_valkey": 8.78, "cpu_k6": 69.26, "mem_api_mb": 171.2, "mem_postgres_mb": 561.2, "mem_k6_mb": 644.1, "pg_backends_max": 64, "pg_active_avg": 47.92, "pg_active_max": 54, "pg_idle_avg": 4.77, "pg_idle_tx_avg": 11.31, "pg_lock_avg": 42.54, "pg_lock_max": 50, "pg_lwlock_avg": 3.81, "pg_io_avg": 0.58, "lb_scur_max": 1000, "lb_qcur_max": 744, "lb_qtime_max_ms": 239, "lb_rtime_avg_ms": 67, "cpu_vm": 941.2, "cpu_other": 59.6, "gap_s": 4.0, "wall_s": 42.3, "disturbed": false}
{"raw_dir": "after-8x1_rate2400_rep3_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 2400, "repeat": 3, "started": "2026-11-06T08:42:01Z", "db_mb": 322.5, "messages": 662233, "k6_exit": 0, "saturated": false, "requests": 72004, "rps": 2400.13, "ok_rps": 2400.13, "failed_ratio": 0, "dropped_iterations": 0, "p50_ms": 2.21, "p95_ms": 5.19, "p99_ms": 21.79, "p95_post_ms": 4.46, "p95_get_ms": 6.34, "cpu_api": 399.77, "cpu_postgres": 95.75, "cpu_lb": 23.13, "cpu_valkey": 5.7, "cpu_k6": 41.89, "mem_api_mb": 173.7, "mem_postgres_mb": 545.9, "mem_k6_mb": 174.5, "pg_backends_max": 64, "pg_active_avg": 1.92, "pg_active_max": 7, "pg_idle_avg": 59.42, "pg_idle_tx_avg": 2.65, "pg_lock_avg": 0.15, "pg_lock_max": 4, "pg_lwlock_avg": 0.73, "pg_io_avg": 0.42, "lb_scur_max": 9, "lb_qcur_max": 0, "lb_qtime_max_ms": 0, "lb_rtime_avg_ms": 2.76, "cpu_vm": 600.2, "cpu_other": 34.0, "gap_s": 4.1, "wall_s": 41.7, "disturbed": false}
{"raw_dir": "after-8x1_rate3600_rep3_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 3600, "repeat": 3, "started": "2026-11-06T08:42:48Z", "db_mb": 360.0, "messages": 738943, "k6_exit": 0, "saturated": false, "requests": 107370, "rps": 3579.0, "ok_rps": 3579.0, "failed_ratio": 0, "dropped_iterations": 631, "p50_ms": 5.52, "p95_ms": 152.69, "p99_ms": 199.1, "p95_post_ms": 148.32, "p95_get_ms": 177.77, "cpu_api": 574.4, "cpu_postgres": 160.85, "cpu_lb": 35.45, "cpu_valkey": 8.36, "cpu_k6": 64.48, "mem_api_mb": 173.8, "mem_postgres_mb": 565.6, "mem_k6_mb": 343.6, "pg_backends_max": 64, "pg_active_avg": 22.38, "pg_active_max": 55, "pg_idle_avg": 33.19, "pg_idle_tx_avg": 8.42, "pg_lock_avg": 18.54, "pg_lock_max": 48, "pg_lwlock_avg": 1.92, "pg_io_avg": 0.58, "lb_scur_max": 597, "lb_qcur_max": 341, "lb_qtime_max_ms": 91, "lb_rtime_avg_ms": 26.31, "cpu_vm": 880.4, "cpu_other": 36.9, "gap_s": 4.3, "wall_s": 41.7, "disturbed": false}
{"raw_dir": "after-8x1_rate5400_rep3_attempt1", "variant": "after", "config": "8x1", "replicas": 8, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7-14", "rate": 5400, "repeat": 3, "started": "2026-11-06T08:43:35Z", "db_mb": 414.3, "messages": 853549, "k6_exit": 0, "saturated": true, "requests": 112289, "rps": 3742.97, "ok_rps": 3742.97, "failed_ratio": 0, "dropped_iterations": 49712, "p50_ms": 256.83, "p95_ms": 338.72, "p99_ms": 397.56, "p95_post_ms": 333.75, "p95_get_ms": 354.46, "cpu_api": 584.37, "cpu_postgres": 176.83, "cpu_lb": 36.45, "cpu_valkey": 8.71, "cpu_k6": 75.96, "mem_api_mb": 164.5, "mem_postgres_mb": 581.5, "mem_k6_mb": 649.3, "pg_backends_max": 64, "pg_active_avg": 45.42, "pg_active_max": 59, "pg_idle_avg": 6.96, "pg_idle_tx_avg": 11.58, "pg_lock_avg": 40.5, "pg_lock_max": 50, "pg_lwlock_avg": 3.46, "pg_io_avg": 0.54, "lb_scur_max": 1000, "lb_qcur_max": 744, "lb_qtime_max_ms": 243, "lb_rtime_avg_ms": 69.1, "cpu_vm": 925.4, "cpu_other": 43.1, "gap_s": 4.5, "wall_s": 42.3, "disturbed": false}

exit: 0
