rqlite is a lightweight, distributed relational database, which uses SQLite as its storage engine. rqlite provides an easy-to-use, fault-tolerant store for critical relational data.
Release 5.0.0 upgrades the distributed consensus system which is at the core of rqlite (moving to Hashicorp Raft v1.1.1), as well as adding some minor features and bug fixes. The release also lays the foundation for newer features such as non-voting nodes, distributed transactions, and explicit connection management. v5 is not compatible with earlier releases, and you must explicitly backup and restore your database to upgrade from earlier versions. See the CHANGELOG for full details.
If you wish to build rqlite from source, check out this documentation.
Getting started
To download and run a single rqlite node, which automatically becomes leader, follow the directions below. It's also very easy to run a rqlite cluster -- you can learn more by checking out the documentation.
Linux
To download and start rqlite on Linux, execute the following in a shell.
curl -L https://github.com/rqlite/rqlite/releases/download/v5.0.0/rqlite-v5.0.0-linux-amd64.tar.gz -o rqlite-v5.0.0-linux-amd64.tar.gz
tar xvfz rqlite-v5.0.0-linux-amd64.tar.gz
cd rqlite-v5.0.0-linux-amd64
./rqlited ~/node.1
OSX
To download and start rqlite on OSX, execute the following in a shell.
curl -L https://github.com/rqlite/rqlite/releases/download/v5.0.0/rqlite-v5.0.0-darwin-amd64.tar.gz -o rqlite-v5.0.0-darwin-amd64.tar.gz
tar xvfz rqlite-v5.0.0-darwin-amd64.tar.gz
cd rqlite-v5.0.0-darwin-amd64
./rqlited ~/node.1
Windows
rqlite can be built for Windows, and compatibility is ensured at all times via AppVeyor. However you may need to build a specific release yourself, though the top-of-tree build is available for download from AppVeyor. Check out the CI build for Windows for more details.