# Lab 3 grade-4 experiment Generated: 2026-10-23T15:23:05.031807+00:00. ## Method - concurrency: 8; - baseline duration: 12 s; - load: closed-loop POST messages through the public HAProxy gateway; - failover: both original API containers stopped and restored in turn; - rolling update: one surge replica, old replicas replaced one by one; - percentiles cover successful responses; failures are separate. ## Results | Phase | RPS | Errors | p50 ms | p95 ms | p99 ms | Recovery s | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | baseline | 479.581 | 0 (0.000%) | 9.178 | 56.402 | 79.978 | n/a | | failover-1 | 537.548 | 0 (0.000%) | 8.812 | 50.05 | 66.373 | 2.893 | | failover-2 | 533.154 | 0 (0.000%) | 8.726 | 48.789 | 64.333 | 2.938 | | rolling-update | 428.86 | 0 (0.000%) | 10.56 | 58.713 | 83.982 | n/a | ## Parallel idempotency 32 requests produced 1 unique message ID across 2 API instances. ## Graphs ![Throughput and errors](throughput-errors.svg) ![Latency](latency.svg) ![Timeline](timeline.svg) ![Resources](resources.svg) ## Scope Single-host process failure and rolling replacement only. PostgreSQL and HAProxy remain single points of failure.