Files
mtusi2026lab5/evidence/rollout/async-attachments/meta.json
T
ricoromaandClaude Opus 5.5 acc6584dd3 docs: record async-attachments evidence and report
Evidence taken on ff1a83b. The report covers level 3; levels 4 and 5 are
closed by the following changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 08:30:46 +03:00

452 lines
12 KiB
JSON

{
"label": "async-attachments",
"status": "complete",
"started_at": "2026-10-31T04:25:44+00:00",
"command": "uv run python bench/run.py --profile rollout --label async-attachments",
"git": {
"commit": "ff1a83b",
"dirty": false
},
"overrides": {},
"host_state": {
"start": {
"swap_used_mib": 5630.44,
"swap_total_mib": 7168.0,
"swapouts": 5400539,
"memory_free_percent": 57,
"power": "AC Power",
"battery_percent": 80
},
"end": {
"swap_used_mib": 5630.44,
"swap_total_mib": 7168.0,
"swapouts": 5400539,
"memory_free_percent": 54,
"power": "AC Power",
"battery_percent": 80
},
"swapouts_delta": 0,
"slept_seconds": 0
},
"host_warnings": [],
"other_containers": [],
"resources": {
"budget": {
"cpus": 6.75,
"memory_gib": 3.0,
"peak_replicas": 3,
"vm_cpus": 12,
"vm_memory_gib": 7.75,
"generator": "no limit"
},
"mode": "scan",
"interval_s": 1.0,
"containers": {
"b3ed595e9305": {
"name": "mtusi-bench-haproxy",
"role": "haproxy"
},
"b3020a165b6f": {
"name": "mtusi-bench-api-1",
"role": "api"
},
"3d674966f270": {
"name": "mtusi-bench-api-2",
"role": "api"
},
"fa7286289c36": {
"name": "mtusi-bench-postgres",
"role": "postgres"
},
"9ada71e1e065": {
"name": "mtusi-bench-valkey",
"role": "valkey"
},
"c2b9d52cb88f": {
"name": "mtusi-bench-k6",
"role": "k6"
},
"4a0a5cbfd2af": {
"name": "mtusi-bench-sampler",
"role": "sampler"
},
"e0a67f331768": {
"name": "mtusi-bench-api-4",
"role": "api"
},
"4729d5eef224": {
"name": "mtusi-bench-api-3",
"role": "api"
},
"5cee4253a366": {
"name": "mtusi-bench-migrate-1",
"role": "migrate"
}
},
"unmapped": 0
},
"app_image": {
"tag": "mtusi-messenger:bench",
"id": "sha256:8a77c0a5487b362efd241facf50029cabfeb402e194000e2c99b6b92e9e44c07",
"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.9.2",
"vm_os": "Docker Desktop",
"kernel": "7.0.14-linuxkit",
"vm_cpus": 12,
"vm_memory_gib": 7.7,
"cgroup": "2",
"logging_driver": "local"
},
"host": {
"os": "macOS 26.7.1",
"machine": "Apple M3 Pro",
"memory_gib": 18.0,
"performance_cores": 6,
"efficiency_cores": 6
},
"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": "04f8592",
"rollout_before_s": 15,
"rollout_budget_s": 90,
"rollout_after_s": 15,
"sample_resources": true,
"uploads_variants": [],
"uploads_before": "",
"uploads_success_codes": [
[
"before",
201
],
[
"unlimited",
202
],
[
"limited",
202
]
],
"uploads_sizes": [],
"uploads_clients": [],
"uploads_ramp_s": 3,
"uploads_window_s": 20,
"uploads_unlimited_env": [
[
"UPLOADS__MAX_CONCURRENT",
"1000"
],
[
"UPLOADS__MAX_WAITING",
"0"
]
],
"uploads_sample_interval_s": 0.2,
"s3_cpus": "1",
"s3_memory": "512m",
"broker_cpus": "1",
"broker_memory": "512m",
"worker_cpus": "1",
"worker_memory": "1g",
"cleaner_cpus": "0.25",
"cleaner_memory": "256m",
"reconcile_stages": [],
"reconcile_before": "",
"reconcile_s4_clean": 0,
"reconcile_s4_candidates": [],
"reconcile_s4_max_changes": 100,
"reconcile_grace_s": 30,
"reconcile_fresh_wait_s": 2,
"reconcile_fast_cpus": "1",
"reconcile_default_rate": 2000,
"reconcile_background": [
[
"download",
300
],
[
"write",
50
],
[
"read",
50
]
],
"reconcile_downloads": 5000,
"reconcile_bg_max_vus": 600,
"reconcile_quiet_s": 30,
"reconcile_fill_processes": 3,
"reconcile_fill_threads": 24,
"reconcile_sample_interval_s": 0.5,
"reconcile_metrics_port": 9327,
"reconcile_h1_stages": [],
"reconcile_h2_stages": [],
"reconcile_h3_stages": [],
"reconcile_s4_base": "",
"db_max_connections": 100,
"series": "",
"configs": [],
"write_chats": 1,
"mix": [],
"fixed_rps": [],
"ladder_base": 100,
"step_factor": 1.25,
"start_rps_per_replica": 300,
"bisect_steps": 2,
"max_steps": 12,
"first_warmup_s": 15,
"step_warmup_s": 5,
"step_measure_s": 20,
"cooldown_s": 10,
"slo_p95_ms": 200,
"slo_error_ratio": 0.01,
"abort_error_ratio": 0.5,
"abort_p95_ms": 2000,
"request_timeout_s": 15,
"prevus_per_rps": 0.05,
"vus_per_rps": 0.2,
"generator_cpus": "",
"generator_memory": "",
"sampler_cpus": "0.25",
"sampler_memory": "128m",
"sample_interval_s": 1.0,
"order_seed": 20261011
},
"sizes": [],
"rollout": {
"from_commit": "04f8592",
"new_image": "sha256:8a77c0a5487b362efd241facf50029cabfeb402e194000e2c99b6b92e9e44c07",
"old_image": "sha256:86400e91c9cf71832bb85f408907b558c8a231b64099d019effbef52bd5a22d0",
"containers_before": [
{
"name": "mtusi-bench-api-1",
"instance": "b3020a165b6f",
"tag": "mtusi-messenger:bench",
"image": "sha256:86400e91c9cf71832bb85f408907b558c8a231b64099d019effbef52bd5a22d0",
"running": true
},
{
"name": "mtusi-bench-api-2",
"instance": "3d674966f270",
"tag": "mtusi-messenger:bench",
"image": "sha256:86400e91c9cf71832bb85f408907b558c8a231b64099d019effbef52bd5a22d0",
"running": true
}
],
"revision_before": "5c3e1f0a9b7d",
"containers_after": [
{
"name": "mtusi-bench-api-3",
"instance": "4729d5eef224",
"tag": "mtusi-messenger:bench",
"image": "sha256:4b52436fa847f0ea767ecc4569fdf52b7e0997c7d582c77ff8bfc149c5f5c6c6",
"running": true
},
{
"name": "mtusi-bench-api-4",
"instance": "e0a67f331768",
"tag": "mtusi-messenger:bench",
"image": "sha256:4b52436fa847f0ea767ecc4569fdf52b7e0997c7d582c77ff8bfc149c5f5c6c6",
"running": true
}
],
"revision_after": "a1d4c7e90b23",
"tag_after": "sha256:4b52436fa847f0ea767ecc4569fdf52b7e0997c7d582c77ff8bfc149c5f5c6c6",
"script_start_at": "2026-10-31T04:26:16.993+00:00"
},
"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"
},
"k6": {
"nano_cpus": 0,
"memory": 0,
"memory_swap": 0,
"published_ports": {},
"healthcheck": null,
"log_driver": "local"
},
"api_replicas": 2,
"max_connections": 100,
"sampler": {
"nano_cpus": 250000000,
"memory": 134217728,
"memory_swap": 134217728,
"published_ports": {},
"healthcheck": null,
"log_driver": "local"
}
},
"stand": {
"api_tcp_rmem": "4096 131072 524288",
"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",
"BROKER__HOST": "rabbitmq",
"BROKER__PORT": "5672",
"BROKER__USER": "bench",
"CACHE__HOST": "valkey",
"CACHE__PORT": "6379",
"DATABASE__HOST": "postgres",
"DATABASE__NAME": "bench",
"DATABASE__PORT": "5432",
"DATABASE__USER": "bench",
"S3__BUCKET": "bench",
"S3__HOST": "s3",
"S3__PORT": "8333"
}
},
"finished_at": "2026-10-31T04:28:05+00:00"
}