Show HN: rqlite v2.2.2, replicating SQLite via Raft consensus
github.com
github.com
I suppose you would have had to hack up something to map offset ranges into key/value pairs, but at a high level, it seems feasible.
I realize that this is a total abuse of what Zookeeper does, and how it is supposed to work, but hey, this is a solution that's _simple_ and _correct_.
Here are the benchmarks comparing the traditional VFS with the ZK VFS: https://gist.github.com/sargun/7503ba636c1a0eb2e2f5cda7a6a23...
PS: Feel free to ask me any questions
Or is just a small database where 1 sqlite file == 1 key?
I opened an issue anyway, to look into this.
It's pluggable in the sense that it maps the the shared memory calls for WAL to your calls. But yeah, figuring out how to emulate shared memory across a cluster is on the implementer.
So that means if a single node in the cluster fails then everything stops?
Cool project!
https://github.com/rqlite/rqlite#limitations
Though with now() you could calculate that before you issue the query.