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

Revert the use of async cache to Caffeine (sync) cache #747

Open
pditommaso opened this issue Nov 17, 2024 · 0 comments
Open

Revert the use of async cache to Caffeine (sync) cache #747

pditommaso opened this issue Nov 17, 2024 · 0 comments

Comments

@pditommaso
Copy link
Collaborator

pditommaso commented Nov 17, 2024

The use of with virtual threads causes with Caffeine local (sync) cache causes the pinning of the "carrier" thread due to the internal use of ConcurrentHashMap.

to prevent the pinning of the carrier thread, and resulting, performance degradation a workaround consists using the "async" version of Caffeine cache.

See here and here.

The goal of this issue is to revert the use of async cache once the issue of ConcurrentHashMap and virtual threads has been resolved in the Java runtime, implemented by this commit 9850c84.

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

No branches or pull requests

1 participant