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

Maybe use sled? #54

Closed
ckaran opened this issue Apr 6, 2022 · 2 comments
Closed

Maybe use sled? #54

ckaran opened this issue Apr 6, 2022 · 2 comments

Comments

@ckaran
Copy link

ckaran commented Apr 6, 2022

Sled is an embedded database written in rust. This means that you don't need to have a connection to a running database instance, and can ship the database engine within gitarena. Not sure if this is good or bad, but it's an option to consider.

@mellowagain
Copy link
Owner

Thank you for your comment. While I think Sled does indeed look very exciting, I'm afraid GitArena isn't designed to be used with a key value based storage backend but with a more traditional SQL-like backend. I may add SQLite support in the future which allows GitArena to work without a running database instance, but that is currently very low priority.

Feel free to open another issue if you'd want me to make SQLite support a higher priority.

@ckaran
Copy link
Author

ckaran commented Apr 7, 2022

Actually, I'm starting to think about the issues with #53 and distributed databases. I started too look into options; maybe dolt? Note that I literally just discovered it, so it could be terrible, but their tagline looks good (git for databases, with an SQL frontend). I haven't yet tried the tutorials, but if its database files can live within the git repo, then data distribution because trivial.

Edit

Also just found git-sqlite which lets you store SQLite databases within git, but the last commit to that project was 5 years ago, so I'm not sure how useful it would be.

There is also orbit-db, but while it is in active development, I don't think it would be a good fit for your project.

So far, Dolt seems like the best option.

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