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

add support for libsql (turso) #250

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dezren39
Copy link
Contributor

No description provided.

@dezren39
Copy link
Contributor Author

dezren39 commented Dec 20, 2023

this only handles the sqlite portion, fs on disk is unchanged. for sqlite, i'm guessing litestream could work instead of libsql/turso too. idk if storing fs in sqlite is a pra ctical/good idea. might be better to use some other replication there, but it'd be neat to be built in. are you guys still happy with badger on client side? i'm still not clear how kv connects into i guess the fs folder? i wondered about what kinds of kv might work on more hosts, i didnt like running something like redis etc, but i did consider sqlite on client side too. one could use fossil uploads files into sqlite, or use fossil directly, or extend how users can post 'news' already to somehow store within the database. but i think once you are uploading that kind of files regularly you would want to leave sqlite maybe, or shard to many sqlite files.

@dezren39
Copy link
Contributor Author

image
i haven't super pressure tested this or anything at all, just confirmed it made tables and accepted users

@dezren39 dezren39 mentioned this pull request Jan 5, 2024
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

Successfully merging this pull request may close these issues.

1 participant