Title: [Feature] Pre-computed feature vectors for online serving · Issue #6185 · feast-dev/feast · GitHub
Open Graph Title: [Feature] Pre-computed feature vectors for online serving · Issue #6185 · feast-dev/feast
X Title: [Feature] Pre-computed feature vectors for online serving · Issue #6185 · feast-dev/feast
Description: Summary Add an opt-in pre-computed feature vector capability to dramatically reduce online serving latency for the Python feature server. Instead of assembling features from multiple feature views at read time, pre-compute and store the ...
Open Graph Description: Summary Add an opt-in pre-computed feature vector capability to dramatically reduce online serving latency for the Python feature server. Instead of assembling features from multiple feature views ...
X Description: Summary Add an opt-in pre-computed feature vector capability to dramatically reduce online serving latency for the Python feature server. Instead of assembling features from multiple feature views ...
Opengraph URL: https://github.com/feast-dev/feast/issues/6185
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Feature] Pre-computed feature vectors for online serving","articleBody":"## Summary\n\nAdd an opt-in pre-computed feature vector capability to dramatically reduce online serving latency for the Python feature server. Instead of assembling features from multiple feature views at read time, pre-compute and store the complete feature vector as a single serialized blob at write/materialize time.\n\n## Motivation\n\nThe current `get-online-features` bottleneck is architectural: each request must resolve feature views from the registry, issue sequential `online_read` calls per feature view, deserialize individual `ValueProto` objects per feature, assemble them into a `GetOnlineFeaturesResponse` protobuf, then convert to JSON via `MessageToDict`. All of this is O(features × entities) in pure Python.\n\nFor latency-sensitive use cases, we need improvement that cannot be achieved by optimizing the existing read path alone.\n\n## Proposal\n\nAt **write time** (materialize / push), after writing individual features to the online store as usual, also assemble the complete feature vector for each affected `FeatureService` and store it as a **single serialized blob** keyed by `(project, entity_key, feature_service_name)`.\n\nAt **read time**, when the request specifies a `FeatureService` with pre-computation enabled, bypass the per-feature-view assembly pipeline entirely: perform a single key lookup, deserialize one blob, and return.\n\n**Opt-in per FeatureService:**\n\n```\nFeatureService(\n name=\"realtime_scoring\",\n features=[user_fv, txn_fv, product_fv],\n precompute_online=True, # new flag, default False\n)\n```\n\nOnly FeatureServices explicitly marked with precompute_online=True trigger pre-computation. This avoids write amplification for services that don't need it. \n\nFor FeatureServices containing ODFVs: pre-compute only the non-ODFV features as a partial vector, then apply ODFV transforms at read time on top of the pre-computed base.\n\n","author":{"url":"https://github.com/ntkathole","@type":"Person","name":"ntkathole"},"datePublished":"2026-03-27T05:31:38Z","url":"https://github.com/feast-dev/feast/issues/6185"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:411457fc-b87b-0f3f-4728-cdec7b6cbc25 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFD6:342711:2BAABA:3A41E2:6AFE981C |
| html-safe-nonce | b700bdf751ab2ab4ce3a8d2be51ebeed15aeb2c1e047449af500bb365f03101c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkQ2OjM0MjcxMToyQkFBQkE6M0E0MUUyOjZBRkU5ODFDIiwidmlzaXRvcl9pZCI6IjYxOTk2Mzg2MDc1NTMwMDk2OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1f0e4da249c2ece487b54d7d20f6b1c6ac3b1596355c14573a402ed51ce911c6 |
| hovercard-subject-tag | issue:4149552148 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/6185/issue_layout |
| twitter:image | https://opengraph.githubassets.com/02ecf7338beb518a0194d52f3a76a21446773c7d2ed5da2686c58e77b6b29a05/feast-dev/feast/issues/6185 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02ecf7338beb518a0194d52f3a76a21446773c7d2ed5da2686c58e77b6b29a05/feast-dev/feast/issues/6185 |
| og:image:alt | Summary Add an opt-in pre-computed feature vector capability to dramatically reduce online serving latency for the Python feature server. Instead of assembling features from multiple feature views ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ntkathole |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width