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

cluster #12

Open
segator opened this issue Jan 7, 2018 · 2 comments
Open

cluster #12

segator opened this issue Jan 7, 2018 · 2 comments

Comments

@segator
Copy link

segator commented Jan 7, 2018

amazing work!

I think could be very interesting to add a clustered storage system with buttervolume

to sync volumes every X minutes between nodes of a cluster.
you can control source/destination of the sync checking which host have the vol mounted and control the replication factor(x2, x3)
currently there are solutions for clustered storage that have same features, but with buttervolume you can have async replication that is the only way when you want to replicate in a high latency scenario.

@segator
Copy link
Author

segator commented Jan 8, 2018

Posible Actions to do:
-When docker ask for mount volume, download latest version of the volume if isn't downloaded yet
-When docker ask for umount volume, snapshot and replicate the volume to the other hosts
-Meanwhile a volume is mounted, every X minutes, check for changes, snapshot and upload to other hosts

@ccomb
Copy link
Owner

ccomb commented Mar 15, 2018

Hi, thanks for your comment and sorry to answer so late.
What you're talking about is exactly what we did for a customer, a small cluster with async replication of nodes. https://github.com/mlfmonde/cluster
We currently don't manage the replication factor but that would be an interesting improvement. What you're suggesting in your second comment is also a very good idea

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

2 participants