Phase 5Intermediate6 of 17 in Redis
Messaging: Pub/Sub, Streams & Notifications
Fire-and-forget Pub/Sub, durable Streams with consumer groups, how they compare to lists, Kafka and RabbitMQ, and the notification features behind client-side caching.
Redis has three messaging models with very different guarantees. Pub/Sub delivers to whoever is listening right now and forgets. Lists hand a message to one consumer. Streams keep an append-only log with consumer groups, acknowledgements and replay.
Senior interviews probe exactly the gaps between them: what happens when a subscriber disconnects, how a crashed consumer's messages get retried, and when Redis should hand over to Kafka.
0/5 · 0%
5 topics ~52 min 11 code blocks & diagrams