您现在的位置是:首页 > 文章详情

Dqlite —— 高可用 SQLite 数据库

日期:2021-05-18点击:1343

Dqlite 是一个快速、嵌入式、持久化的 SQL 数据库,具有Raft共识,非常适合容错的IoT和Edge设备。

Dqlite(“分布式SQLite”)将SQLite扩展到一组计算机上,具有自动故障转移和高可用性,以保持应用程序的运行。 它使用C-Raft(C语言中优化的Raft实现)来获得高性能事务共识和容错,同时保留了SQlite出色的效率和极小的占用空间。

Dqlite 同时也提供 Go 语言的版本,请看 https://gitee.com/mirrors/go-dqlite

安装:

 sudo add-apt-repository ppa:dqlite/v1 sudo apt-get update sudo apt-get install libdqlite-dev

构建准备:

 git clone --depth 100 https://gitee.com/mirrors/dqlite.git cd sqlite ./configure --enable-replication make sudo make install cd .. git clone https://gitee.com/mirrors/libco.git cd libco make sudo make install cd .. git clone https://gitee.com/mirrors/raft.git cd raft autoreconf -i ./configure make sudo make install cd ..

 构建:

 autoreconf -i ./configure make sudo make install
原文链接:https://www.oschina.net/p/dqlite
关注公众号

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。

持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。

文章评论

共有0条评论来说两句吧...

文章二维码

扫描即可查看该文章

点击排行

推荐阅读

最新文章