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

Improve robustness and efficiency of the remote ID cache #18

Open
torstees opened this issue Apr 15, 2022 · 0 comments
Open

Improve robustness and efficiency of the remote ID cache #18

torstees opened this issue Apr 15, 2022 · 0 comments

Comments

@torstees
Copy link
Collaborator

Right now, remote ID should capture all IDs associated with a given study prior to any attempts at loading. This works fine, but it does introduce some amount of delay when the resource count is substantial (such as 200K observations as we have in DS-Connect right now).

Filtering which resource types we cache based on the resourceTypes we are about to load is nice, except that we may need some additional resourceTypes IDd in order to build out the appropriate references.

To facilitate this, we could have a way to recognize when we attempt to get an id for a resourceType that we haven't pulled IDs for and then pull those IDs and cache them. However, if we do this, we'll need to block the entire caching mechanism during this time, or at least have some way to block whenever subsequent attempts to query the cache for the resourceType being populated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant