Unify Parcel Tracking Events From Dozens of Carriers

Last updated: November 29, 2026

Quick Overview

Design a tracking system that ingests status updates for cross-border parcels from many carriers (first mile, line haul, customs, last mile), normalizes them into one timeline per order, and powers the order tracking page and delivery notifications.

Temu
System Design
Software Engineer
Temu
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design a tracking system that ingests status updates for cross-border parcels from many carriers (first mile, line haul, customs, last mile), normalizes them into one timeline per order, and powers the order tracking page and delivery notifications.

A Temu order can pass through a consolidation warehouse, an air or ocean line haul, customs, and a local carrier, each with its own API and status vocabulary. The interviewer wants a design that handles out-of-order, duplicate and missing events and still gives shoppers an honest delivery estimate.

What the Interviewer Expects
  • Support both webhook push and polling pull integrations
  • Define a canonical event model and per-carrier mappers
  • Handle duplicates and out-of-order events with idempotent upserts
  • Link parcel identifiers across handoffs (master air waybill to local tracking number)
  • Detect stuck parcels and trigger proactive messages
  • Size storage and read traffic
Key Topics to Cover
event ingestion
normalization
idempotency
stream processing
ETA estimation
integrations
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 onboard a new carrier in days instead of weeks?
  • How do you compute and update the estimated delivery date?
  • What if a carrier replays a week of events after an outage?
  • How do you keep the tracking page fast when it is the most visited page after checkout?
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

Ingest events for, say, 20 million parcels per day, each producing about 15 events: 300 million events per day, roughly 3,500 per second average and 20,000 at peak. Show a timeline within a minute of ...

High-Level Design

Carrier adapters: a webhook receiver for push carriers and a scheduler of polling workers for pull carriers (rate limited per carrier). Each adapter writes raw payloads to object storage and a raw top...


Submit Your Answer
Markdown supported

Related Questions