concurrent-map icon indicating copy to clipboard operation
concurrent-map copied to clipboard

maybe concurrent-map degenerates into common map

Open cold-bin opened this issue 1 year ago • 0 comments

Because it is a single-node map, the value of the SHARD_COUNT cannot be particularly large, so it is easy to randomly transfer a large number of keys to a slot, which means that the shard lock map function may be invalid

Sharding can be achieved using a prioritized queue, and then each time the map with the smallest queue length is taken and put into the element

cold-bin avatar May 15 '24 02:05 cold-bin