The “Build Your Own Redis” Book Is Completed

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • build-your-own-x

    Master programming by recreating your favorite technologies from scratch.

    You're probably thinking of I've been meaning to check them out with my education stipend from work, just haven't had the time to devote to it.

  • miniredis

    A very tiny clone of Redis for experimenting with PubSub

    I actually build minimal Redis clones in every new language or runtime, or when I want to explore threading models. It all started with (which I forked to add and experiment with pub/sub), and I just found myself doing it again and again because Redis is the quintessential network service:

    By implementing it, you learn about socket handling, threading models, data representation, concurrency (if you want to do a multi-threaded version), etc. None of my "ports" are fully functional, but they all helped me sort out some of the above plus build tools, packaging, dependencies, etc.

    It's "hello world" for core cloud native microservices, if you will (and without having to do REST or JSON stuff).

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • zero-to-production

    Code for "Zero To Production In Rust", a book on API development using Rust.

  • redi-s

    A performant Redis server implemented in SwiftNIO.

  • reredis

    Rewrite Redis in Rust.

    I did something similar by building Redis in Rust a few years ago. It’s a really good learning and exercise to a lot of topics like network programming.

  • I guess that's what you're looking for

    [1] -

  • go-caskdb

    (educational) build your own disk based KV store in Go

    I am a big fan of Build Your Own X educational projects. Recently, I released a Go version of my build your own KV Store project. I have set up this project in TDD fashion with the tests. So, you start with simple functions, pass the tests, and the difficulty level goes up. There are hints if you get stuck (e.g. link). When all the tests pass, you will have written a persistent key-value store.

    go -

    python -

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • ddia

    Playground to practice "Designing Data-Intensive Applications" concepts

    Shameless plug; I've been playing with a [Redis Server implementation in Go]( for the past weeks. Mainly as a way to try out things explained in Designing Data-Intensive Applications book (favourite of mine!). Those are the [commands implemented](, + TTL + AoF files (for state replication) + config file, ... The "challenge" was to do it without any external dependency other than go stdlib.

    > I actually build minimal Redis clones in every new language or runtime, or when I want to explore threading models.

    100% agree with your advice; I'll definitively try to implement other parts of the Redis service in Go (eg: pub/sub, replication, clustering...) and probably repeat the same exercise when learning any new language.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts