-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
ARC - Adaptive Replacement Cache #45
Comments
I've heard of this, but I've never looked in to it much. If you want to see if you can use that algorithm to implement Glide's cache interface and put up a pull request, I'd definitely be curious to try it out. You can find the cache interface here: The clearing memory methods are less important for testing and it seems like the others would be relatively straight forward. Thanks for pointing this out. |
Ok, I will try my best to implement it. We would have to some way of benchmarking it. |
Actually, it seems IBM has a patent on the algorithm. Does that mean we can't use it? |
I am not a lawyer, but probably better not to use it, particularly since it seems to have been dropped from some other more prominent projects. |
Adaptive Replacement Cache is supposed to substantially outperform LRU. Also, there is:
Clock with Adaptive Replacement which has comparable performance. I know I am not showing any "proof" or benchmarks but just wondering.
https://code.google.com/p/custard-cache/source/browse/trunk/custard-cache-policies/src/main/java/com/custardsource/cache/policy/replacement/AdaptiveReplacementCacheManager.java?r=51
The text was updated successfully, but these errors were encountered: