Redis Pub/Sub delivers messages from publishers to subscribers through named channels. The capture shows a subscriber registering, a publisher sending and the server pushing the message as a RESP array with the channel name. It is tagged with messaging as well; that page describes the use and the abuse of channels on exposed instances.
Redis publish/subscribe channels: SUBSCRIBE, PUBLISH and the pushed message frames between two clients and the server.
Redis Pub/Sub: SUBSCRIBE, PUBLISH, and Message Delivery
Subscriber listening on test-channel while a publisher sends three messages. Shows SUBSCRIBE establishing the listener, PUBLISH commands, and push notifications in cleartext RESP. Demonstrates Redis real-time messaging and how Pub/Sub differs from command-response patterns.
1954.2 KB46