4 ms·
I looked up SQLite VFS. That's pretty interesting, though I am not sure if rqlite has sufficient control over that low a layer in the system, due to the way rql
by otoolep 11y ago
I looked up SQLite VFS. That's pretty interesting, though I am not sure if rqlite has sufficient control over that low a layer in the system, due to the way rqlite is built.
I opened an issue anyway, to look into this.
https://github.com/rqlite/rqlite/issues/108 https://github.com/rqlite/rqlite/issues/108
- tyingq 11y agoI was really just curious if you had looked at it and ruled it out. Pretty sure it would be a different approach not compatible with the way rqlite works. At the VFS level, you're only seeing the reads/writes/locks to the data file...no visibility to the sql.
- sargun 11y agoIf you implement a VFS, you have to either implement the WAL subsystem yourself, which isn't pluggable at the moment, or go with journaling mode, which is kinda meh.
- tyingq 11y ago>>If you implement a VFS, you have to either implement the WAL subsystem yourself 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.