Skip to content

Add a soft-limit check to vnode proxy#921

Closed
russelldb wants to merge 4 commits into
basho:develop-2.2from
russelldb:rdb/gh-1661
Closed

Add a soft-limit check to vnode proxy#921
russelldb wants to merge 4 commits into
basho:develop-2.2from
russelldb:rdb/gh-1661

Conversation

@russelldb

@russelldb russelldb commented Jun 19, 2018

Copy link
Copy Markdown
Contributor

See riak#1661 for initial issue/discussion.

This PR supports basho/riak_kv#1670

Adds a message (call and cast) for getting the estimated length of the mailbox queue from the vnode proxy. The returns of soft-limit indicates that the estimate of the vnode queue length is greater or equal to double the check interval. The return includes the mailbox queue estimated length and the check interval (i.e. soft-limit / 2) so that the caller can make their own decisions about the load state of the vnode.

NOTE: in our testing we lowered the check interval down to 50 as even a small increase in queue size can lead to high outlying latency increases for coordinated operations.

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.

2 participants