Design File Search
Dropbox stores a person's documents, spreadsheets, images, and PDFs. At some point that pile gets big enough that scrolling folders stops working, and people just want to type a few words and find the file. The real system behind this is Nautilus, Dropbox's search engine. It was built to serve more than 500 million users across hundreds of billions of documents, with results personalized to each person. This design shows up in senior and machine-learning-adjacent loops rather than every mid-level interview. It is a good one to have ready, because it rewards the two instincts Dropbox cares about most: separating the heavy write-side work from the read path, and getting access control exactly right.
The job sits between a user typing a few words and a ranked list of their files coming back. To do it, the system has to have already read the contents of every file, pulled out searchable text, and folded it into an index, all while files keep changing underneath it. And it has to do the one thing a generic web search never worries about: make absolutely sure a result set never includes a file the searcher is not allowed to see.
- 1 diagram
- 5 sections
- about 45 min
Premium lessonDropbox interview guide
These took digging.
What candidates walked out with, from 20,000+ reports, forum threads behind logins and write-ups in Chinese. Then solved step by step.
100 companies. Checked every month.
Unlock all 100 companies$49 a year · less than $1 a week · Cancel anytime
Dropbox interview guideKnow what Dropbox asks before you walk in.
16 coding · 5 system design · 23 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.