The hidden infra behind For You pages: Real-time AI
summary
Recommendation infra aims to serve fresh features in a few milliseconds using a query‑first schema, local online stores and big offline stores (TripAdvisor example: 125 TB offline, 9 TB online). Uses Feast as the control plane, vector indexes so vector embeddings as features live with scalar features, TTL and precomputed tiles (Flink) to cut storage, and shard‑per‑core/tablet scaling to hit strict P99 SLAs. Caching options include external caches or embedded DB caches; pluggable online stores let teams swap databases when latency or cost tradeoffs change.
AI-written summary · about
