# date: 2026-11-05T19:37:03Z commit: 5c8f605cd3bd40245109348463d3e7111379b2d3
$ python3 scripts/scaling.py --configs 1x1 --api-memory 512 --rates 300,600,1200 --repeats 1 --keep
{"variant": "base", "config": "1x1", "replicas": 1, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7", "rate": 300, "repeat": 1, "started": "2026-11-05T19:37:03Z", "db_mb": 7.6, "messages": 0, "k6_exit": 0, "saturated": false, "requests": 9001, "rps": 300.03, "ok_rps": 300.03, "failed_ratio": 0, "dropped_iterations": 0, "p50_ms": 1.95, "p95_ms": 2.97, "p99_ms": 6.18, "p95_post_ms": 2.87, "p95_get_ms": 3.38, "cpu_api": 47.89, "cpu_postgres": 9.83, "cpu_lb": 2.8, "cpu_valkey": 0.86, "cpu_k6": 6.82, "mem_api_mb": 154.8, "mem_postgres_mb": 69.3, "mem_k6_mb": 37.5, "pg_backends_max": 8, "pg_active_avg": 0.11, "pg_active_max": 1, "pg_idle_avg": 7.78, "pg_idle_tx_avg": 0.11, "pg_lock_avg": 0, "pg_lock_max": 0, "pg_lwlock_avg": 0, "pg_io_avg": 0.07, "lb_scur_max": 2, "lb_qcur_max": 0, "lb_qtime_max_ms": 0, "lb_rtime_avg_ms": 2, "cpu_vm": 79.4, "cpu_other": 11.2, "gap_s": 4.9, "wall_s": 41.3, "disturbed": false}
unknown shorthand flag: 'T' in -T

Usage:  docker [OPTIONS] COMMAND [ARG...]

Run 'docker --help' for more information
{"variant": "base", "config": "1x1", "replicas": 1, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7", "rate": 600, "repeat": 1, "started": "2026-11-05T19:37:50Z", "db_mb": 12.5, "messages": 9863, "k6_exit": 0, "saturated": false, "requests": 17989, "rps": 599.63, "ok_rps": 599.63, "failed_ratio": 0, "dropped_iterations": 12, "p50_ms": 1.88, "p95_ms": 61.5, "p99_ms": 109.65, "p95_post_ms": 57.4, "p95_get_ms": 86.3, "cpu_api": 79.98, "cpu_postgres": 16.7, "cpu_lb": 4.82, "cpu_valkey": 1.48, "cpu_k6": 9.63, "mem_api_mb": 169.8, "mem_postgres_mb": 79.1, "mem_k6_mb": 60.6, "pg_backends_max": 8, "pg_active_avg": 0.11, "pg_active_max": 1, "pg_idle_avg": 6.96, "pg_idle_tx_avg": 0.93, "pg_lock_avg": 0, "pg_lock_max": 0, "pg_lwlock_avg": 0, "pg_io_avg": 0, "lb_scur_max": 65, "lb_qcur_max": 33, "lb_qtime_max_ms": 12, "lb_rtime_avg_ms": 6.62, "cpu_vm": 130.1, "cpu_other": 17.5, "gap_s": 5.7, "wall_s": 41.3, "disturbed": false}
{"variant": "base", "config": "1x1", "replicas": 1, "cpus": 1.0, "memory_mb": 512, "workers": 1, "pool": 8, "maxconn": 32, "api_cpuset": "7", "rate": 1200, "repeat": 1, "started": "2026-11-05T19:38:37Z", "db_mb": 21.6, "messages": 29013, "k6_exit": 0, "saturated": true, "requests": 22594, "rps": 753.13, "ok_rps": 753.13, "failed_ratio": 0, "dropped_iterations": 13407, "p50_ms": 618.83, "p95_ms": 760.04, "p99_ms": 796.68, "p95_post_ms": 754.86, "p95_get_ms": 780.64, "cpu_api": 100.79, "cpu_postgres": 21.85, "cpu_lb": 5.59, "cpu_valkey": 1.49, "cpu_k6": 14.12, "mem_api_mb": 163.0, "mem_postgres_mb": 92.1, "mem_k6_mb": 314.8, "pg_backends_max": 8, "pg_active_avg": 0.15, "pg_active_max": 1, "pg_idle_avg": 2.96, "pg_idle_tx_avg": 4.89, "pg_lock_avg": 0, "pg_lock_max": 0, "pg_lwlock_avg": 0, "pg_io_avg": 0.04, "lb_scur_max": 532, "lb_qcur_max": 500, "lb_qtime_max_ms": 651, "lb_rtime_avg_ms": 42.43, "cpu_vm": 151.8, "cpu_other": 8.0, "gap_s": 4.7, "wall_s": 42.2, "disturbed": false}

exit: 0
