basho / riak-nodejs-client

The Riak client for Node.js.
Apache License 2.0
72 stars 29 forks source link

Improve load balancing strategy [JIRA: CLIENTS-663] #107

Closed lukebakken closed 8 years ago

lukebakken commented 8 years ago

A riak-nodejs-client user has noted a scenario in which one node has 2x the network traffic of the other nodes in the cluster. My initial theory is that a slow node is causing commands to "pile up" on this node.

More information needed:

Proposed solution: in the default node manager, take the current # of executing commands on a node into account when selecting a node for the next command. Try to keep the execution # the same or close to it for all nodes.

lukebakken commented 8 years ago

@drewkerrigan

lukebakken commented 8 years ago

create jira issue

DSomogyi commented 8 years ago

create jira issue