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

Fixes RamUsageEstimator performance issue in tiered caching framework #16

Open
wants to merge 1 commit into
base: feature/tiered-caching
Choose a base branch
from

Conversation

peteralfonsi
Copy link
Owner

Description

Computes the estimated RAM size of IRC Key objects and IndicesService.IndexShardCacheEntity objects just once, rather than every time one gets instantiated. This was causing ~5% performance overhead in tiered caching relative to baseline. These classes were static before our tiered caching changes, so this should not cause any issues.

Related Issues

N/A

Check List

  • [N/A] New functionality includes testing.
    • All tests pass
  • [N/A] New functionality has been documented.
    • [N/A] New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • [N/A] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • [N/A] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

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.

1 participant