Files
mtusi2026lab3/evidence/rollout/baseline/meta.json
T

363 lines
8.7 KiB
JSON

{
"kind": "rollout",
"label": "baseline",
"started": "2026-10-15T11:01:25Z",
"profile": {
"name": "rollout",
"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": [],
"targets": 0,
"before_s": 10.0,
"fail_s": 15.0,
"after_s": 10.0,
"restore_s": 10.0,
"rollout_before_s": 10.0,
"rollout_budget_s": 90.0,
"rollout_after_s": 15.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": "AC Power",
"memory_pressure": null,
"memory_free_percent": 79,
"swapouts": 0,
"loadavg_1m": 3.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": 8.75,
"limits_memory_gib": 4.12,
"vm_cpus": 10,
"vm_memory_gib": 7.65
},
"host_warnings": [],
"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
}
},
"image_new": {
"tag": "mtusi-messenger-vladimirceva:bench-baseline-new",
"id": "sha256:7e76257e87694a1a404f2abdad942d67ee600f9330d3b88c9ad0e9328b7f4e4f",
"created": "2026-10-15T10:47:54.754022834Z",
"src_sha256": "8f08ac65b812ea67a884087535e133855ff33f7408b91ae46a8d292fbb613392",
"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": "dc1e8a3aff78634335f89c471d62fd363fe322f0",
"git_dirty": false
},
"rollout": {
"schema_head_before": "0002",
"probe_revision": "9001",
"replicas_before": [
"8426dc470e58",
"8fe1b57c6f9d"
],
"images_before": [
"sha256:ac17d94cda500d4a65418c184deec9428e706ff40a68a7789b068c973c7d4e05"
],
"alembic_before": "0002",
"clock_offset_s": 0.019,
"script_exit": 0,
"script_seconds": 10.1,
"replicas_after": [
"23ce58591a63",
"b3a69b4e5e88"
],
"images_after": [
"sha256:7e76257e87694a1a404f2abdad942d67ee600f9330d3b88c9ad0e9328b7f4e4f"
],
"alembic_after": "9001",
"probe_column": true,
"checks": {
"replicas_after": true,
"no_old_replica": true,
"single_new_image": true,
"migrated": true,
"probe_column": true,
"writes_verified": true
},
"container_events": [
{
"t_s": 0.63,
"action": "create",
"container": "4529a10cb5fa",
"role": "migrate"
},
{
"t_s": 0.7,
"action": "start",
"container": "4529a10cb5fa",
"role": "migrate"
},
{
"t_s": 1.64,
"action": "die",
"container": "4529a10cb5fa",
"role": "migrate"
},
{
"t_s": 1.81,
"action": "create",
"container": "23ce58591a63",
"role": "new"
},
{
"t_s": 1.87,
"action": "start",
"container": "23ce58591a63",
"role": "new"
},
{
"t_s": 3.73,
"action": "kill",
"container": "8426dc470e58",
"role": "old"
},
{
"t_s": 4.0,
"action": "stop",
"container": "8426dc470e58",
"role": "old"
},
{
"t_s": 4.0,
"action": "die",
"container": "8426dc470e58",
"role": "old"
},
{
"t_s": 4.05,
"action": "destroy",
"container": "8426dc470e58",
"role": "old"
},
{
"t_s": 6.21,
"action": "create",
"container": "b3a69b4e5e88",
"role": "new"
},
{
"t_s": 6.28,
"action": "start",
"container": "b3a69b4e5e88",
"role": "new"
},
{
"t_s": 8.93,
"action": "kill",
"container": "8fe1b57c6f9d",
"role": "old"
},
{
"t_s": 9.25,
"action": "stop",
"container": "8fe1b57c6f9d",
"role": "old"
},
{
"t_s": 9.25,
"action": "die",
"container": "8fe1b57c6f9d",
"role": "old"
},
{
"t_s": 9.3,
"action": "destroy",
"container": "8fe1b57c6f9d",
"role": "old"
}
],
"retry": {
"keys": 11500,
"failed": 0,
"recovered": 0,
"attempts": 0
},
"rows": 11500,
"distinct_texts": 11500,
"lb_errors": {}
},
"setup": {
"users": 4,
"read_chat": "51e3d887-69b2-43b9-aa1d-e0588ab96f83",
"read_messages": 1000,
"cursors": 20,
"fill_s": 0.98,
"fill_rps": 1022.9
},
"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": 116,
"finished": "2026-10-15T11:03:32Z",
"host_state_end": {
"slept_seconds": 0.0,
"swapouts_start": 0,
"swapouts_end": 0,
"power_end": "AC Power",
"swapouts_delta": 0
}
}