René's URL Explorer Experiment


Title: Optimize get_online_features by consolidating calls to online store across multiple feature views · Issue #4711 · feast-dev/feast · GitHub

Open Graph Title: Optimize get_online_features by consolidating calls to online store across multiple feature views · Issue #4711 · feast-dev/feast

X Title: Optimize get_online_features by consolidating calls to online store across multiple feature views · Issue #4711 · feast-dev/feast

Description: Is your feature request related to a problem? Please describe. I'm running some benchmarks to measure Python SDK performance and want to discuss a potential improvement on get_online_features implementation. When using the get_online_fea...

Open Graph Description: Is your feature request related to a problem? Please describe. I'm running some benchmarks to measure Python SDK performance and want to discuss a potential improvement on get_online_features imple...

X Description: Is your feature request related to a problem? Please describe. I'm running some benchmarks to measure Python SDK performance and want to discuss a potential improvement on get_online_features i...

Opengraph URL: https://github.com/feast-dev/feast/issues/4711

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Optimize get_online_features by consolidating calls to online store across multiple feature views","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nI'm running some benchmarks to measure Python SDK performance and want to discuss a potential improvement on `get_online_features` implementation.\r\n\r\nWhen using the `get_online_features` method in the SDK with a Redis online store, performance suffers when handling a feature service that includes multiple feature views. The SDK iterates over each feature view within the feature service and calls `online_store.online_read(...)` for each view individually.\r\n\r\nAlthough the Redis online store implementation uses [Redis pipeline](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/redis.py#L399-L403) to reduce network roundtrips, the current SDK implementation separates pipeline calls per feature view, leading to inefficiencies that impact overall performance.\r\n\r\n**Describe the solution you'd like**\r\nI think online store interface should have a method to get online features by a list of feature views (or a feature service), and the [get_online_features](https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/online_store.py#L146) should be changed accordingly.\r\n\r\n**Additional context**\r\nFeast's Java code follows a [different implementation](https://github.com/feast-dev/feast/blob/master/java/serving/src/main/java/feast/serving/service/OnlineServingServiceV2.java#L85). It combines features that share same entity keys before calling online store. \r\n","author":{"url":"https://github.com/breno-costa","@type":"Person","name":"breno-costa"},"datePublished":"2024-10-28T21:41:01Z","url":"https://github.com/feast-dev/feast/issues/4711"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4e4121fa-edc6-8612-1abf-9cf63c72dbb6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD296:A7C31:EFB5BA:13BC261:6AFE99A5
html-safe-nonce07ec1ed7274f391dca3e8754680f3d1df18d2ffa52cdc3db135a134c05d7f0fc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjk2OkE3QzMxOkVGQjVCQToxM0JDMjYxOjZBRkU5OUE1IiwidmlzaXRvcl9pZCI6IjY2Nzg2OTMxOTUyNTUwMjgxMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac788f19c1f200f39b76df4fd7959f22b9bcffc2f8d008cf5f37b6db4e39bee6bf
hovercard-subject-tagissue:2619617286
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/4711/issue_layout
twitter:imagehttps://opengraph.githubassets.com/19a3837ce2cddcd7f2b161a144e7bb72e069725bb87b32da720fed09ade0f971/feast-dev/feast/issues/4711
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19a3837ce2cddcd7f2b161a144e7bb72e069725bb87b32da720fed09ade0f971/feast-dev/feast/issues/4711
og:image:altIs your feature request related to a problem? Please describe. I'm running some benchmarks to measure Python SDK performance and want to discuss a potential improvement on get_online_features imple...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebreno-costa
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
turbo-cache-controlno-preview
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/4711#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F4711
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F4711
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/4711
Reloadhttps://github.com/feast-dev/feast/issues/4711
Reloadhttps://github.com/feast-dev/feast/issues/4711
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/4711
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/4711
Optimize get_online_features by consolidating calls to online store across multiple feature viewshttps://github.com/feast-dev/feast/issues/4711#top
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com/breno-costa
breno-costahttps://github.com/breno-costa
on Oct 28, 2024https://github.com/feast-dev/feast/issues/4711#issue-2619617286
Redis pipelinehttps://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/redis.py#L399-L403
get_online_featureshttps://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/online_store.py#L146
different implementationhttps://github.com/feast-dev/feast/blob/master/java/serving/src/main/java/feast/serving/service/OnlineServingServiceV2.java#L85
breno-costahttps://github.com/breno-costa
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
on Oct 28, 2024https://github.com/feast-dev/feast/issues/4711#event-14969932507
https://github.com/franciscojavierarceo
franciscojavierarceohttps://github.com/franciscojavierarceo
on Oct 30, 2024https://github.com/feast-dev/feast/issues/4711#issuecomment-2445611196
https://github.com/tokoko
tokokohttps://github.com/tokoko
on Nov 2, 2024https://github.com/feast-dev/feast/issues/4711#issuecomment-2453009373
https://github.com/apps/stale
stalehttps://github.com/apps/stale
on Apr 26, 2025https://github.com/feast-dev/feast/issues/4711#issuecomment-2831745998
Stalehttps://github.com/probot/stale/pull/430
stalehttps://github.com/apps/stale
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
on Apr 26, 2025https://github.com/feast-dev/feast/issues/4711#event-17414187166
stalehttps://github.com/apps/stale
completedhttps://github.com/feast-dev/feast/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 8, 2025https://github.com/feast-dev/feast/issues/4711#event-17567097955
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/4711
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/4711
kind/featureNew feature or requesthttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Ffeature%22
wontfixThis will not be worked onhttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22wontfix%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.