Replies: 5 comments 1 reply
-
Litestream uses Object storage as its backend also btw. It does this for every change to the DB. So is is a nice synergy with JuiceJS |
Beta Was this translation helpful? Give feedback.
-
@SandyXSD Just wanted to get eyeballs on this idea |
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing @gedw99 didn't knew this. 👍 |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? Is litestream already supported by juicefs? |
Beta Was this translation helpful? Give feedback.
-
I'm not a juicefs dev but to my understanding it should work without modifications to juicefs. According to https://juicefs.com/docs/community/security/trash slices are also kept for trash-days period, so any database snapshot from that period restored through litestream should be usable. I'll get back after some more testing... |
Beta Was this translation helpful? Give feedback.
-
The only weak point of JuiceFS seems to be the database.
it looks like it current uses github.com/mattn/go-sqlite3
Litestream, https://litestream.io/, is a golang sqlite that is based on go-sqlite3 and extends it with real time backup to S3.
Code: https://github.com/benbjohnson/litestream
Apache LIC: https://github.com/benbjohnson/litestream/blob/main/LICENSE
Supports replication: benbjohnson/litestream@a090706
Soon it will support load balancing in that when you call the db for a READ it will be directed to the nearest Read only db instance and for a write it will be forwarded to the origin write only db. Issue is here: benbjohnson/litestream#323
Beta Was this translation helpful? Give feedback.
All reactions