-
Notifications
You must be signed in to change notification settings - Fork 893
Closed
Labels
Type: EnhancementNew feature or requestNew feature or request
Milestone
Description
Load balance by taking the "next" backend in the list for each incoming request. We wrap around to the start of the list when we run out of backends.
Since requests will likely be highly-concurrent, there's some complexity here in how the state is maintained. Also, since backends can change, we'll need to consider how this algorithm behaves in that case. Naively, this would be a simple atomic counter that the load balancer does an atomic increment-and-return, then modulus by the number of backends to figure out which backend to use.
Metadata
Metadata
Assignees
Labels
Type: EnhancementNew feature or requestNew feature or request