Implement lab3 load balancing and failover

This commit is contained in:
2026-11-16 22:34:30 +03:00
parent 0ab3a341aa
commit 23f4fd6d41
25 changed files with 1327 additions and 18 deletions
+4
View File
@@ -0,0 +1,4 @@
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8080"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 122, "failed_attempts": 0, "first_recovery_seconds": 0.909}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.