jonhoo/left-right
View on GitHub ↗ ★ 2,302 Rust
A lock-free, read-optimized, concurrency primitive.
6 mentions on Hacker News by 3 people: 0 stories, 6 comments · first 2019-01-06 · latest 2019-01-30
20082026
-
https://github.com/jonhoo/rust-evmap ?
comment by pas · 2019-01-30 · in Lock-Free Rust: Crossbeam in 2019 -
…For example, here's the diff for moving to someone else's custom hash map implementation: https://github.com/jonhoo/rust-evmap/compare/hashbrown . A better benchmarking harness is a good idea, though I'd like to see something that is…
comment by Jonhoo · 2019-01-06 · in Rust at speed – building a fast concurrent database [video] -
…one read handle for each read thread at the beginning, which is then used for the entire benchmark: https://github.com/jonhoo/rust-evmap/blob/d307999c1ad78d10ec...
comment by Jonhoo · 2019-01-06 · in Rust at speed – building a fast concurrent database [video] -
…necessary there too. Take a look at the full code for the read path here if you're curious! https://github.com/jonhoo/rust-evmap/blob/d307999c1ad78d10ec...
comment by Jonhoo · 2019-01-06 · in Rust at speed – building a fast concurrent database [video] -
His chart is very wrong: https://github.com/jonhoo/rust-evmap/blob/master/benchmark/r... Both Zipf (skewed) and Uniform distributions have the same read throughput. That would not occur because of hardware caches and memory effects. A Zipf…
comment by NovaX · 2019-01-06 · in Rust at speed – building a fast concurrent database [video] -
…a microbenchmark of docs.rs/evmap and not of Nora. This is a load test on the local machine: https://github.com/jonhoo/rust-evmap/tree/master/benchmark His read throughput is linear to the number of cores, which means that it must have…
comment by NovaX · 2019-01-06 · in Rust at speed – building a fast concurrent database [video]