Real-time Feature Serving for Online Inference
summary
Chalk describes a just-in-time online feature store that serves inference requests under 5 ms by compiling SQL and Python feature resolvers into a C++ gRPC engine, pushing filters to source databases, and building a runtime query plan that merges joins, projections and caches results. It supports relationship-aware features, backfills by replaying with feature time, and calls costly services like Gemini and email age with configurable staleness and online caching, running in customer clouds and operating at production card-transaction scale.
AI-written summary · about
chapters (12)
- 0:00Introduction to Chalk
- 1:06Modeling features in Python
- 2:11Connecting features to data
- 3:13Writing Python feature functions
- 4:37Query planning and execution
- 5:42Iterating on fraud features
- 8:29Local development and testing
- 9:12Feature time and backfills
- 10:56Caching and API integrations
- 12:41Relationships and scalability
- 13:22Feature discovery and monitoring
- 13:44Deployment and compliance
