Design Map Tile Serving for Location Features in Meta Apps

Last updated: November 29, 2026

Quick Overview

Design how Meta's apps display maps (on place pages, Marketplace listings, and location sharing) by serving pre-rendered or vector map tiles from a tile server and CDN, keeping costs low and maps fast.

Meta
System Design
Software Engineer
Meta
November 29, 2026
Software Engineer
Phone Screen
System Design
Easy

0

0

0 solved


Design how Meta's apps display maps (on place pages, Marketplace listings, and location sharing) by serving pre-rendered or vector map tiles from a tile server and CDN, keeping costs low and maps fast.

Meta displays maps in many surfaces and builds on open map data, so tile serving is a contained caching problem fitting a phone screen. The interviewer checks understanding of the z/x/y tile pyramid, heavy CDN caching due to static content, and handling of rarely viewed tiles at deep zoom levels.

What the Interviewer Expects
  • Explain the tile pyramid and z/x/y addressing
  • Choose pre-rendering for low zooms and on-demand rendering for high zooms
  • Cache aggressively at the CDN and on device
  • Version tiles to update map data without stale mixes
  • Estimate storage for the pyramid
Key Topics to Cover
tile pyramid
CDN caching
on-demand rendering
tile versioning
vector tiles
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
  • Would you choose raster or vector tiles, and why?
  • How do you roll out a new map style?
  • How would you handle labels in different languages?
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
  • Clients display a map at a given zoom level and viewport, fetching the tiles covering it.
  • Tiles change only when map data or style updates (weeks).
  • Very high read QPS concentrated on popular cit...
High-Level Design

World map is split into a pyramid: zoom zz has 2z×2z2^z \times 2^z tiles of 256 px (or 512 px). Clients request /{version}/{z}/{x}/{y}.pbf. Requests go through the CDN; misses go to a **tile servi...


Submit Your Answer
Markdown supported