Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 590 Bytes

File metadata and controls

31 lines (21 loc) · 590 Bytes

DV2603 Project

A small Docker-based microservice project that demonstrates request distribution across multiple workers.

What it does

  • 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_robin
  • random
  • load_based

Run

From the repository root:

docker compose up --build

Open:

  • http://localhost/ (recommended, via proxy)

Stop

docker compose down