docs: record pipeline-reliability evidence and report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,450 @@
|
||||
{
|
||||
"label": "pipeline-reliability",
|
||||
"status": "complete",
|
||||
"started_at": "2026-10-31T12:37:41+00:00",
|
||||
"command": "uv run python bench/run.py --profile rollout --label pipeline-reliability",
|
||||
"git": {
|
||||
"commit": "e2a6427",
|
||||
"dirty": false
|
||||
},
|
||||
"overrides": {},
|
||||
"host_state": {
|
||||
"start": {
|
||||
"swap_used_mib": 4909.19,
|
||||
"swap_total_mib": 6144.0,
|
||||
"swapouts": 6185992,
|
||||
"memory_free_percent": 49,
|
||||
"power": "AC Power",
|
||||
"battery_percent": 80
|
||||
},
|
||||
"end": {
|
||||
"swap_used_mib": 4789.06,
|
||||
"swap_total_mib": 6144.0,
|
||||
"swapouts": 6185992,
|
||||
"memory_free_percent": 44,
|
||||
"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": {
|
||||
"b73a0284429f": {
|
||||
"name": "mtusi-bench-haproxy",
|
||||
"role": "haproxy"
|
||||
},
|
||||
"7f9e26d97d35": {
|
||||
"name": "mtusi-bench-api-1",
|
||||
"role": "api"
|
||||
},
|
||||
"30534621fb14": {
|
||||
"name": "mtusi-bench-api-2",
|
||||
"role": "api"
|
||||
},
|
||||
"31d8ed754050": {
|
||||
"name": "mtusi-bench-postgres",
|
||||
"role": "postgres"
|
||||
},
|
||||
"2f2c23c0644b": {
|
||||
"name": "mtusi-bench-valkey",
|
||||
"role": "valkey"
|
||||
},
|
||||
"e098a332d4c4": {
|
||||
"name": "mtusi-bench-k6",
|
||||
"role": "k6"
|
||||
},
|
||||
"ab69233ba587": {
|
||||
"name": "mtusi-bench-sampler",
|
||||
"role": "sampler"
|
||||
},
|
||||
"d01ebd2661aa": {
|
||||
"name": "mtusi-bench-api-4",
|
||||
"role": "api"
|
||||
},
|
||||
"979f1b71aea4": {
|
||||
"name": "mtusi-bench-api-3",
|
||||
"role": "api"
|
||||
},
|
||||
"27646edc4615": {
|
||||
"name": "mtusi-bench-migrate-1",
|
||||
"role": "migrate"
|
||||
}
|
||||
},
|
||||
"unmapped": 0
|
||||
},
|
||||
"app_image": {
|
||||
"tag": "mtusi-messenger:bench",
|
||||
"id": "sha256:93add88a03fdc355cae360d0f0a0fe9b0afb7287dfe4f3a954012f470b038b6a",
|
||||
"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": "7f38948",
|
||||
"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",
|
||||
"relay_cpus": "0.25",
|
||||
"relay_memory": "256m",
|
||||
"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": "7f38948",
|
||||
"new_image": "sha256:93add88a03fdc355cae360d0f0a0fe9b0afb7287dfe4f3a954012f470b038b6a",
|
||||
"old_image": "sha256:53a61c80d8c078c3fa3b74b1d2e77a69fdcc711a68e27050a26215abc0611725",
|
||||
"containers_before": [
|
||||
{
|
||||
"name": "mtusi-bench-api-1",
|
||||
"instance": "7f9e26d97d35",
|
||||
"tag": "mtusi-messenger:bench",
|
||||
"image": "sha256:de2a95419621711070afe18d54d2b043175fb55bc4b941d170b1cd748120f56f",
|
||||
"running": true
|
||||
},
|
||||
{
|
||||
"name": "mtusi-bench-api-2",
|
||||
"instance": "30534621fb14",
|
||||
"tag": "mtusi-messenger:bench",
|
||||
"image": "sha256:de2a95419621711070afe18d54d2b043175fb55bc4b941d170b1cd748120f56f",
|
||||
"running": true
|
||||
}
|
||||
],
|
||||
"revision_before": "a1d4c7e90b23",
|
||||
"containers_after": [
|
||||
{
|
||||
"name": "mtusi-bench-api-3",
|
||||
"instance": "979f1b71aea4",
|
||||
"tag": "mtusi-messenger:bench",
|
||||
"image": "sha256:7f789a74c38b508e71836ccfab0f866edc19adbc1ddec9ab8f2a95284bb85493",
|
||||
"running": true
|
||||
},
|
||||
{
|
||||
"name": "mtusi-bench-api-4",
|
||||
"instance": "d01ebd2661aa",
|
||||
"tag": "mtusi-messenger:bench",
|
||||
"image": "sha256:7f789a74c38b508e71836ccfab0f866edc19adbc1ddec9ab8f2a95284bb85493",
|
||||
"running": true
|
||||
}
|
||||
],
|
||||
"revision_after": "d3f9a6b2c1e7",
|
||||
"tag_after": "sha256:9c7bde4c625f1daca8d2c822f5251dbb063b03c87b8e30cfc936552773ea3a9b",
|
||||
"script_start_at": "2026-10-31T12:38:14.938+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:f4fcd2b983483177b15d72d94fb3614736211554f7cac5c2cc54a05c75110b90",
|
||||
"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:5a6ac3cceea0d4cebe48911dfa5f393f49feea86a2c55c5ac6b0ba733a1713b6",
|
||||
"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:a92cbb5d7b4ba27898706659bde5039cc86e4ebee44f243d410f268200f7406f",
|
||||
"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",
|
||||
"S3__BUCKET": "bench",
|
||||
"S3__HOST": "s3",
|
||||
"S3__PORT": "8333"
|
||||
}
|
||||
},
|
||||
"finished_at": "2026-10-31T12:40:03+00:00"
|
||||
}
|
||||
Reference in New Issue
Block a user