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

NFS-Based Lease Management #371

Open
benbjohnson opened this issue Jul 30, 2023 · 3 comments
Open

NFS-Based Lease Management #371

benbjohnson opened this issue Jul 30, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@benbjohnson
Copy link
Collaborator

Given that NFS provides file locking, we could build a lease system around it that can be shared by multiple LiteFS instances. AWS, GCP & Azure all provide hosted NFS mounts so it could be a simple way to run an HA cluster rather than relying on Consul.

@jasonbigl
Copy link

agree, it would be much simpler.

BTW, is there any public roadmap for litefs?

@benbjohnson
Copy link
Collaborator Author

We don't currently have a public roadmap available. Our two main focuses right now are getting LiteFS working better on non-Fly deployments (e.g. AWS, GCP, etc) and to get LiteFS working on ephemeral deployments (e.g. Vercel).

@szabba
Copy link

szabba commented Feb 1, 2024

This might be tangential - I can open a separate issue if what I ask about makes sense and it is - but would it be possible to run on fly using the NFS protocol instead of FUSE to provide the custom file system?

For context: I'm asking because Fly is planning to charge more for storing the starting FS state of stopped machines. Some languages can create perfectly OK images with just copying a few files into the scratch base image - but having C dependencies (which might have C dependencies of their own! the terror!) complicates that picture, and FUSE is a C dependency.

I can see that the flyio/litefs docker image is quite minimal - but I don't get the impression it's designed to be fully functional on it's own since the example pulls the runtime C dependencies in as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants