208 lines
5.1 KiB
JSON
208 lines
5.1 KiB
JSON
{
|
|
"kind": "failover",
|
|
"label": "baseline",
|
|
"started": "2026-10-15T10:55:52Z",
|
|
"profile": {
|
|
"name": "failover",
|
|
"limits": {
|
|
"api_replicas": 2,
|
|
"api_cpus": 1.0,
|
|
"api_memory": "512m",
|
|
"db_cpus": 2.0,
|
|
"db_memory": "1g",
|
|
"db_max_connections": 100,
|
|
"cache_cpus": 0.5,
|
|
"cache_memory": "128m",
|
|
"lb_cpus": 1.0,
|
|
"lb_memory": "256m",
|
|
"gen_cpus": 2.0,
|
|
"gen_memory": "1g",
|
|
"sampler_cpus": 0.25,
|
|
"sampler_memory": "256m"
|
|
},
|
|
"users": 4,
|
|
"read_messages": 1000,
|
|
"write_rate": 100.0,
|
|
"read_rate": 100.0,
|
|
"gen_procs": 2,
|
|
"session_ttl": 21600,
|
|
"seed": 20261014,
|
|
"modes": [
|
|
"stop",
|
|
"kill",
|
|
"pause"
|
|
],
|
|
"targets": 2,
|
|
"before_s": 10.0,
|
|
"fail_s": 15.0,
|
|
"after_s": 10.0,
|
|
"restore_s": 10.0,
|
|
"rollout_before_s": 0.0,
|
|
"rollout_budget_s": 0.0,
|
|
"rollout_after_s": 0.0,
|
|
"bounds": [
|
|
[
|
|
"stop",
|
|
2.5
|
|
],
|
|
[
|
|
"kill",
|
|
2.5
|
|
],
|
|
[
|
|
"pause",
|
|
6.5
|
|
]
|
|
]
|
|
},
|
|
"host": {
|
|
"platform": "macOS-26.6.2-arm64-arm-64bit-Mach-O",
|
|
"machine": "arm64",
|
|
"cpu_model": "Apple M4",
|
|
"cpu_count": 10,
|
|
"ram_gb": 16.0,
|
|
"swap_used_mib": 0.0,
|
|
"power": "Battery Power",
|
|
"memory_pressure": null,
|
|
"memory_free_percent": 79,
|
|
"swapouts": 0,
|
|
"loadavg_1m": 1.34
|
|
},
|
|
"docker": {
|
|
"ServerVersion": "28.0.4",
|
|
"OperatingSystem": "Docker Desktop",
|
|
"KernelVersion": "6.10.14-linuxkit",
|
|
"Architecture": "aarch64",
|
|
"NCPU": 10,
|
|
"MemTotal": 8218034176,
|
|
"CgroupVersion": "2",
|
|
"CgroupDriver": "cgroupfs",
|
|
"compose_version": "2.34.0-desktop.1",
|
|
"other_running_containers": []
|
|
},
|
|
"budget": {
|
|
"limits_cpus": 7.75,
|
|
"limits_memory_gib": 3.62,
|
|
"vm_cpus": 10,
|
|
"vm_memory_gib": 7.65
|
|
},
|
|
"host_warnings": [
|
|
"host on battery power: CPU may be throttled"
|
|
],
|
|
"image": {
|
|
"tag": "mtusi-messenger-vladimirceva:bench-baseline",
|
|
"id": "sha256:ac17d94cda500d4a65418c184deec9428e706ff40a68a7789b068c973c7d4e05",
|
|
"created": "2026-10-15T10:39:12.700675009Z",
|
|
"src_sha256": "0349e9a2701784673391c0ba4bc2eedba7013098d6ff7f871261aab36f78354a",
|
|
"versions": {
|
|
"python": "3.13.15",
|
|
"fastapi": "0.142.1",
|
|
"starlette": "1.7.0",
|
|
"uvicorn": "0.54.0",
|
|
"pydantic": "2.13.5",
|
|
"sqlalchemy": "2.1.1",
|
|
"asyncpg": "0.31.0",
|
|
"alembic": "1.20.0",
|
|
"redis": "8.1.0",
|
|
"argon2-cffi": "25.1.0"
|
|
},
|
|
"app_defaults": {
|
|
"pool_size": 10,
|
|
"pool_overflow": 5,
|
|
"pool_timeout": 5.0,
|
|
"operation_timeout": 6.0,
|
|
"statement_timeout_ms": 5000,
|
|
"kdf_concurrency": 4,
|
|
"keep_alive": 60,
|
|
"shutdown_timeout": 5
|
|
}
|
|
},
|
|
"code": {
|
|
"src_sha256": "0349e9a2701784673391c0ba4bc2eedba7013098d6ff7f871261aab36f78354a",
|
|
"git_commit": "006ec24d208670f6405bc1bd02f2aafe207e2b30",
|
|
"git_dirty": false
|
|
},
|
|
"setup": {
|
|
"users": 4,
|
|
"read_chat": "691d7f26-cb3d-4fbf-8037-95c2b0ff2f98",
|
|
"read_messages": 1000,
|
|
"cursors": 20,
|
|
"fill_s": 0.94,
|
|
"fill_rps": 1069.0
|
|
},
|
|
"stand": {
|
|
"postgres": {
|
|
"image": "postgres:18.6-trixie@sha256:5a5a84b19854a9ffaa54082c166ff4ec27473a361e496e5ea167f298f2da9722",
|
|
"version": "18.6 (Debian 18.6-1.pgdg13+2)",
|
|
"settings": {
|
|
"checkpoint_timeout": "5min",
|
|
"fsync": "on",
|
|
"jit": "on",
|
|
"max_connections": "100",
|
|
"max_wal_size": "1GB",
|
|
"password_encryption": "scram-sha-256",
|
|
"shared_buffers": "128MB",
|
|
"synchronous_commit": "on",
|
|
"wal_level": "replica"
|
|
}
|
|
},
|
|
"valkey": {
|
|
"image": "valkey/valkey:9.1.2-trixie@sha256:418652cfb58ef879d4978c33553735d7147016032d5aefaa14c828e611eb9dfd",
|
|
"version": "9.1.2"
|
|
},
|
|
"haproxy": {
|
|
"image": "haproxy:3.4.6-trixie@sha256:e273915691a8eab3f105bf3e39fd4c29a4ecf334e33421903b5589d25e14db26"
|
|
},
|
|
"limits": {
|
|
"api": {
|
|
"nano_cpus": 1000000000,
|
|
"memory": 536870912,
|
|
"memory_swap": 536870912,
|
|
"published_ports": {}
|
|
},
|
|
"postgres": {
|
|
"nano_cpus": 2000000000,
|
|
"memory": 1073741824,
|
|
"memory_swap": 1073741824,
|
|
"published_ports": {}
|
|
},
|
|
"valkey": {
|
|
"nano_cpus": 500000000,
|
|
"memory": 134217728,
|
|
"memory_swap": 134217728,
|
|
"published_ports": {}
|
|
},
|
|
"haproxy": {
|
|
"nano_cpus": 1000000000,
|
|
"memory": 268435456,
|
|
"memory_swap": 268435456,
|
|
"published_ports": {}
|
|
}
|
|
},
|
|
"api_replicas": 2,
|
|
"app_env": {
|
|
"APP_HOST": "0.0.0.0",
|
|
"APP_PORT": "8080",
|
|
"CACHE_HOST": "valkey",
|
|
"CACHE_PORT": "6379",
|
|
"DB_HOST": "postgres",
|
|
"DB_NAME": "bench",
|
|
"DB_PORT": "5432",
|
|
"DB_USER": "bench",
|
|
"IDEMPOTENCY_TTL_SECONDS": "86400",
|
|
"LOG_LEVEL": "INFO",
|
|
"SESSION_TTL_SECONDS": "21600",
|
|
"SHUTDOWN_TIMEOUT": "5"
|
|
}
|
|
},
|
|
"sampler_ticks": 281,
|
|
"finished": "2026-10-15T11:00:43Z",
|
|
"host_state_end": {
|
|
"slept_seconds": 0.0,
|
|
"swapouts_start": 0,
|
|
"swapouts_end": 0,
|
|
"power_end": "Battery Power",
|
|
"swapouts_delta": 0
|
|
}
|
|
}
|