Context
ML feature engineering logic is embedded in the FastAPI inference service, mixing data transformation with model serving and making both hard to maintain.
Current Limitation/Problem
Feature computation runs synchronously during inference requests, adding 200-500ms latency. Feature transformation code is untested and versioned poorly.
Expected Outcome
Standalone ETL pipeline that pre-computes features into a feature store, with versioned transformations, backfill capability, and feature drift monitoring.
Acceptance Criteria
Technical Scope
- services/feature-pipeline/ - new ETL service (Python/FastAPI)
- services/feature-pipeline/features/ - transformation modules (one per feature group)
- ml-service/ - remove embedded feature computation, replace with feature store reads
- docker-compose.yml - feature store (Redis) service
- services/feature-pipeline/jobs/ - cron-based refresh with Airflow integration
Context
ML feature engineering logic is embedded in the FastAPI inference service, mixing data transformation with model serving and making both hard to maintain.
Current Limitation/Problem
Feature computation runs synchronously during inference requests, adding 200-500ms latency. Feature transformation code is untested and versioned poorly.
Expected Outcome
Standalone ETL pipeline that pre-computes features into a feature store, with versioned transformations, backfill capability, and feature drift monitoring.
Acceptance Criteria
Technical Scope