Hacker News new | ask | show | jobs
by free-ekanayaka 2996 days 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.
1 comments

so the use case is: you're building a distributed Go application that needs some shared state in the form of an SQL db?
Yes, dqlite is currently used for clustering support in LXD 3.0: https://github.com/lxc/lxd