Pub/Sub Messaging

Difficulty: Beginner

Question

What is Redis Pub/Sub used for?

Answer

Real-time, fire-and-forget messaging between services (like chat or live updates). It is not persistent.

Concepts covered

Publish, Subscribe, Channels, Decoupling