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

ref(proguard): Increase in-memory cache size to 5GiB #1438

Merged
merged 1 commit into from Apr 16, 2024

Conversation

loewenheim
Copy link
Contributor

In our preliminary tests with 50% load, we saw in-memory cache hit rate settle at about 50%. Thus, we increase the in-memory cache size so more proguard mappers can be kept in memory.

Further increases may follow if in-memory hit rate is still not satisfactory.

@loewenheim loewenheim requested a review from a team as a code owner April 16, 2024 09:14
@loewenheim loewenheim self-assigned this Apr 16, 2024
Copy link
Member

@Swatinem Swatinem left a comment

Choose a reason for hiding this comment

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

We should keep this in mind once we start rolling this out to single tenant, as those symbolicator instances are running with a lot less memory allocation.

One more reason to only run a single symbolicator (pool) instead of splitting between JS/JVM/LPQ in ST, as that is both unnecessary, and even contraproductive in this case.
And I have advocated against doing so since the very beginning, but I guess noone listens to me 🤷🏻‍♂️

@loewenheim loewenheim merged commit cb02fdc into master Apr 16, 2024
10 checks passed
@loewenheim loewenheim deleted the proguard/cache-size branch April 16, 2024 15:31
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