Redis Use Cases


Redis is a service primarily for communication between programs, be it through shared data, or through communication through either Lists or Channels.

Redis to Share Data between Processes

One way in which Redis is used is to share data between applications.

For example, IIS has an implementation of session storage that is built on top of Redis.

Redis used to store shared 'memory' between applications.

Redis to implement Work Queues

Redis has support for blocking atomic reads on list.

Being able to de-queue data to a specific process makes it possible to build work queues.

Redis used as an event queue between applications.

Redis to implement Messaging

Redis has support for publish/subscribe pattern through use of 'channels'.

Being able to broadcast messages makes it possible to build real-time applications like message boards and messaging applications.

Redis used to broadcast real-time messages between applications.