Gateway → instance (request) Completed response Dropped request
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Microservices Load Balancer: Request Routing & Failover

This simulation demonstrates the architecture of microservices as a live queueing system: an API gateway receives a stream of incoming requests and must route each one to an independent backend instance that will process it and return a response, showcasing the core distributed-systems trade-offs that govern real production clusters. Switch between round-robin, least-connections, weighted and random dispatch policies to see how each behaves under load, drag the request-rate and service-time sliders to push individual instances into saturation, and kill instances outright to watch the gateway detect the outage, fail traffic away from the dead node, and rebalance the remaining load — while live throughput, latency and drop-rate readouts track exactly how the queueing math plays out in real time.