TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A resizable concurrent map

108 pointsby alanfranzoniover 9 years ago

4 comments

ignoramousover 9 years ago
Dr. Cliff Click&#x27;s Google talk on Lock-Free Hashtable is here: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;HJ-719EGIts" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;HJ-719EGIts</a><p>Acc to Dr. Click, if you do not have 30+ CPUs in a single machine, ConcurrentHashMap (built-in to the JDK) will do the trick more often than not. The talk is really worth it, if you&#x27;re curious about the design, esp.<p>Dr. Click also had memorable debate with Rich Hickey over STMs. He works at h2o.ai and wrote about building a Key-Value store two years ago: <a href="http:&#x2F;&#x2F;blog.h2o.ai&#x2F;2014&#x2F;02&#x2F;kv-store-memory-analytics&#x2F;" rel="nofollow">http:&#x2F;&#x2F;blog.h2o.ai&#x2F;2014&#x2F;02&#x2F;kv-store-memory-analytics&#x2F;</a>
评论 #11157325 未加载
ruggeriover 9 years ago
When this last came up I started looking into Split-Ordered Lists, which are fascinating.<p><a href="http:&#x2F;&#x2F;www.cs.tau.ac.il&#x2F;~afek&#x2F;SplitOrderListHashSS03.pdf" rel="nofollow">http:&#x2F;&#x2F;www.cs.tau.ac.il&#x2F;~afek&#x2F;SplitOrderListHashSS03.pdf</a>
评论 #11153980 未加载
chubotover 9 years ago
Related thread:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8362040" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8362040</a><p>The difference appears to be that you can resize concurrently with lookups. From reading this article it seems they are not that happy with this aspect of the implementation:<p><i>Right now, if a get call encounters a Redirect, it helps complete the migration. Perhaps it would be better for scalability if it immediately read from the new table instead. That’s something worth investigating.</i>
fenesiistvanover 9 years ago
Good to see this is alive.<p>Old thread: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11016350" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11016350</a>