Our great sponsors
-
leapfrog
Lock-free concurrent and single-threaded hash map implementations using Leapfrog probing. Currently the highest performance concurrent HashMap in Rust for certain use cases.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I'm announcing v 0.2.0 of leapfrog (crate), which adds new features and fixes the collision problems of the previous version. The performance is slightly reduced, but not by much and the maps are still very fast.
The maps now stores both keys and values,. The HashMap (single threaded version) is 1.2-1.5x the std HashMap and the LeapMap is between 1.6 - 2.3x the next fastest concurrent hash map on 30 cores for exchange and read heavy workloads, on these benchmarks. For rapid growth type workloads it is less performant (0.8x the performance of DashMap) but better than the rest. See the crate, repo, and linked benchmarks for more details. The benchmarks, however, definitely need to be extended to cover more use cases as they are quite limited at the moment.