Design a feature store that serves low-latency online features for inference and consistent offline training sets. Support versioning, lineage, and point-in-time correctness for reproducible models.
Functional requirements
- Online serving APIs for feature vectors keyed by entity
- Offline store for training snapshots with time travel
- Versioned feature definitions, schemas, and lineage
- Streaming ingestion from event buses and CDC
- RBAC per team, environment, and sensitive feature tags
Non-functional requirements
- Millisecond-class online reads with replication
- Schema and transform parity between online and offline paths
- High-throughput backfills without starving serving
- Auditability for compliance and debugging