← Questions
Design a street-level imagery ingestion and storage system
0
I was asked this
No reports yet. Sign in to say where you were asked it.
A system design interview question asked in Google's first round (coding), last asked Jan 2026. It tests storage, pipelines and media.
A fleet of camera vehicles drives the streets and captures large volumes of street-level photos, each with location, time and camera orientation. Design the system that gets the images off the vehicles, processes them, stores them durably and serves them to a map product.
Requirements
- Functional:
- Vehicles or their crews upload captured images and metadata, either over the network or by shipping drives.
- Uploads are resumable and safe to retry; a device proves it is allowed to upload.
- Processing: de-duplication, blurring of faces and licence plates, stitching into panoramas, indexing by location.
- Serving: given a location (and heading), return the nearest imagery quickly; newer captures replace older ones in the map.
- Non-functional: petabytes of data per year, durable storage, cost-efficient tiers for old imagery, fast reads near the user, strict privacy rules before anything is published.
Clarifying questions
- How many vehicles, images per day and bytes per image?
- Do vehicles upload over cellular while driving, from a depot, or by shipping disks?
- How quickly must new imagery appear on the map?
- What privacy processing is required before publication, and in which countries?
What a strong answer covers
- The upload API: request an upload session, chunked and resumable transfers with checksums, an idempotent commit keyed by device and capture id; short-lived upload tokens issued to authenticated devices, revocable when a device is lost.
- Storage: raw images in object storage, metadata in a database with a geospatial index (geohash or S2 cells); hot, warm and cold tiers.
- Processing as a queue-driven pipeline of stages (validate, blur, stitch, tile), each idempotent and restartable.
- Serving: tiles and panoramas behind a CDN; lookup by cell id, then nearest capture by distance and date.
- Scale and cost: partitioning by region, batching uploads, lifecycle policies, keeping originals versus derived images.
Follow-ups
- A vehicle uploads the same drive twice. What happens?
- A person asks for their house to be blurred. How does the request flow through stored and served images?
- Upload bandwidth from the field is the bottleneck. What do you change?
Where it's asked
- Google · First round: coding · Last asked Jan 202645 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI
What it tests
storage · pipelines · media
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing
