Problem
Dropbox Dash ranks tens of thousands of candidate work documents for search and for AI agents. One query makes the ranker score many files, and each file needs dozens of behavioral and contextual features, so one search turns into thousands of feature lookups. The lookups must finish inside a sub-100 ms budget, and a document the user just opened should influence the next search within seconds to minutes. Infrastructure was split: low-latency serving ran on-premises, while feature engineering ran on Spark in the cloud, which ruled out standard cloud-native feature stores.
Example from the article: a user opens a document or joins a Slack channel, and that signal has to show up in their next search.
Solution in brief
Dropbox built a hybrid feature store: Feast for feature definitions and orchestration, Spark for computation, and an in-house DynamoDB-compatible store (Dynovault) for online lookups. Two changes cut latency and write volume: a Go rewrite of the serving layer, and ingestion that writes only the feature values that changed.
Questions this case answers
- How to serve many feature lookups per ranking request under a tight latency budget while the feature data is computed in a different environment than the one that serves it
- How to keep precomputed features fresh within minutes when full recomputation and full rewrites of the online store are too slow and too expensive
- How to serve thousands of ranking-feature lookups per search query within a sub-100 ms latency budget?
- How to keep online features fresh within minutes of user actions when the heavy features need large batch joins?
Tools and methods
- Feast — open-source feature store; keeps feature definitions apart from infrastructure, with adapters for backends.
- Apache Spark (PySpark) — feature computation and batch ingestion.
- Dynovault — in-house DynamoDB-compatible online store, co-located with inference.
- Go serving layer — replaces Feast's Python online path.
- Change detection — writes only modified feature records to the online store.
Google or a one-time email code. No password.