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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Curious Case of Beam CPU Usage (2019)

36 点作者 fzil大约 2 个月前

2 条评论

assbuttbuttass大约 2 个月前
I'm surprised they didn't measure the tail latency, that's where I'd expect busy waiting to make a difference
fzil大约 2 个月前
been reading &#x2F; work with elixir and was interested in finding out the cause of high cpu usage.<p>TLDR: BEAM VM uses busy waiting under the hood to achieve fast response time when dealing with requests. you can disable it by setting a few options in the VM.<p>Edit: Interesting thing here is that there&#x27;s no significant latency difference when toggling busy&#x2F;wait, so not sure why that&#x27;s the default.
评论 #43514215 未加载
评论 #43515188 未加载