Skip to content

Glossary: Redis and Caching

Pub/sub (publish/subscribe)

Also written: pub/sub, PUBLISH, SUBSCRIBE

A way to send a message to every program currently listening on a channel. Redis stores nothing, so a subscriber that's offline never sees the message.

Where the book teaches it

Related terms

ChannelFire-and-forgetStream