by PirateBay · 8y ago · 0 comments
I think the best explanation of why you'd use it over PG or MySQL is the same as why you'd use SQLite over them:
https://www.sqlite.org/whentouse.html
With dqlite you also get HA, fault-tolerance and transparent failover, if you're willing to trade it with a bit of performance.
Dqlite and rqlite are not in the same space as postgres and mysql, they're more comparable to tools like Zookeeper, etcd, or Consul[0] - low throughput CP data stores that are generally used for coordinating distributed systems. In this case, it saves users from having to manage an external data store to run lxd clustered.
[0] in fact, dqlite uses the same raft implementation as Consul, which is cool