Redis

Estimated reading time: 1 min

Introduction

I use Redis whenever I want to centrally cache something and make it available for fast reading. Redis makes that feature available by having its data fully in memory but also additionally also on disk. Data is persisted to disk periodically, which can be configured. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.

Message Broker

You can also use Redis as simple message broker which actually I do when I need something basic - Apache ActiveMQ or Apache Kafka are too big for some simple jobs.

Tools

For quick maintenance jobs done directly from web - I tend to use Redsmin which is free for 1 redis instance (as of 2018).

redsmin

When I develop or do some maintenance I use RedisDesktopManager (free, but has also paid version)

RedisDesktopManager

or RedisInsights.

Summary

Redis is easy to run and integrate as well and is for example a good replacement for Memcached.