TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Distributed Read-Write Mutex in Go

109 点作者 Jonhoo大约 10 年前

3 条评论

jaytaylor大约 10 年前
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 未加载
Jonhoo大约 10 年前
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.
1amzave大约 10 年前
Possible unintended side-effect: `taskset -p` might have &quot;interesting&quot; effects on your process.
评论 #9481461 未加载