3 ms·
How does it compare to RocksDB? edit: I'm sorry, I was thinking of BedrockDB.
by throwaway5752 9y ago
How does it compare to RocksDB?
edit: I'm sorry, I was thinking of BedrockDB.
- gregwebs 9y agoRocksDB is a storage engine (a non-distriuted ordered Key-Value store with transactions). SQLite is a non-distributed SQL database that uses a storage engine (see SQLite4). The linked tool here makes SQLite distributed.
- free-ekanayaka 9y agoBedrockDB requires to operate a separate process, whereas you can embed dqlite in your Go application (pretty much in the SQLite philosophy). Also, afaik BedrockDB patches upstream SQLite with some more intrusive changes than dqlite (e.g. for supporting concurrent writes). The SQLite patch that dqlite requires is pretty minimal and just adds hooks to internal WAL events.
- anentropic 9y agoso the use case is: you're building a distributed Go application that needs some shared state in the form of an SQL db?
- free-ekanayaka 9y agoYes, dqlite is currently used for clustering support in LXD 3.0: https://github.com/lxc/lxd https://github.com/lxc/lxd