264 lines
7.4 KiB
JSON
264 lines
7.4 KiB
JSON
{
|
|
"label": "baseline",
|
|
"status": "complete",
|
|
"started_at": "2026-10-10T22:17:46+00:00",
|
|
"command": "uv run python bench/run.py --profile rollout --label baseline",
|
|
"git": {
|
|
"commit": "9dcea0b",
|
|
"dirty": false
|
|
},
|
|
"overrides": {},
|
|
"host_state": {
|
|
"start": {
|
|
"swap_used_mib": 920.31,
|
|
"swap_total_mib": 2048.0,
|
|
"memory_free_percent": 52,
|
|
"power": "AC Power",
|
|
"battery_percent": 80
|
|
},
|
|
"end": {
|
|
"swap_used_mib": 920.31,
|
|
"swap_total_mib": 2048.0,
|
|
"memory_free_percent": 53,
|
|
"power": "AC Power",
|
|
"battery_percent": 80
|
|
},
|
|
"slept_seconds": 0
|
|
},
|
|
"host_warnings": [],
|
|
"other_containers": [],
|
|
"app_image": {
|
|
"tag": "mtusi-messenger:bench",
|
|
"id": "sha256:06268d4303f30a714e7ec69c5bbe7b95fedbd861ff6b93034496bfe03dc14b16",
|
|
"versions": {
|
|
"python": "3.12.14",
|
|
"fastapi": "0.141.1",
|
|
"starlette": "1.7.0",
|
|
"pydantic": "2.13.5",
|
|
"uvicorn": "0.54.0",
|
|
"sqlalchemy": "2.1.1",
|
|
"asyncpg": "0.31.0",
|
|
"redis": "8.1.0"
|
|
}
|
|
},
|
|
"generator": {
|
|
"image": "grafana/k6:2.3.0@sha256:9c2dee7f8ed74d317e4027c06a10f169b625638189de8d4555d0b3486a5aeb34",
|
|
"version": "k6 v2.3.0 (commit/e088784614, go1.27.1, linux/arm64)"
|
|
},
|
|
"docker": {
|
|
"server": "29.8.2",
|
|
"vm_os": "Docker Desktop",
|
|
"vm_cpus": 12,
|
|
"vm_memory_gib": 7.7,
|
|
"cgroup": "2",
|
|
"logging_driver": "local"
|
|
},
|
|
"host": {
|
|
"os": "macOS 26.6.2",
|
|
"machine": "Apple M3 Pro",
|
|
"memory_gib": 18.0
|
|
},
|
|
"profile": {
|
|
"name": "rollout",
|
|
"sizes": [
|
|
1000
|
|
],
|
|
"concurrency": [],
|
|
"repeats": 0,
|
|
"read_warmup_s": 0,
|
|
"read_measure_s": 0,
|
|
"write_warmup": 0,
|
|
"write_measure": 0,
|
|
"prefill_chunk": 25000,
|
|
"prefill_vus": 8,
|
|
"text_length": 64,
|
|
"page_limit": 50,
|
|
"walk_limit": 100,
|
|
"cursor_pool": 1000,
|
|
"members": 10,
|
|
"seed": 20260930,
|
|
"warmup_seed_shift": 1000003,
|
|
"generator_cpu_limit": 4.0,
|
|
"cpus": "1",
|
|
"memory": "512m",
|
|
"db_cpus": "2",
|
|
"db_memory": "1g",
|
|
"cache_cpus": "0.5",
|
|
"cache_memory": "128m",
|
|
"session_ttl_seconds": 21600,
|
|
"background": [],
|
|
"index_variants": [
|
|
[
|
|
"chat_only",
|
|
"(chat_id)"
|
|
],
|
|
[
|
|
"covering",
|
|
"(chat_id, created_at, id) INCLUDE (sender_id, text)"
|
|
]
|
|
],
|
|
"write_probe_rows": 20000,
|
|
"write_probe_repeats": 3,
|
|
"restore": false,
|
|
"restore_jobs": 4,
|
|
"restore_write_load": 5000,
|
|
"restore_write_vus": 10,
|
|
"replicas": 2,
|
|
"lb_cpus": "1",
|
|
"lb_memory": "256m",
|
|
"failover_modes": [],
|
|
"failover_write_rate": 100,
|
|
"failover_read_rate": 100,
|
|
"failover_before_s": 0,
|
|
"failover_down_s": 0,
|
|
"failover_after_s": 0,
|
|
"failover_success": 0.99,
|
|
"failover_pre_vus": 600,
|
|
"failover_max_vus": 1500,
|
|
"rollout_from": "c50b721",
|
|
"rollout_before_s": 15,
|
|
"rollout_budget_s": 90,
|
|
"rollout_after_s": 15
|
|
},
|
|
"sizes": [],
|
|
"rollout": {
|
|
"from_commit": "c50b721",
|
|
"new_image": "sha256:06268d4303f30a714e7ec69c5bbe7b95fedbd861ff6b93034496bfe03dc14b16",
|
|
"old_image": "sha256:b923286f5d22e8f9e8e09952ce34626e497b319fe3eecbb02ac1ead59ceeb596",
|
|
"containers_before": [
|
|
{
|
|
"name": "mtusi-bench-api-1",
|
|
"instance": "3ff08f6d1141",
|
|
"tag": "mtusi-messenger:bench",
|
|
"image": "sha256:b923286f5d22e8f9e8e09952ce34626e497b319fe3eecbb02ac1ead59ceeb596",
|
|
"running": true
|
|
},
|
|
{
|
|
"name": "mtusi-bench-api-2",
|
|
"instance": "8b1e013c57d2",
|
|
"tag": "mtusi-messenger:bench",
|
|
"image": "sha256:b923286f5d22e8f9e8e09952ce34626e497b319fe3eecbb02ac1ead59ceeb596",
|
|
"running": true
|
|
}
|
|
],
|
|
"revision_before": "7652184b7016",
|
|
"containers_after": [
|
|
{
|
|
"name": "mtusi-bench-api-3",
|
|
"instance": "45350587c86e",
|
|
"tag": "mtusi-messenger:bench",
|
|
"image": "sha256:e7fb65bf75176d27d1920182f3263458bd835ebab47dafe9f2448bbcb0587464",
|
|
"running": true
|
|
},
|
|
{
|
|
"name": "mtusi-bench-api-4",
|
|
"instance": "87e621520c48",
|
|
"tag": "mtusi-messenger:bench",
|
|
"image": "sha256:e7fb65bf75176d27d1920182f3263458bd835ebab47dafe9f2448bbcb0587464",
|
|
"running": true
|
|
}
|
|
],
|
|
"revision_after": "e656d6bbe1a4",
|
|
"tag_after": "sha256:e7fb65bf75176d27d1920182f3263458bd835ebab47dafe9f2448bbcb0587464"
|
|
},
|
|
"limits": {
|
|
"api": {
|
|
"nano_cpus": 1000000000,
|
|
"memory": 536870912,
|
|
"memory_swap": 536870912,
|
|
"published_ports": {},
|
|
"healthcheck": [
|
|
"NONE"
|
|
],
|
|
"log_driver": "local"
|
|
},
|
|
"postgres": {
|
|
"nano_cpus": 2000000000,
|
|
"memory": 1073741824,
|
|
"memory_swap": 1073741824,
|
|
"published_ports": {},
|
|
"healthcheck": [
|
|
"CMD-SHELL",
|
|
"pg_isready -h 127.0.0.1 -U \"$POSTGRES_USER\" -d \"$POSTGRES_DB\""
|
|
],
|
|
"log_driver": "local"
|
|
},
|
|
"valkey": {
|
|
"nano_cpus": 500000000,
|
|
"memory": 134217728,
|
|
"memory_swap": 134217728,
|
|
"published_ports": {},
|
|
"healthcheck": [
|
|
"CMD-SHELL",
|
|
"test \"$(valkey-cli -p \"$VALKEY_PORT\" ping)\" = PONG"
|
|
],
|
|
"log_driver": "local"
|
|
},
|
|
"haproxy": {
|
|
"nano_cpus": 1000000000,
|
|
"memory": 268435456,
|
|
"memory_swap": 268435456,
|
|
"published_ports": {},
|
|
"healthcheck": [
|
|
"CMD",
|
|
"bash",
|
|
"-c",
|
|
"exec 3<>/dev/tcp/127.0.0.1/8404 && printf 'GET /lb/ready HTTP/1.0\\r\\n\\r\\n' >&3 && head -n 1 <&3 | grep -q ' 200 '"
|
|
],
|
|
"log_driver": "local"
|
|
},
|
|
"api_replicas": 2
|
|
},
|
|
"stand": {
|
|
"postgres": {
|
|
"image": "postgres:18.6-trixie@sha256:5a5a84b19854a9ffaa54082c166ff4ec27473a361e496e5ea167f298f2da9722",
|
|
"id": "sha256:5a5a84b19854a9ffaa54082c166ff4ec27473a361e496e5ea167f298f2da9722",
|
|
"version": "18.6 (Debian 18.6-1.pgdg13+2)",
|
|
"settings": {
|
|
"autovacuum": "on",
|
|
"checkpoint_timeout": "5min",
|
|
"effective_cache_size": "4GB",
|
|
"fsync": "on",
|
|
"jit": "on",
|
|
"maintenance_work_mem": "64MB",
|
|
"max_connections": "100",
|
|
"max_wal_size": "1GB",
|
|
"plan_cache_mode": "auto",
|
|
"random_page_cost": "4",
|
|
"shared_buffers": "128MB",
|
|
"shared_preload_libraries": "auto_explain",
|
|
"synchronous_commit": "on",
|
|
"wal_level": "replica",
|
|
"work_mem": "4MB"
|
|
}
|
|
},
|
|
"valkey": {
|
|
"image": "valkey/valkey:9.1.2-trixie@sha256:418652cfb58ef879d4978c33553735d7147016032d5aefaa14c828e611eb9dfd",
|
|
"id": "sha256:418652cfb58ef879d4978c33553735d7147016032d5aefaa14c828e611eb9dfd",
|
|
"version": "9.1.2",
|
|
"maxmemory": "67108864",
|
|
"maxmemory-clients": "0",
|
|
"maxmemory-eviction-tenacity": "10",
|
|
"maxmemory-policy": "allkeys-lru",
|
|
"maxmemory-samples": "5"
|
|
},
|
|
"haproxy": {
|
|
"image": "haproxy:3.4.6-trixie@sha256:e273915691a8eab3f105bf3e39fd4c29a4ecf334e33421903b5589d25e14db26",
|
|
"id": "sha256:e273915691a8eab3f105bf3e39fd4c29a4ecf334e33421903b5589d25e14db26",
|
|
"version": "HAProxy version 3.4.6-56332c5 2026/09/28 - https://haproxy.org/"
|
|
},
|
|
"app_env": {
|
|
"APP__PORT": "8080",
|
|
"APP__RUN_MODE": "docker",
|
|
"AUTH__SESSION_TTL_SECONDS": "21600",
|
|
"CACHE__HOST": "valkey",
|
|
"CACHE__PORT": "6379",
|
|
"DATABASE__HOST": "postgres",
|
|
"DATABASE__NAME": "bench",
|
|
"DATABASE__PORT": "5432",
|
|
"DATABASE__USER": "bench"
|
|
}
|
|
},
|
|
"finished_at": "2026-10-10T22:20:04+00:00"
|
|
}
|