This September I’ll be speaking at GopherCon 2023. The conference takes place in San Diego, and I’ll be giving a talk on Building Distributed Systems in Go using the Raft consensus protocol. Much of my presentation will be based on my experience building rqlite.
Software engineering, distributed systems, databases, and the teams that build them
Software engineering, distributed systems, databases, and the teams that build them
rqlite upgraded to SQLite 3.42.0
rqlite now supports PowerPC, MIPS, and RISC
rqlite is a lightweight, open-source, distributed relational database written in Go, utilizing SQLite as its storage engine.
rqlite v7.19.0 is out now, and there have been quite a few auto-clustering improvements a bug fixes added. In addition, through the magic of Go cross-compilation support, rqlite can now run on a much wider variety of CPU architectures.
You can download the release from GitHub.
rqlite 7.16.0 – restore your system from S3
rqlite is a lightweight, open-source, distributed relational database written in Go, utilizing SQLite as its storage engine.
Version 7.16.0 has been released and now includes support for restoring your rqlite system automatically from AWS S3. With this in place you can now automatically recover your system from any backup which has been previously uploaded to Cloud-based storage.
You can download the release from GitHub.
Adding automatic S3 backups to rqlite
rqlite is a lightweight, open-source, distributed relational database written in Go, utilizing SQLite as its storage engine.
Version 7.15.0 has been released and now includes support for automated backups to Amazon Web Services (AWS) S3. This enhancement offers increased data protection and expands your recovery options in case of emergencies.
You can download the release from GitHub.
What did GPT-4 find wrong with the rqlite source code?
rqlite is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine.
As part of the 7.14.2 release, I ran most of the source code through GPT-4. Let’s take a look at some of the changes it suggested, which of them I added to the code — and what this says about the future of programming.
Continue reading “What did GPT-4 find wrong with the rqlite source code?”
rqlite 7.14.2 released
rqlite is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine.
7.14.2 adds various bug fixes and improvements. Most of the rqlite source code was also run through GPT-4, and many of its suggested improvements were incorporated into this release.
You can download the release from GitHub.
9 years of open-source database development
rqlite is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine.
I’ve been developing rqlite since 2014 and its design and implementation has evolved substantially during that time — and the design docs tell the story of what worked, and what didn’t. So what can we learn about distributed database design, from watching rqlite change over the years?
Continue reading “9 years of open-source database development”
Creating rqlite 7.14.0 with GitHub Copilot
rqlite is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine. 7.14.0 has been released and adds comprehensive support for Mutual TLS.
What makes this release of rqlite different is that much of the TLS support was written using GitHub Copilot.
Continue reading “Creating rqlite 7.14.0 with GitHub Copilot”
Stephen Wolfram on ChatGPT
Stephen Wolfram
has published an eminently readable description of what ChatGPT does, how it’s designed, and offer some insights into why it appears to work so well.
rqlite reaches 13,000 stars on GitHub
rqlite.io launched
rqlite 7.13.0 released
How I found a bug in SQLite
rqlite
is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine. Recently I introduced a high-performance write-path into rqlite and, to my great surprise, it exposed a bug in SQLite.
rqlite 7.12.0 released
rqlite 7.11.0 released
Replacing Postgres with rqlite
rqlite
is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine.
Recently I helped Replicated replace their use of PostgreSQL with rqlite. This brought much easier operation and high-availability to their Application Manager.
rqlite 7.10.0 released
rqlite is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine.
Replicated, a company which helps software vendors ship software to end users, recently migrated from PostgreSQL to rqlite. Along the way their input substantially helped improve how rqlite runs on Kubernetes — and as a result rqlite 7.10.0 is out now. This latest release is also running an upgraded version of SQLite.
rqlite 7.8.0 released
rqlite
is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine.
7.8.0 provides more convenient options for retrieving a backup of the underlying SQLite database. The guide for running rqlite on Kubernetes has also been improved.
You can download the release from GitHub.
rqlite 7.7.0 released
rqlite
is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine.
7.7.0 is the first release to add support for non-deterministic functions, specifically RANDOM. It accomplishes this via statement-rewriting. Many thanks to Ben Johnson for the pure-Go SQLite parser.
You can download the release from GitHub.
The Engineering Management Myths Star Trek Teaches
Star Trek
has inspired huge numbers of people to become scientists, engineers, and programmers. I’m one of them. It often inspired me to work hard, build quality systems, and never give up when looking for the root cause of a tricky bug.
Continue reading “The Engineering Management Myths Star Trek Teaches”
rqlite 7.6.0 released – now with ARM builds
rqlite is a lightweight, open-source, distributed relational database written in Go, which uses SQLite as its storage engine. 7.6.0 improves access-control options, and also has official ARM and ARM64 builds for the first time.
Continue reading “rqlite 7.6.0 released – now with ARM builds”
Building Secure and Reliable Systems at Google
I recently started reading Building Secure and Reliable Systems, which was authored by various folks at Google (some of whom I know). Since my work is at the intersection of so much of this — reliable logging systems which must also be secure, it’s an interesting read.
In my experience, the most challenging part about securing our systems are the constant trade-offs one needs to make. Since no system can be made 100% secure, knowing where the marginal risk is no longer worth addressing is quite difficult — I’m hoping this book improves my ability to make these trade-offs correctly.
rqlite 7.5.1 released
rqlite 7.5.0: Trading durability for write performance
rqlite is an open-source, lightweight, distributed relational database, which uses SQLite as its storage engine. Written in Go, It’s trivial to deploy, and easy to use.
Release 7.5.0 adds Queued Writes. This is the first time rqlite allows users to trade-off durability for much higher write performance.
Continue reading “rqlite 7.5.0: Trading durability for write performance”




