Networking · Flashcard

When would you pick least connections over round robin for a load balancer?

medium Realtime

Answer

When requests differ a lot in how long they take, or connections are long-lived (WebSockets, streaming). Round robin hands out equal counts, so a server stuck with slow work keeps getting more; least connections sends new work to the server that is least busy now.

Review this in your daily deck All cards in Networking