September 2015
Beginner to intermediate
230 pages
4h 47m
English
This chapter gives an overview of many different Redis commands and features, from techniques to reduce network latency to extending Redis with Lua scripting.
The previous chapters briefly mentioned how to optimize data types, and at the end of this chapter, we will explain these optimizations further.
Pub/Sub stands for Publish-Subscribe, which is a pattern where messages are not sent directly to specific receivers. Publishers send messages to channels, and subscribers receive these messages if they are listening to a given channel.
Redis supports the Pub/Sub pattern and provides commands to publish messages and subscribe to channels.
Here are some examples of Pub/Sub applications:
Read now
Unlock full access