System Design
19. AI System Design and LLM InfrastructureAnimated
Feature Stores
One place for ML features.
The idea
Shared definitions serve consistent features for training (offline) and serving (online).
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
One definition of each feature, computed once.
- step:
- 1/4
- at:
- Batch pipeline
1/8
The green dot is a request moving through the system.
Step by step
- 1Define features once
- 2Compute them
- 3Store offline and online
- 4Serve with the same logic
Where it is used
Production ML.
Watch out for
Training-serving skew is what a feature store prevents.