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

Upgrade Caffeine to 2.7 #2443

ben-manes opened this issue Mar 4, 2019 · 1 comment


Copy link

commented Mar 4, 2019

LfuCache currently uses a dummy loader to comply with the API and uses only the manual loading methods. Based on this and similar feedback, we now offer AsyncCache to avoid this workaround.

Another benefit is that the eviction policy is now adaptive. It still initially biases towards frequency, but will reconfigure itself based on the workload characteristics. I don't know the typical characteristics for an http cache, but it may be beneficial. I believe there is still some fine tuning needed for tiny caches (e.g. less than 100) that I'll look into for a patch release.


This comment has been minimized.

Copy link

commented Mar 5, 2019

Sounds good. Thanks for letting us know, @ben-manes.

@jrudolph jrudolph added this to the 10.1.8 milestone Mar 5, 2019

@raboof raboof modified the milestones: 10.1.8, 10.1.9 Mar 15, 2019

jrudolph added a commit that referenced this issue May 8, 2019

franktominc added a commit to franktominc/akka-http that referenced this issue Jun 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.