concache
A linked-list based, lock-free concurrent hashmap in Rust. (by saligrama)
concurrentlinkedhashmap
A ConcurrentLinkedHashMap for Java (by ben-manes)
concache | concurrentlinkedhashmap | |
---|---|---|
1 | 1 | |
157 | 458 | |
- | - | |
10.0 | 10.0 | |
over 4 years ago | over 3 years ago | |
Rust | Java | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
concache
Posts with mentions or reviews of concache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-10.
-
Writing a concurrent LRU cache
Concache ( https://github.com/saligrama/concache ) is the only crate that came up easily in a search, but I don't know whether it would be easily adaptable if it needed tweaks. You might could try forking it anyway.
concurrentlinkedhashmap
Posts with mentions or reviews of concurrentlinkedhashmap.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-10.
-
Writing a concurrent LRU cache
Part 1 makes sense, 2 is a little confusing. The blog post ends up using this Java library: https://github.com/ben-manes/concurrentlinkedhashmap which implements those ideas. I am curious if there is something equivalent implemented in rust, or is it something I should write? Also is there an even better way to do thread-safe performant LRU?
What are some alternatives?
When comparing concache and concurrentlinkedhashmap you can also consider the following projects:
moka - A high performance concurrent caching library for Rust
Caffeine - A high performance caching library for Java
dashmap - Blazing fast concurrent HashMap for Rust.
stretto - Stretto is a Rust implementation for Dgraph's ristretto (https://github.com/dgraph-io/ristretto). A high performance memory-bound Rust cache.
left-right - A lock-free, read-optimized, concurrency primitive.
ristretto - A high performance memory-bound Go cache
evlru - An eventually consistent LRU designed for lock-free concurrent reads