Golang, Software Performance, Concurrent Programming, Cache Coherence, Database Development.
int, for example, a UUID or string might be used as the unique ID. In my case, I already have run my resource identifier through a high-quality hash function such as Highway Hash or xxHash to get a digest, which makes this easy. As you can see, this is like an incredibly naïve hash map