{ "scenario": "sequential failover of each api replica", "resources_under_load": [ "messenger-lab3-api-10 cpu=50.96% mem=95.24MiB / 256MiB", "messenger-lab3-api-9 cpu=43.28% mem=130.2MiB / 256MiB", "messenger-lab3-lb-1 cpu=12.66% mem=13.96MiB / 64MiB", "messenger-lab3-postgres-1 cpu=24.59% mem=60.97MiB / 512MiB", "messenger-lab3-redis-1 cpu=2.19% mem=9.832MiB / 128MiB" ], "replicas": [ { "container": "/messenger-lab3-api-10 running image=f80c910ed3d1", "action": "docker stop (SIGTERM, graceful)", "before": { "seconds": 5.0, "successful_writes": 784, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 156.8, "latency_ms_successful": { "p50": 10.6, "p95": 78.0, "p99": 170.9 }, "max_write_gap_seconds": 0.088, "instances": [ "2701b0d53e0f", "75ad096eed0a" ] }, "stop_command_seconds": 3.464, "target_last_success_after_stop_seconds": 1.353, "outage_window": { "seconds": 13.464, "successful_writes": 1746, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 129.7, "latency_ms_successful": { "p50": 11.1, "p95": 85.7, "p99": 172.3 }, "max_write_gap_seconds": 0.457, "instances": [ "2701b0d53e0f", "75ad096eed0a" ] }, "restore_until_healthy_seconds": 5.621, "restore_until_serving_seconds": 3.995, "after_restore": { "seconds": 5.026, "successful_writes": 898, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 178.7, "latency_ms_successful": { "p50": 9.8, "p95": 73.4, "p99": 88.6 }, "max_write_gap_seconds": 0.088, "instances": [ "2701b0d53e0f", "75ad096eed0a" ] } }, { "container": "/messenger-lab3-api-9 running image=f80c910ed3d1", "action": "docker stop (SIGTERM, graceful)", "before": { "seconds": 5.0, "successful_writes": 898, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 179.6, "latency_ms_successful": { "p50": 9.8, "p95": 73.4, "p99": 88.6 }, "max_write_gap_seconds": 0.088, "instances": [ "2701b0d53e0f", "75ad096eed0a" ] }, "stop_command_seconds": 3.471, "target_last_success_after_stop_seconds": 1.969, "outage_window": { "seconds": 13.471, "successful_writes": 1791, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 132.9, "latency_ms_successful": { "p50": 11.0, "p95": 87.3, "p99": 102.5 }, "max_write_gap_seconds": 0.103, "instances": [ "2701b0d53e0f", "75ad096eed0a" ] }, "restore_until_healthy_seconds": 5.753, "restore_until_serving_seconds": 3.591, "after_restore": { "seconds": 5.032, "successful_writes": 854, "failed_attempts": 0, "error_ratio": 0.0, "successful_rps": 169.7, "latency_ms_successful": { "p50": 10.3, "p95": 76.0, "p99": 92.6 }, "max_write_gap_seconds": 0.078, "instances": [ "2701b0d53e0f", "75ad096eed0a" ] } } ], "dataset": { "messages_in_db_before": 72994, "messages_in_db_after": 81019 }, "history": { "confirmed": 8025, "stored": 8025, "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-01T14:26:05Z" }