Norwayjonhoo/left-right
A lock-free, read-optimized, concurrency primitive.
Featured achievements
The project's latest awards
#2 Repository of the week
#2 Repository of the week
#4 Repository of the week
left-right: lock-free read-optimized concurrency primitive
Primitive shifts coordination to writer, readers run parallel.
left-right is concurrency primitive for high-concurrency reads over single-writer data structure. Keeps two copies: one for readers, one for writer. Reads proceed in parallel with minimal coordination. Without writes, reads scale linearly with cores.
Highlights
- Dual copies: two instances, one for readers, one for writer
- Lock-free reads: readers never block, no locks required
- Single writer: only one thread may write at a time
- Linear read scaling: read throughput increases with core count when no writes
- Minimal coordination: writer handles synchronization, readers proceed independently
Why it matters
Enables high read throughput, preserves write correctness. Fits read-heavy workloads where locking would bottleneck. Moves synchronization to writer, simplifies reader logic.
#Rust #Concurrency #LockFree #TiniX
Similar Projects
Discover other similar projects and AI models.
Quantifying the pulse of parallelism: A C++ concurrency telemetry framework measuring the human-perceived efficiency of concurrent execution strategies.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.