add code for level 4

This commit is contained in:
Матвей
2026-10-14 15:25:51 +03:00
parent 6e7b8007ac
commit 516bb095ac
11 changed files with 175 additions and 13 deletions
+4
View File
@@ -0,0 +1,4 @@
$ make test-rolling
python3 student-tests/rolling_update.py --base-url "http://localhost:8080"
{"instances_before": 2, "instances_after": 2, "successful_writes": 380, "failed_writes": 0, "elapsed_seconds": 12.239, "successful_rps": 31.048, "successful_latency_ms": {"p50": 6.288, "p95": 12.973, "p99": 55.053}}
PASS: sequential API replacement preserved writes through load balancer