Node.js或Erlang [英] Node.js or Erlang
问题描述
我真的很喜欢这些工具,当它涉及并发级别,它可以处理。
I really like these tools when it comes to the concurrency level it can handle.
Erlang看起来更稳定的解决方案,但需要更多的学习和很多潜入功能语言范例。看起来Erlang使它更好的多核处理器(修复我,如果我错了)。
Erlang looks like much more stable solution but requires much more learning and a lot of diving into functional language paradigm. And it looks like Erlang makes it much better when it comes to multi cores CPUs(fix me if I'm wrong).
但我应该选择什么?哪一个更好在短期/长期的角度?
But which should I choose? Which one is better in the short/long term perspective?
我的目标是学习一个工具,使我的web项目在高负载下比传统语言更容易。 p>
My goal is to learn a tool which makes scaling my web projects under high load easier than traditional languages.
推荐答案
我会试试Erlang。即使这将是一个更陡峭的学习曲线,你会得到更多的东西,因为你将学习一个函数式编程语言。此外,由于Erlang是专门为创建可靠的高并发系统而设计的,因此您将学到很多关于同时创建高度可扩展服务的信息。
I would give Erlang a try. Even though it will be a steeper learning curve, you will get more out of it since you will be learning a functional programming language. Also, since Erlang is specifically designed to create reliable, highly concurrent systems, you will learn plenty about creating highly scalable services at the same time.
这篇关于Node.js或Erlang的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!