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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Bringing Erlang's Fault-Tolerance to Polyglot Development

19 点作者 bbeneschott将近 12 年前

3 条评论

RyanZAG将近 12 年前
<p><pre><code> Basically, building real-time fault-tolerance support on top of the JVM is by definition impossible, because the JVM itself is not fault-tolerant. </code></pre> This isn&#x27;t strictly correct. The article talks about the big difference between the JVM and Erlang being a shared heap vs multiple heaps, but really, it just comes down to coding. There is nothing stopping you from using message passing and immutability in the JVM, and many libraries (eg Scala Actors) do exactly this.<p>So it&#x27;s definitely not <i>impossible</i> to build fault tolerance on the JVM.<p>Also the diagram showing Erlang acting on any number of CPUs while Java is somehow limited to 2 CPUs is simply a marketing lie and is very unnecessary. The JVM can scale happily to any number of CPUs, as it piggy backs off native OS threads, which in linux&#x2F;windows both scale to any number of CPUs.
评论 #5919466 未加载
nnq将近 12 年前
Simple question: how could I <i>migrate away</i> from this platform if at one point or another I would get unsatisfied with either the platform or would need this on my own servers? Is there an open-source platform technology? Is this also available as a plain ol&#x27; software-as-a-product that I could use on my servers?
评论 #5919565 未加载
endlessvoid94将近 12 年前
This seems like a really interesting approach. I&#x27;ve often wondered what it would be like to live in a world where almost everything could be wrapped in a transaction, and it seems like Cloudl <i>sort of</i> goes in this direction.
评论 #5919442 未加载