Vaccine Booking System Design (Mock Interview + Slots & Fairness)

Visual Problem Diagram

Vaccine Booking System Design (Mock Interview + Slots & Fairness) architecture diagram

Scenario

A public program must verify eligibility under changing regional rules, expose appointment inventory honestly, and survive thundering herds when new cohorts qualify—without double-booking slots or leaking sensitive records. The interview blends workflow, inventory, compliance, and ops more than a typical CRUD app.

Design a system for vaccine (or general immunization) eligibility verification and appointment booking at national scale, including spikes when new cohorts become eligible.

Constraints

Functional

User identity verification (level appropriate to problem); rule-based eligibility check; search appointments by location/time; book, cancel, reschedule; reminders; admin updates to rules and supply

Non-functional

Correctness of eligibility and slot counts; fairness; availability during thundering herds

Scale

Tens of millions of users; millions of bookings; regional rule variance

Stages ahead

1Requirement Analysis
2API Design
3High-Level Design
4HLD Extensions
5Trade-offs