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

Add hashing algorithm to load balance work in stream subscriptions #8

Open
daviddawson opened this issue Mar 26, 2017 · 0 comments
Open

Comments

@daviddawson
Copy link
Member

Permit active active by distributing event processing around the active members.

Implement using a hash bucket/ hash ring scheme so that each node can individually decide to process. May require tracking stream indeces on a hash bucket basis rather than per stream.

Need to consider hash bucket failover and how scaling up/ down should work. Probably defineany buckets and distribute the evenly, although need to ensure obly 1 sub is active per node, rather than per bucket.

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