Skip to main content

Design a Pub-Sub System

Build the core of an in-memory message broker. Publishers send messages to named topics, and subscribers read them when they are ready, each at its own pace, without publishers and subscribers knowing about each other.

How the round runs

Medium · 5 stages · 5 questions · 60 min
~6 min
Requirements Gathering
lists
~3 min
Identifying Core Entities
cards
~14 min
Designing Classes & Relationships
diagram
~28 min
Code Implementation
code
~9 min
Deep Dives
code

Set up your round

Level

Interviewer

Duration

Junior · Standard · 60 min