Design Last-Known Location Reporting for Find My Device
Last updated: November 29, 2026
Quick Overview
Design the system behind Find My Device that lets users locate lost Android phones, including phones that are offline, by having nearby devices anonymously report sightings of the lost device's Bluetooth beacons with end-to-end encryption.
0
0
0 solved
Design the system behind Find My Device that lets users locate lost Android phones, including phones that are offline, by having nearby devices anonymously report sightings of the lost device's Bluetooth beacons with end-to-end encryption.
A crowdsourced finding network is a hard geo plus privacy design, and Google has built one for Android. The interviewer looks for rotating identifiers, end-to-end encrypted location reports that the server cannot read, abuse resistance against tracking, and scale of sightings.
What the Interviewer Expects
- Explain rotating beacon identifiers derived from a shared secret
- Encrypt reports to the owner's key so the server cannot read locations
- Let owners query by identifiers they can derive without revealing identity
- Throttle and aggregate reports to limit battery and server load
- Address unwanted tracking (stalking) protections
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
- How does the owner fetch reports without revealing which device is theirs?
- How do you stop a malicious reporter flooding fake sightings?
- How do you protect against someone using a tag to track another person?
- How long should reports be retained?
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
- Owner can see a lost device's location: live if online, else recent crowdsourced sightings.
- Lost devices (and tags) broadcast Bluetooth beacons; nearby Android devices detect them and report.
- Go...
High-Level Design
- Pairing: at setup, the owner's account stores an encrypted key set for the device (synced via end-to-end encrypted key storage). From a seed, the device derives a sequence of rotating public key...