librseq
Library for Restartable Sequences (by compudj)
high-scale-lib
A fork of Cliff Click's High Scale Library. Improved with bug fixes and a real build system. (by boundary)
librseq | high-scale-lib | |
---|---|---|
2 | 2 | |
63 | 412 | |
- | 0.7% | |
9.5 | 10.0 | |
20 days ago | about 9 years ago | |
C | Java | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
librseq
Posts with mentions or reviews of librseq.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-26.
-
Cache invalidation really is one of the hardest problems in computer science
For Linux userspace rseq, see the standalone library and the GLIBC integration. Note that there's the major downside of a fallback being mandatory, and also the downside of the compiler being ignorant, unlike kernel or segment/TLS cpu-locals.
-
As part of the stdlib mutex overhaul, std::sync::Mutex on Linux now has competitive performance with parking_lot
The epoch GC library I've used before was a Google-internal C++ one. It noticeably improved my software's tail latency over rwlocks. The unique thing about it is that it was basically zero-cost over a plain non-atomic pointer. It used Linux restartable sequences (aka rseq) to take advantage of synchronization operations Linux does on each context switch, rather than adding new atomics. I'm not aware of any open source synchronization libraries that do the same thing, but there's nothing stopping someone from writing one. rseq kernel support has been in mainline since Linux 4.18.
high-scale-lib
Posts with mentions or reviews of high-scale-lib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-26.
-
Cache invalidation really is one of the hardest problems in computer science
And you're not going to do better than God among men, Cliff Click did with high-scale-lib.
-
Java programmer wanting to concurrency programming which book should I read first
If you want to understand how concurrent data structures are designed by the pros then diving into the source code of java.util.concurrent classes plus other masterpieces such as Cliff Click's Lock Free Hash Map and disruptor is more helpful than the book.
What are some alternatives?
When comparing librseq and high-scale-lib you can also consider the following projects:
tokio - A runtime for writing reliable asynchronous applications with Rust. Provides I/O, networking, scheduling, timers, ...
Disruptor - High Performance Inter-Thread Messaging Library
flurry - A port of Java's ConcurrentHashMap to Rust
seize - Fast, efficient, and robust memory reclamation for Rust.
rust - Empowering everyone to build reliable and efficient software.