A small Docker-based microservice project that demonstrates request distribution across multiple workers.
- Uses NGINX as the entry point (
proxy) - Routes traffic through a custom Python load balancer (
loadbalancer) - Serves responses from three Python workers (
worker1,worker2,worker3)
The load balancer can run in:
round_robinrandomload_based
From the repository root:
docker compose up --buildOpen:
http://localhost/(recommended, via proxy)
docker compose down