{ "scenario": "sequential failover of each api replica", "resources_under_load": [ "messenger-lab4-api-1 cpu=44.28% mem=180MiB / 256MiB", "messenger-lab4-api-2 cpu=47.97% mem=137MiB / 256MiB", "messenger-lab4-lb-1 cpu=10.58% mem=13.88MiB / 64MiB", "messenger-lab4-postgres-1 cpu=25.75% mem=76.62MiB / 512MiB", "messenger-lab4-reconciler-1 cpu=0.00% mem=30.15MiB / 128MiB", "messenger-lab4-redis-1 cpu=1.84% mem=8.105MiB / 128MiB", "messenger-lab4-s3-1 cpu=2.26% mem=248.7MiB / 512MiB" ], "replicas": [ { "container": "/messenger-lab4-api-1 running image=0387c3cfc941", "action": "docker stop (SIGTERM, graceful)", "before": { "seconds": 5.0, "successful_writes": 669, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 133.8, "latency_ms_successful": { "p50": 12.7, "p95": 87.9, "p99": 101.1 }, "max_write_gap_seconds": 0.085, "instances": [ "0900a35b199d", "bb4424f819bb" ] }, "stop_command_seconds": 3.527, "target_last_success_after_stop_seconds": 1.476, "outage_window": { "seconds": 13.527, "successful_writes": 1452, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 107.3, "latency_ms_successful": { "p50": 13.7, "p95": 90.9, "p99": 99.1 }, "max_write_gap_seconds": 0.106, "instances": [ "0900a35b199d", "bb4424f819bb" ] }, "restore_until_healthy_seconds": 5.401, "restore_until_serving_seconds": 4.045, "after_restore": { "seconds": 5.025, "successful_writes": 781, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 155.4, "latency_ms_successful": { "p50": 11.4, "p95": 80.3, "p99": 106.7 }, "max_write_gap_seconds": 0.091, "instances": [ "0900a35b199d", "bb4424f819bb" ] } }, { "container": "/messenger-lab4-api-2 running image=0387c3cfc941", "action": "docker stop (SIGTERM, graceful)", "before": { "seconds": 5.0, "successful_writes": 777, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 155.4, "latency_ms_successful": { "p50": 11.4, "p95": 80.2, "p99": 106.7 }, "max_write_gap_seconds": 0.091, "instances": [ "0900a35b199d", "bb4424f819bb" ] }, "stop_command_seconds": 3.588, "target_last_success_after_stop_seconds": 1.931, "outage_window": { "seconds": 13.588, "successful_writes": 1560, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 114.8, "latency_ms_successful": { "p50": 12.6, "p95": 90.6, "p99": 149.4 }, "max_write_gap_seconds": 0.103, "instances": [ "0900a35b199d", "bb4424f819bb" ] }, "restore_until_healthy_seconds": 5.974, "restore_until_serving_seconds": 3.539, "after_restore": { "seconds": 5.035, "successful_writes": 793, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 157.5, "latency_ms_successful": { "p50": 11.1, "p95": 79.5, "p99": 94.0 }, "max_write_gap_seconds": 0.148, "instances": [ "0900a35b199d", "bb4424f819bb" ] } } ], "dataset": { "messages_in_db_before": 265, "messages_in_db_after": 7276 }, "history": { "confirmed": 7011, "stored": 7011, "lost_confirmed": 0, "duplicates": 0 }, "load": { "workers": 4, "model": "closed loop, POST message", "warmup_seconds": 5, "client_timeout_seconds": 2, "retry": "same Idempotency-Key until success" }, "date": "2026-11-05T14:07:08Z" }