Skip to content

Conversation

@jul-stas
Copy link
Owner

Default strategy for intranode load balancing is the "least busy"
strategy, that is, we choose the connection that has as few pending
requests (inflight_request_count()) as possible.

This patch adds an alternative strategy: the usual round-robin.

@jul-stas jul-stas force-pushed the round-robin-for-node-connections branch from 1442da0 to 0d483f0 Compare June 16, 2020 14:20
Default strategy for intranode load balancing is the "least busy"
strategy, that is, we choose the connection that has as few pending
requests (`inflight_request_count()`) as possible.

This patch adds an alternative strategy: the usual round-robin.
@jul-stas jul-stas force-pushed the round-robin-for-node-connections branch from 0d483f0 to 7dcb2d1 Compare July 9, 2020 10:41
jul-stas pushed a commit that referenced this pull request Aug 6, 2020
ConnectionPool: allow picking connections by round-robin strategy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant