Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add registry refreshing and caching #1431

Merged
merged 8 commits into from
Apr 3, 2021

Conversation

woop
Copy link
Member

@woop woop commented Apr 2, 2021

What this PR does / why we need it:

  • Adds support for caching of the RegistryProto as part of the Registry. Used during get_online_features() to prevent users from having to download the registry on every call.
  • Also adds a refresh_registry() method to the FeatureStore class for users that want to explicitly update their registries.

Does this PR introduce a user-facing change?:

Added support for registry caching and added a refresh_registry() method to the FeatureStore class

@woop woop requested a review from jklegar as a code owner April 2, 2021 05:56
@woop woop changed the title Add registry refreshing and caching [WIP] Add registry refreshing and caching Apr 2, 2021
@woop
Copy link
Member Author

woop commented Apr 2, 2021

/kind feature

@feast-ci-bot feast-ci-bot added kind/feature New feature or request and removed needs-kind labels Apr 2, 2021
@woop
Copy link
Member Author

woop commented Apr 2, 2021

Blocked by #1432

woop added 5 commits April 2, 2021 15:35
Signed-off-by: Willem Pienaar <git@willem.co>
Signed-off-by: Willem Pienaar <git@willem.co>
Signed-off-by: Willem Pienaar <git@willem.co>
Signed-off-by: Willem Pienaar <git@willem.co>
Signed-off-by: Willem Pienaar <git@willem.co>
@woop woop changed the title [WIP] Add registry refreshing and caching Add registry refreshing and caching Apr 2, 2021
woop added 2 commits April 2, 2021 15:42
Signed-off-by: Willem Pienaar <git@willem.co>
Signed-off-by: Willem Pienaar <git@willem.co>
Copy link
Collaborator

@jklegar jklegar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with one comment

@feast-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jklegar, woop

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@woop woop force-pushed the add-registry-loading branch 3 times, most recently from eb182a8 to d70b3a0 Compare April 3, 2021 01:58
Signed-off-by: Willem Pienaar <git@willem.co>
@woop woop added the lgtm label Apr 3, 2021
@feast-ci-bot feast-ci-bot merged commit f958f01 into feast-dev:master Apr 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants