round robin

A way of spreading work by taking turns in a fixed order, giving the next item to the next recipient in the list.

In more detail

Round robin spreads load evenly without needing to know anything about the items. It gives no ordering across recipients.

Examples

Some Kafka partitioners send unkeyed records to partitions in turn.
It spreads requests evenly by count, not by how busy each backend is. Long-lived connections or slow requests can therefore leave some backends busier than others.
The Node.js cluster primary uses round robin (cluster.SCHED_RR) by default on every platform except Windows.

Related terms

Taught in

References

Certification courses