litefs-js
rqlite
litefs-js | rqlite | |
---|---|---|
7 | 112 | |
157 | 14,898 | |
0.0% | 0.9% | |
3.4 | 9.9 | |
3 months ago | 2 days ago | |
TypeScript | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
litefs-js
- Syncing Only Specific Notes
-
Why sqlite3 temp files were renamed 'etilqs_*' (2006)
Fly[1] uses it
1: https://fly.io/blog/introducing-litefs/
-
Low-cost website backend solution: Can I host a MySQL database on a local machine and access it online for my small website?
Check this series of articles out: 1, 2, 3, 4, 5, 6, 7.
- Help me sell sqlite to my boss
-
SQLite the only database you will ever need in most cases
Also worth mentioning Fly.io's work on LiteStream [1] and LiteFS [2] giving SQLite important S3 DR/reliability & multi-node replication and scalability opens SQLite up to even more use-cases.
We're making use of this ourselves in https://blazordiffusion.com which runs entirely on SQLite, using Litestream to replicate it to Cloudflare's R2 object storage which is running on a single Hetzner US Cloud VM at €13 /mo.
As we believe SQLite + Litestream is a very cost effective solution that can support a large number of App's data requirements we've added first-class support to add SQLite + Litestream support in our Project templates [3] which uses GitHub Actions to run Docker compose App deployments along with setting up Litestream replication to AWS S3, Azure Blob Storage and SFTP in a sidecar container that also includes support running DB Migrations on Server with Rollback on failure. If anyone's looking to do something similar, the GitHub Actions that enable this are being maintained at [4].
[1] https://litestream.io
[2] https://fly.io/blog/introducing-litefs/
[3] https://docs.servicestack.net/ormlite/litestream
[4] https://github.com/ServiceStack/mix/tree/master/actions
- GitHub - fly-apps/litefs-js: JavaScript utilities for working with LiteFS on Fly.io
- Litefs-JS: JavaScript utilities for working with LiteFS on Fly.io
rqlite
- The lightweight, easy-to-use, distributed relational database built on SQLite
-
CursusDB – A new scalable distributed document oriented database
Seems like you could do the same with rqlite [1], since SQLite supports JSON.
[1]: https://rqlite.io
-
Rqlite 8.0
rqlite[1] creator here, happy to answer any questions about rqlite, this latest release, and how it works.
[1] https://rqlite.io
-
Adding new database engine support
I found simple distributed RQlite https://github.com/rqlite/rqlite based on raft and sqlite. How hard is to add it?
- I'm All-In on Server-Side SQLite
-
So, you want to deploy on the edge?
rqlite[1] creator here, happy to answer any questions. rqlite also supports read-only nodes, which can also help with reads at the "edge". It probably wouldn't scale to 100s of nodes, it is an option.
"rqlite supports adding read-only nodes. You can use this feature to add read scalability to the cluster if you need a high volume of reads, or want to distribute copies of the data nearer to clients – but don’t want those nodes counted towards the quorum. These types of nodes are also known as non-voting nodes."
[1] https://rqlite.io/
[2] https://rqlite.io/docs/clustering/read-only-nodes/
- LiteFS Cloud: Distributed SQLite with Managed Backups
- Show HN: Rqlite, distributed DB built on SQLite, now runs on MIPS, RISC, PowerPC
- rqlite v7.19.0: the lightweight distributed relational database built on Go, Raft, and SQLite -- now runs on MIPS, PowerPC, and RISC
- rqlite v7.18: the lightweight distributed database built on Go, Raft, and SQLite -- now with new Unified HTTP endpoint for easy reads and writes
What are some alternatives?
sqld - LibSQL with extended capabilities like HTTP protocol, replication, and more.
dqlite - Embeddable, replicated and fault-tolerant SQL engine.
SQLite - Official Git mirror of the SQLite source tree
litestream - Streaming replication for SQLite.
cheapo_website - An experiment in production SQLite on render.com and fly.io
cockroach - CockroachDB - the open source, cloud-native distributed SQL database.
SQLite - Unofficial git mirror of SQLite sources (see link for build instructions)
bolt
postgresql-embedded - Embedded PostgreSQL Server
etcd - Distributed reliable key-value store for the most critical data of a distributed system [Moved to: https://github.com/etcd-io/etcd]
TinyGo - Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.