Build a concurrent map that splits keys across shards, each with its own lock, so threads working on different keys rarely block each other.
Build a concurrent map that splits keys across shards, each with its own lock, so threads working on different keys rarely block each other.
Opens with the full question.