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

Allow configurable cache watermarks #973

Merged
merged 7 commits into from
Apr 4, 2024

Conversation

haoming29
Copy link
Contributor

Closes #665

@haoming29 haoming29 added this to the v7.7.0 milestone Mar 21, 2024
@haoming29 haoming29 added enhancement New feature or request cache Issue relating to the cache component labels Mar 21, 2024
Copy link
Collaborator

@bbockelm bbockelm left a comment

Choose a reason for hiding this comment

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

I like the implementation but have questions about the interface.

  • Does it match what we did for local_cache?
  • Is it better/more friendly to have percentages (90%) instead of floats (0.90). Providing percentages may be more user friendly as the number provided is unambiguous.

May be a good idea to have a quick chat with someone from the facilitation team to get their feedback on the subject.

@haoming29
Copy link
Contributor Author

I like the implementation but have questions about the interface.

  • Does it match what we did for local_cache?
  • Is it better/more friendly to have percentages (90%) instead of floats (0.90). Providing percentages may be more user friendly as the number provided is unambiguous.

May be a good idea to have a quick chat with someone from the facilitation team to get their feedback on the subject.

Agree. Percentage (integer) should be more user friendly and have better consistency with local cache

@haoming29 haoming29 requested review from bbockelm and turetske March 25, 2024 18:52
docs/parameters.yaml Outdated Show resolved Hide resolved
docs/parameters.yaml Outdated Show resolved Hide resolved
@haoming29 haoming29 requested a review from turetske April 1, 2024 14:48
Copy link
Collaborator

@turetske turetske left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@haoming29
Copy link
Contributor Author

@bbockelm GitHub requires your approval before merging. Feel free to taking another look.

@bbockelm bbockelm dismissed their stale review April 4, 2024 14:33

Review by Emma after my initial set of changes.

@haoming29 haoming29 merged commit 5a56148 into PelicanPlatform:main Apr 4, 2024
19 checks passed
@haoming29 haoming29 deleted the cache-watermarks branch April 4, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cache Issue relating to the cache component enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache: allow configuring disk usage low/high water marks
3 participants