Redis - Pub/Sub

Note on Redis - Pub/Sub

5 min read
Published January 21, 2026
Tech Notes

💡 Pre-requisites - You need to have docker installed on your machine

  1. Queues
  2. Pub subs
  3. Redis

More specifically, we’re learning how we would build a system like leetcode

Part 1 - Queues

Screenshot_2024-04-07_at_5.41.38_PM.png

Part 2 (Assignment) - Pub subs

Screenshot_2024-04-07_at_5.42.49_PM.png

Final Architecture

Screenshot_2024-04-07_at_5.45.42_PM.png