Design Offline-Friendly Map Tile Delivery for Driver Apps

Last updated: November 29, 2026

Quick Overview

Design how the Uber driver app gets map tiles and routing data quickly and cheaply in cities with slow or expensive mobile data, including prefetching the driver's operating area.

Uber
System Design
Software Engineer
Uber
November 29, 2026
Software Engineer
Technical Screen
System Design
Easy

0

0

0 solved


Design how the Uber driver app gets map tiles and routing data quickly and cheaply in cities with slow or expensive mobile data, including prefetching the driver's operating area.

Drivers in many Uber markets use low-end phones on metered connections, so map delivery is a real cost and reliability concern. The interviewer checks CDN usage, cache-friendly tile addressing, versioning, and client-side caching strategy.

What the Interviewer Expects
  • Use immutable, versioned tile URLs that cache well at the CDN and on device
  • Prefer vector tiles for size and styling
  • Prefetch the driver's usual area on Wi-Fi
  • Bound on-device storage with an eviction policy
  • Handle map data updates without full re-downloads
Key Topics to Cover
CDN
Vector tiles
Immutable URLs
Prefetching
Device cache eviction
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 big is a city's worth of vector tiles at useful zoom levels?
  • How do you push an urgent road closure without invalidating every tile?
  • What happens when the CDN has an outage in one country?
  • How would you measure whether prefetching paid off?
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

Driver sees a responsive map at all times, works through short connectivity gaps, and uses little cellular data. Tiles change when map data is rebuilt (weekly) and urgent changes like closures happen ...

High-Level Design
  • Tile build pipeline: renders vector tiles (z/x/y) from the road graph per release and uploads them to object storage under /{release}/{z}/{x}/{y}.pbf.
  • CDN in front of object storage with...

Submit Your Answer
Markdown supported

Related Questions