jonhoo
left-right
Rust

A lock-free, read-optimized, concurrency primitive.

Last updated Jul 6, 2026
2.2k
Stars
108
Forks
9
Issues
+1
Stars/day
Attention Score
86
Language breakdown
Rust 100.0%
โ–ธ Files click to expand
README

Codecov Crates.io Documentation

Left-right is a concurrency primitive for high concurrency reads over a single-writer data structure. The primitive keeps two copies of the backing data structure, one that is accessed by readers, and one that is accessed by the (single) writer. This enables all reads to proceed in parallel with minimal coordination, and shifts the coordination overhead to the writer. In the absence of writes, reads scale linearly with the number of cores.

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท jonhoo/left-right ยท Updated daily from GitHub