Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make distribution function (pick none/shard) configurable. #9

Closed
cabol opened this issue May 27, 2016 · 1 comment
Closed

Make distribution function (pick none/shard) configurable. #9

cabol opened this issue May 27, 2016 · 1 comment

Comments

@cabol
Copy link
Owner

cabol commented May 27, 2016

Currently shards_dist uses Jumping Consistent Hashing, but it would be good to make this function to calculate/pick the node totally configurable.

I don't know if make sense do the same for shards_local, because locally, we always have the same amount of shards and the function is pretty dump and simple (erlang:phash2/2).

cabol added a commit that referenced this issue Jun 1, 2016
[#9] Implement configurable and dynamic pick/compute shard and node functions
@cabol
Copy link
Owner Author

cabol commented Jun 1, 2016

Fixed with PR #11.

cabol added a commit that referenced this issue Jun 1, 2016
[#9] Implement configurable and dynamic pick/compute shard and node functions
cabol added a commit that referenced this issue Jun 1, 2016
[#9] Implement configurable and dynamic pick/compute shard and node functions
@cabol cabol closed this as completed Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant