Is it possible to include node load into the consistency hashing function in riak-core?

Zhemzhitsky Sergey sergey_zhemzhitsky at sberbank-cib.ru
Tue Oct 9 11:59:21 EDT 2012


Hi riak gurus,

Riak is a perfect key-value data store that allows to distribute load across the nodes based on the Dynamo principles.
What I’d like to achieve is to have the preferred list be sorted based on the current load (maybe erlang:statistics(run_queue)) of the nodes.

Is it possible to change the hashing function somehow so that the vnode on the node with the minimal load is returned as the first one?

Best Regards,
Sergey

_______________________________________________________
CONFIDENTIALITY NOTICE: This email and any files attached to it may be conf idential. If you are not the intended recipient you are notified that using, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error please notify the sender and delete this email. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20121009/95245cca/attachment.html>


More information about the riak-users mailing list