Node.js or Erlang

后端 未结 9 1405
你的背包
你的背包 2021-01-29 19:15

I really like these tools when it comes to the concurrency level it can handle.

Erlang/OTP looks like much more stable solution but requires much more learning and a lot

9条回答
  •  别那么骄傲
    2021-01-29 20:01

    I'm a long-time Erlang programmer, and this question prompted me to take a look at node.js. It looks pretty damn good.

    It does appear that you need to spawn multiple processes to take advantage of multiple cores. I can't see anything about setting processor affinity though. You could use taskset on linux, but it probably should be parametrized and set in the program.

    I also noticed that the platform support might be a little weaker. Specifically, it looks like you would need to run under Cygwin for Windows support.

    Looks good though.


    Edit

    Node.js now has native support for Windows.

提交回复
热议问题