left-right
concache
left-right | concache | |
---|---|---|
5 | 1 | |
1,898 | 157 | |
- | - | |
5.6 | 10.0 | |
8 months ago | over 4 years ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
left-right
-
SQLite: Wal2 Mode
Very similar to the left-right pattern.
https://github.com/jonhoo/left-right
-
I wanna be a crab.
C is much better specified than unsafe Rust. Some things are just not worked out yet in Rust. This may sometimes even bite very experienced devs, such as this issue with Box's aliasing semantics, which tripped up the author of left-right.
-
New ScyllaDB Go Driver: Faster Than GoCQL and Its Rust Counterpart
Do you mean this? https://github.com/jonhoo/left-right
I am not sure of the performance or implementation difficulty but the data structure seems to be what you are talking about.
-
Is Aliasing through a ManuallyDrop<T> sound?
For an example of aliasing data soundly see the aliasing module from left-right
- Writing a concurrent LRU cache
concache
-
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.
What are some alternatives?
triple-buffer - Implementation of triple buffering in Rust
concurrentlinkedhashmap - A ConcurrentLinkedHashMap for Java
bus - Efficient, lock-free, bounded Rust broadcast channel
moka - A high performance concurrent caching library for Rust
dashmap - Blazing fast concurrent HashMap for Rust.
evlru - An eventually consistent LRU designed for lock-free concurrent reads
stretto - Stretto is a Rust implementation for Dgraph's ristretto (https://github.com/dgraph-io/ristretto). A high performance memory-bound Rust cache.
ristretto - A high performance memory-bound Go cache
Caffeine - A high performance caching library for Java