RepositoryRustNONorway
jonhoo

jonhoo/left-right

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

2.3kstars
116forks
4issues
3views

Featured achievements

The project's latest awards

2
TINIX TRENDING·Topic: lock-free

#2 Repository of the week

2
TINIX TRENDING·Topic: multithreading

#2 Repository of the week

4
TINIX TRENDING·Topic: concurrency

#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.

RepositoryRust
sxyazi/yazi

💥 Blazing fast terminal file manager written in Rust, based on async I/O.

43.8k
Dec 1, 2026
RepositoryRust
crossbeam-rs/crossbeam

Tools for concurrent programming in Rust

8.7k
Dec 1, 2026
RepositoryC++
AhmadHassan-BTed/ThreadRace

Quantifying the pulse of parallelism: A C++ concurrency telemetry framework measuring the human-perceived efficiency of concurrent execution strategies.

4.6k
Aug 7, 2026
RepositoryJava
JCTools/JCTools

No description provided.

3.9k
Nov 11, 2026
RepositoryC++
max0x7ba/atomic_queue

C++14 concurrent lock-free low-latency queue.

1.9k
Oct 23, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

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...

♥0
157.6M
Jun 1, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
RepositoryRust
rustdesk/rustdesk

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

132.8k
Dec 2, 2026
RepositoryRust
rust-lang/rust

Empowering everyone to build reliable and efficient software.

122.7k
Nov 30, 2026