Real-Time AI at Pinterest: Feature Management and Serving at Scale
summary
Pinterest runs an online feature stack that serves thousands of signals used by hundreds of ML engineers and supports billions of entities and hundreds of millions of users, claiming sub-second delivery and inference at tens of milliseconds latency. The system uses an online KV store for Galaxy (materialized and request-computed virtual signals), a fetch-and-inference platform Scorpion with dynamic batching and a separate feature-hydration layer, and CacheLib for memory/SSD caching and zero‑copy reads; reported production scale is billions of requests with high QPS and low latency.
AI-written summary · about
chapters (17)
- 0:00Introduction and speakers
- 1:04Real-time feature serving overview
- 2:10Galaxy Signal Platform explained
- 4:37Key Galaxy Signal concepts
- 6:02Signal lifecycle and storage
- 7:47Materialized vs virtual signals
- 9:14Virtual signals for user sequences
- 11:03Feature serving at Pinterest
- 11:47Scoring system overview
- 12:31Organic and virtual features
- 13:56Sci data fetcher workflow
- 14:41Cache layer and KV store
- 15:26Cache Li cache library
- 17:55Cache adoption in scoring
- 20:00Model farm architecture
- 21:49Performance and cost benefits
- 22:10Blog post and resources
