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.

Bringing Erlang's Fault-Tolerance to Polyglot Development

19 pointsby bbeneschottalmost 12 years ago

3 comments

RyanZAGalmost 12 years ago
<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 未加载
nnqalmost 12 years ago
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 未加载
endlessvoid94almost 12 years ago
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 未加载