A closer look at Redis

Posted by Peter J. Jones on

If you’re not familiar with Redis it’s a key-value store that gained popularity as a replacement for memcached due to its ability to store and manipulate structured data (e.g. increment an integer, get the union of two sets, etc.). Redis is worth checking out if you need a high performance, in-memory, key-value store with persistence.

The fifteen minute introduction is particularly good:

It’s not always trivial to grasp how this data types work and what to use in order to solve a given problem from the command reference, so this document is a crash course to Redis data types and their most used patterns. [sic]

Armed with data type information from the introduction you may want to take a look at Karl Seguin’s Zero to Master article:

More than once, I’ve said that learning Redis is the most efficient way a programmer can spend 30 minutes. This is a testament to both how useful Redis is and how easy it is to learn. But, is it true, can you really learn, and even master, Redis in 30 minutes?

I found the article informative yet wanting. There’s a part 2 but I didn’t find that it added anything useful.

About the Author

Peter J. Jones has been a professional software engineer for over 20 years and is deeply passionate about helping programmers improve the skills of their craft. He is the author of Effective Ruby: 48 Specific Ways to Write Better Ruby. Peter can be reached through our contact page or his twitter account.