A simple way to test PUBLISH and SUBSCRIBE commands in Redis, which enable you to do quick messaging and communication between processes.
The way it works is simple:
SUBSCRIBE will listen to a channel PUBLISH allows you to push a message into a channel
Source: https://robots.thoughtbot.com/redis-pub-sub-how-does-it-work