3 ms·
BedrockDB requires to operate a separate process, whereas you can embed dqlite in your Go application (pretty much in the SQLite philosophy). Also, afaik Bedroc
by free-ekanayaka 9y ago
BedrockDB 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