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

Improvements to Filestore #3867

Merged
merged 3 commits into from Feb 14, 2023
Merged

Improvements to Filestore #3867

merged 3 commits into from Feb 14, 2023

Conversation

derekcollison
Copy link
Member

Only update on disk per subject information if we know we have an update.

Increase limit for internal blocking IO vs num cores. Will help in slow IO situations and lots of expire cache calls.

Improve expireMsgs minAge calculation for when lots of messages to expire in each callback.

/cc @nats-io/core

…pire in each callback.

This happens when under extreme load as shown in the skipped test.

Signed-off-by: Derek Collison <derek@nats.io>
Will help in slow IO situations and lots of expire cache calls.

Signed-off-by: Derek Collison <derek@nats.io>
Signed-off-by: Derek Collison <derek@nats.io>
Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM, I've done some testing for the last couple hours and it looks good so far.

@derekcollison
Copy link
Member Author

Will merge, I have a followup coming that is an issue for monitoring probes and certain JetStream setups inside Kubernetes environments.

@derekcollison derekcollison merged commit 345496f into main Feb 14, 2023
@derekcollison derekcollison deleted the improvements branch February 14, 2023 12:35
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

Successfully merging this pull request may close these issues.

None yet

2 participants