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.

Distributed Read-Write Mutex in Go

109 pointsby Jonhooabout 10 years ago

3 comments

jaytaylorabout 10 years ago
I thought &quot;distributed&quot; would mean distributed over the network, which I could definitely make use of! (Or perhaps I should just use zookeeper or equivalent for that ;)<p>Anyways, in this case the term &quot;distributed&quot; is being used to describe a mechanism which reduces memory contention when go is utilizing multiple cores on one machine.<p>I&#x27;d love to see more exhaustive analysis of the performance implications for this technique across a wide variety of usage scenarios.
评论 #9478184 未加载
评论 #9478972 未加载
Jonhooabout 10 years ago
FWIW, this has now moved to <a href="https:&#x2F;&#x2F;github.com&#x2F;jonhoo&#x2F;drwmutex" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jonhoo&#x2F;drwmutex</a> so you can use it directly in your projects.
1amzaveabout 10 years ago
Possible unintended side-effect: `taskset -p` might have &quot;interesting&quot; effects on your process.
评论 #9481461 未加载