Design a Unified Multimodal Shipment Tracking Platform
Last updated: November 29, 2026
Quick Overview
Design the system that ingests tracking data from ocean carriers, terminals, airlines, truckers and vessel AIS positions, and produces one live timeline and ETA per shipment for shippers and operations staff, with proactive delay alerts.
Flexport
November 29, 20260
0
0 solved
Design the system that ingests tracking data from ocean carriers, terminals, airlines, truckers and vessel AIS positions, and produces one live timeline and ETA per shipment for shippers and operations staff, with proactive delay alerts.
Visibility is a core reason shippers choose Flexport, and the hard part is reconciling many unreliable partner feeds into one trustworthy view. Interviewers look for an ingestion design that tolerates messy inputs, a clear canonical data model, and a plan for alerts that do not spam customers.
What the Interviewer Expects
- Pin down scale: shipments in flight, events per day, alert latency
- Separate per-source adapters from a canonical event model
- Describe how events are matched to shipments and containers
- Explain conflict resolution between sources and how ETA is derived
- Design alerting with deduplication and thresholds
- Cover replay, backfill and observability for feed outages
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- A major carrier's EDI feed goes silent for 12 hours. How do you detect it and what do customers see?
- How would you match an AIS vessel position to the containers aboard?
- How do you let ops override a milestone without it being overwritten by the next feed message?
- How would you expose this to customers through webhooks?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: ingest EDI 315/214, carrier APIs, airline status, trucker app pings and AIS positions; map each to a shipment and container; maintain milestones (actual and estimated) and a current ETA; a...
High-Level Design
- Connectors: one adapter per source (SFTP EDI pollers, API pollers with per-carrier rate limits, webhook receivers). Each writes the raw payload to object storage and a normalized
RawEventto ...