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

Consensus based CounterService #16

Closed
belaban opened this issue Apr 2, 2015 · 1 comment
Closed

Consensus based CounterService #16

belaban opened this issue Apr 2, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@belaban
Copy link
Member

belaban commented Apr 2, 2015

Implement CounterService and CounterServiceDemo in jgroups-raft. All counters are their values are essentially stored in a hashmap, so updates to counters simply updates the hashmap.
When less than N/1+1 servers are running, the service won't be able to make progress (forsaking availability), but it handles network partitions very well.

@belaban belaban added this to the 0.2 milestone Apr 2, 2015
@belaban belaban added the feature label Apr 2, 2015
@belaban belaban self-assigned this Apr 2, 2015
@belaban
Copy link
Member Author

belaban commented Apr 7, 2015

Demo is CounterServiceDemo

@belaban belaban closed this as completed Apr 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant