Redis Pub/Sub vs Streams: Which to Choose in Python?
Redis Pub/Sub and Redis Streams seem to meet the same need: a producer emits, consumers receive. Both take a few lines to set up, and in a development environment they produce the same result. The difference shows up with a single question: what happens if the consumer isn’t there when the message is sent? A deployment, a network drop or a crashed worker is enough to raise it. The answer actually separates three models: Pub/Sub broadcast, reading a log with XREAD, and sharing work with consumer groups. ...
