Cmapv2: A high performance, concurrent map

2 sirgallo 1 6/16/2025, 1:00:15 AM github.com ↗

Comments (1)

sirgallo · 16h ago
Performance comparisons are made against go sync.Map, with cmapv2 on par or sometimes exceeding is on different workloads. It is both lock-free and thread safe, using atomic operations. It also supports sharding out of the box. cmapv2 with 10m k/v pairs where keys and values are 64bytes was able to achieve 1.5m w/s and 3m r/s.