This is an example of a sharded map using spin locks. It is extremely fast.
BenchmarkCacheSet-8 30000000 52.6 ns/op 0 B/op 0 allocs/op
BenchmarkCacheGet-8 30000000 37.7 ns/op 0 B/op 0 allocs/op
BenchmarkCacheDelete-8 50000000 28.3 ns/op 0 B/op 0 allocs/op
BenchmarkCacheConcurrentSet-8 20000000 72.5 ns/op 0 B/op 0 allocs/op