Recall & Review
beginner Click to reveal answer
What is a key limitation of Redis Pub/Sub regarding message delivery?
Redis Pub/Sub does not store messages. If a subscriber is offline when a message is published, it will miss that message.
beginner Click to reveal answer
Why can't Redis Pub/Sub guarantee message delivery to all subscribers?
Because Redis Pub/Sub sends messages only to currently connected subscribers and does not save messages for later delivery.
intermediate Click to reveal answer
How does Redis Pub/Sub handle message persistence?
Redis Pub/Sub does not support message persistence; messages are transient and lost if no subscriber is listening at publish time.
intermediate Click to reveal answer
What happens if a subscriber disconnects and then reconnects in Redis Pub/Sub?
The subscriber will not receive any messages published while it was disconnected because Redis Pub/Sub does not store messages.
advanced Click to reveal answer
Name one alternative to Redis Pub/Sub if message persistence is required.
Redis Streams or message brokers like RabbitMQ or Kafka, which support message persistence and replay.
What happens to messages in Redis Pub/Sub if no subscriber is connected at publish time?
✗ Incorrect
Redis Pub/Sub does not store messages; if no subscriber is connected, messages are lost.
Which feature is NOT supported by Redis Pub/Sub?
✗ Incorrect
Redis Pub/Sub does not support message persistence; messages are transient.
If a subscriber disconnects, what happens to messages published during that time in Redis Pub/Sub?
✗ Incorrect
Messages published while a subscriber is disconnected are lost because Redis Pub/Sub has no persistence.
Which Redis feature can be used if you need message persistence instead of Pub/Sub?
✗ Incorrect
Redis Streams support message persistence and replay, unlike Pub/Sub.
Why might Redis Pub/Sub be unsuitable for critical message delivery?
✗ Incorrect
Redis Pub/Sub does not guarantee message delivery because it lacks persistence.
Explain the main limitation of Redis Pub/Sub related to message persistence and delivery.
Think about what happens if a subscriber is offline.
You got /3 concepts.
Describe alternatives to Redis Pub/Sub when message persistence is needed and why.
Consider systems designed for guaranteed delivery.
You got /3 concepts.
