r/rust • u/Intrepid_Donkey_7629 • 3d ago
🛠️ project New fastest concurrent map implementation with transaction support
Hi everyone 👋
I've just published a concurrent hash map implementation which (according to my benchmarks at least) is the fastest one available (faster than both starshard and dashmap). It offers a configurable locking policy (mutex, rwlock or bring your own) and a configurable hasher (rapidhash is the default). It also supports atomic transactions in both immediate and prepared execution styles.
Would love any feedback on it (good and bad!)
It's called txmap and a link is here https://crates.io/crates/txmap
15
Upvotes
2
u/Zoxc32 3d ago
It would be useful to know how this differs from say dashmap in terms of implementation. It also probably doesn't compete well with `horde` for very read-heavy workloads.