You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a data structure HashMap<String, ArrayQueue<Message>>,that is more than 90% read and only rarely write. Which structure should I use to protect it? AtomicCell or ShardedLock ?
The text was updated successfully, but these errors were encountered:
I have a data structure
HashMap<String, ArrayQueue<Message>>
,that is more than 90% read and only rarely write. Which structure should I use to protect it?AtomicCell
orShardedLock
?The text was updated successfully, but these errors were encountered: