RubyFlow The Ruby and Rails community linklog

Rebuilding Redis in Ruby - New Chapters

Rebuilding Redis in Ruby is a free online book, where we rebuild Redis, in Ruby, from scratch.

While still a work in progress, seven chapters are currently available, four more since the last update.

  • In Chapter 4 we finalize the SET command, and implement TTL for keys
  • In Chapter 5 we make the server RESP compatible, allowing the use of real clients, such as redis-cli
  • In Chapter 6 we ban the use of the Hash class and create our own hash table
  • In Chapter 7 we add full List support, all 18 commands

The next chapters will focus on adding support for the other data types, Hashes, Sets & Sorted Sets, HyperLogLogs & Bitmaps as well as GEO* commands

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in