Documentation
¶
Overview ¶
dev is a runnable example demonstrating round-robin load balancing across three echo backends with active health checks. The companion docker-compose.yml spins up the backends; this binary is the statute proxy in front of them.
Hit http://localhost:8080/ repeatedly to watch the access log alternate between echo-1/2/3. Stop one of the echo containers and watch the failover happen (the metrics endpoint at :9090/metrics counts 502 errors briefly until the health check demotes the dead backend).
Click to show internal directories.
Click to hide internal directories.