Load Balancer
A component that distributes incoming requests among several servers or replicas. The goal is to ensure that no single server becomes overloaded.
Why in AI
- Several inference-engines serve requests together;
- The failure of one server does not bring down the service;
- Throughput increases.
Strategies
- round-robin — in turn;
- least connections — to the one with the fewest connections;
- hash-based — by request key.