Dropbox
Dropbox logoDropbox · Feature trail

Firefly Search Engine

1 post · Mar 2015 – May 2021

What this trail covers

Dropbox developed Firefly, an instant, full-text search engine designed to scale with hundreds of billions of files. The system aims for sub-250ms query latency and sub-10-second indexing latency. It addresses the challenges of scale, query latency, and indexing latency by sharding the search index based on namespaces rather than individual users. Each token in the index is prefixed with its namespace ID to optimize query processing for user-specific namespaces. This post details the core idea behind the sharding strategy and the challenges of building a search engine at Dropbox's scale.

All Dropbox trails