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

how to use #17

Open
vtolstov opened this issue Dec 17, 2018 · 1 comment
Open

how to use #17

vtolstov opened this issue Dec 17, 2018 · 1 comment

Comments

@vtolstov
Copy link

i want to use this package for my use case:
i'm try to write key/val storage that uses ceph crushmap to determine on which nodes data placed and do data replication.
i need to know when node down to disable it in crushmap., so i think about caspaxos to solve this issue by replicate node state to all cluster members. Also i need to transfer new crushmap (if i add or delete node) to all nodes consistently.
What do you think?

@komuw
Copy link
Owner

komuw commented Dec 18, 2018

Hi,

this package is very immature and I haven't been working on it for sometime now.
I do not think there is a mature implementation of CASpaxos in Golang that is available in open source.

I do not know about your exact use case, but if I was to build a storage system that requires consensus; I would use the raft protocol.
This is because there are some very mature implementation of that in Go;
eg;

  1. https://github.com/hashicorp/raft
  2. https://github.com/etcd-io/etcd/tree/master/raft

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

No branches or pull requests

2 participants