Kenny Hoxworth shows how to add a new command to Redis:
A strength of Redis from a programmer’s perspective is the simplicity of the
codebase. One of Sal’s goals with the project is to minimize external
dependencies, and thus Redis performs minimal linking with shared libraries.
The simplicity and organization of the Redis codebase makes minor (and
sometimes major) modifications fairly intuitive.
The emphasis here is not on the fact that you can easily add custom commands to Redis, but that the Redis source code is so clean that you could add new commands. Also clean code means less bugs (or at least easier fixes for bugs).
Original title and link: Adding a new command to Redis ( ©myNoSQL)