jonhoo/left-right
A lock-free, read-optimized, concurrency primitive. observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 96
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3497
- days_rel: n/a
- days_push: 25
- n_releases_24m: 0
Adoption not part of the score
2277 stars · 112 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Left-right is a Rust concurrency primitive that maintains two copies of a data structure so many readers can access one copy in parallel while a single writer updates the other. It shifts synchronization overhead to the writer, letting reads scale linearly with core count when writes are infrequent.
Use cases
- read-heavy shared data structure with a single writer in Rust
- lock-free concurrent reads over a map or config
- scale reads linearly across cores without reader coordination
- replace RwLock for read-mostly workloads
- share frequently-read, rarely-written state across threads
When to choose
- your workload is read-dominated with one writer
- you need minimal coordination among readers
- you're in Rust and want a battle-tested concurrency primitive
When to avoid
- writes are frequent (doubled memory and write cost dominate)
- multiple writers are required
- memory overhead of duplicating the data structure is prohibitive
Facets
library · maturity stable
concurrency developer-tools performance rust cross-platform lock-free read-optimized single-writer concurrency-primitive rust-crate algorithms
2 sources
- readme: https://github.com/jonhoo/left-right · fetched 2026-08-28 · 2c130c138fc6
- registry_crates: https://crates.io/api/v1/crates/left-right · fetched 2026-08-29 · 956ad4af0ab2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jonhoo/left-right | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="jonhoo/left-right")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem