| Did you know ... | Search Documentation: | 
| Redis as a message brokering system | 
Starting with Redis 5, redis supports streams. A stream is a 
list of messages. Streams can be used as a reliable alternative to the 
older Redis PUB/SUB (Publish Subscribe) mechanism that has no memory, 
i.e., if a node is down when a message arrives the message is missed. In 
addition, they can be used to have each message processed by a
consumer that belongs to a consumer group. Both facilities 
are supported by library(redis_streams) (section 
3)
Redis streams provide all the low-level primitives to realise message brokering. Putting it all together is non-trivial though. Notably:
The directory doc/packages/examples/redis in the 
installation provides an example using streams and consumer groups to 
realise one or more clients connected to one or more compute nodes.