Design Real Time Package Tracking Notifications for Customers

Last updated: November 29, 2026

Quick Overview

Design the system that turns courier and fulfillment scan events into customer push notifications and an up to date tracking page (packed, out for delivery, delivered with photo), for tens of millions of packages per day.

Coupang
System Design
Software Engineer
Coupang
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the system that turns courier and fulfillment scan events into customer push notifications and an up to date tracking page (packed, out for delivery, delivered with photo), for tens of millions of packages per day.

Every Rocket Delivery order produces a chain of scans from the fulfillment center to the courier's handheld, and customers expect a delivered notification with a doorstep photo within moments. The interviewer checks event-driven design, ordering per package, deduplication and notification fatigue.

What the Interviewer Expects
  • Ingest scans as events partitioned by package id to keep per-package order
  • A tracking state machine that ignores out of order and duplicate scans
  • Separate the read model for the tracking page from the notification fan-out
  • Notification preferences, quiet hours and batching for multi-package orders
  • Photo upload path that does not block the scan event
  • Back-of-envelope sizing
Key Topics to Cover
Event streaming
State machines
Idempotent consumers
Push notifications
Read models
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you handle a courier device that was offline and uploads an hour of scans at once?
  • How would you send a single 'all 3 packages delivered' message instead of three?
  • How do you guarantee a delivered notification is not sent twice?
  • How would you add a live courier map for the last few stops?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: record scans (packed, departed FC, arrived camp, out for delivery, delivered, failed attempt), show the latest status and history, push key milestones, attach a delivery photo. Non-functio...

High-Level Design

Handhelds and warehouse systems post scans to an ingest API that validates and writes to a Kafka topic keyed by package_id. A Tracking Processor consumes it, applies each scan to the package state m...


Submit Your Answer
Markdown supported

Related Questions