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

Resource cache and management #249

Open
iboB opened this issue Feb 12, 2025 · 2 comments
Open

Resource cache and management #249

iboB opened this issue Feb 12, 2025 · 2 comments
Assignees

Comments

@iboB
Copy link
Member

iboB commented Feb 12, 2025

Implement based on #250

This likely ties in with the system context idea in #231

@iboB iboB added rnd Research and development triage Still under assessment. May be delayed or cancelled labels Feb 12, 2025
@iboB iboB self-assigned this Feb 12, 2025
@iboB iboB removed rnd Research and development triage Still under assessment. May be delayed or cancelled labels Feb 12, 2025
@iboB iboB moved this from Todo to In Progress in Local SDK Beta Feb 12, 2025
@iboB iboB removed this from Local SDK Beta Feb 21, 2025
@iboB
Copy link
Member Author

iboB commented Feb 26, 2025

As of this point we have a trivial resource manager. Moving this to another project to be properly taken care of.

@iboB iboB changed the title Add utils which can help with model management Resource cache and management Feb 28, 2025
iboB pushed a commit that referenced this issue Feb 28, 2025
-- this is improving how it's used by clients
@iboB
Copy link
Member Author

iboB commented Feb 28, 2025

The current implementation does the optimistic out-of-lock creation. While this is ok for most scenarios, it is not ok for us. The problem is that the creation of a resource may fail precisely because the same one is currently being created.

To fix this we would need to add per-resource locks in the manager

pminev added a commit that referenced this issue Feb 28, 2025
-- this is improving how it's used by clients
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant