← Motive Interview Insights

Motive·Software Engineer·Onsite - System Design / Architecture·Senior

SeniorPrefer not to say
Jun 2026Remote

Summary

System design round at Motive for a software engineering role. The question was a massive end-to-end courier tracking platform design covering basically everything: mobile GPS, stream processing, ETA computation, map rendering, privacy, the works. Felt like three interviews compressed into one.

Questions Asked (1)

Q1

Design a real-time courier tracking platform end-to-end: mobile GPS publishing, backend ingestion and stream processing, route and ETA computation, order assignment lifecycle, live map rendering, data storage, APIs, scale, privacy, and failure handling.

System DesignTechnical Trade-offsAPI & Integrations
Author's notes

This was a monster.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by clarifying requirements and scale (e.g., number of couriers, orders, update frequency) and then walk through the system end-to-end: mobile GPS ingestion, stream processing, storage, ETA/route computation, order assignment, and live map rendering. Emphasize trade-offs (e.g., consistency vs. latency, push vs. pull) and failure handling at each stage.

Pro tip: Focus on the data flow and how you handle real-time updates efficiently—use a pub/sub model and in-memory stores for live tracking, while persisting to a durable store for history. Also, proactively discuss privacy (e.g., data retention, anonymization) and failure recovery (e.g., idempotent processing, dead-letter queues).

1. Clarify Requirements and Scale

Ask about expected number of couriers, orders per day, update frequency, latency requirements, and geographic distribution. This will drive architectural decisions.

2. High-Level Architecture

Sketch the main components: mobile clients, ingestion layer (e.g., API gateway, message queue), stream processing (e.g., Kafka, Flink), storage (e.g., Redis for live, Cassandra for history), services for ETA/route, assignment, and map rendering.

3. Deep Dive into Key Components

Detail the design of critical parts: GPS ingestion (batching, compression), stream processing (windowing, state), ETA computation (traffic, historical data), order assignment (matching algorithm), and live map updates (WebSocket, geohashing).

4. Address Scale, Privacy, and Failure Handling

Discuss how to scale each component (sharding, partitioning), privacy measures (encryption, anonymization, retention policies), and failure handling (retries, idempotency, circuit breakers, fallbacks).

5. Summarize Trade-offs and Wrap Up

Highlight key trade-offs made (e.g., consistency vs. availability, cost vs. performance) and suggest potential improvements or monitoring strategies.

Key Points to Mention

  • Use of message queues (e.g., Kafka) for decoupling ingestion from processing and enabling scalability.
  • Stream processing with windowing and state management for real-time ETA and route updates.
  • Storage strategy: in-memory (Redis) for live locations, time-series or wide-column store (Cassandra) for historical data.
  • Order assignment lifecycle: matching algorithm (e.g., nearest courier), state machine (assigned, picked up, delivered), and handling reassignments.
  • Live map rendering: WebSocket for push updates, geohashing for efficient spatial queries, and client-side rendering optimizations.
  • Privacy and compliance: data encryption, anonymization, retention policies, and access controls.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.