Lyft's ML Feature Serving Infrastructure: Unified Batch and Streaming Feature Access for Training and Online Inference
Lyft's ML models require features computed via both batch jobs on the data warehouse and real-time event streams, and those features must be accessible in two modes: batch queries for model training and low-latency point lookups for online inference — a dual-access requirement that needed a unified infrastructure solution.
The Feature Service has been widely adopted across Lyft teams since Q4 2017, hosting thousands of features across many ML models, serving millions of requests per minute with single-digit millisecond latency and 99.99%+ availability.
Frequently asked questions
What did this team achieve with this AI workflow?
The Feature Service has been widely adopted across Lyft teams since Q4 2017, hosting thousands of features across many ML models, serving millions of requests per minute with single-digit millisecond latency and 99.99…
What tools did this team use?
Flyte, Flink, DynamoDB, Hive, Redis, Elasticsearch, Kafka.
What results were reported?
Requests served per minute: millions of requests per minute; Read latency: single-digit millisecond latency; Service availability: 99.99%+; Features hosted: several 1000s of features (source-reported, not independently verified).
How is this back office ops AI workflow structured?
SQL Feature Definition → Batch Ingestion via Flyte → Stream Ingestion via Flink → Validation and DynamoDB Storage → Replication and Redis Caching → Online Inference Retrieval → Training Data Access via Hive.