from Hacker News

Node.js vs Erlang: SyncPad's Experience

by roder on 12/3/10, 4:40 PM with 32 comments

  • by Rauchg on 12/3/10, 5:48 PM

    It would be really useful for him to say what Node.js version he's using. Node <=0.2.3 has a bug related to reaching the file descriptor limit of the OS that makes CPU usage go through the roof, for example.
  • by boundlessdreamz on 12/3/10, 5:16 PM

  • by stcredzero on 12/3/10, 6:08 PM

    Why does JSON have to be involved at all? A binary format using UDP packets would perform much better.

    I was trying to use SyncPad with my dad last night to try out as a means of doing Hangul lessons over the net, and performance was usable but uncomfortably laggy.

  • by nivertech on 12/3/10, 8:48 PM

    Why not combine both? Use Erlang/OTP for writing telecom-grade servers and Javascript for embeddeded scripting engine. Both Riak and CouchDB do exactly this. Use erlang_js OTP application:

    {erlang_js,"Interface between BEAM and JS","0.4.1"}

  • by joebo on 12/3/10, 5:13 PM

    The page is now showing "We'll be back shortly. Our servers are over capacity". Now I'm really interested in which one they are currently using.
  • by jister on 12/3/10, 6:35 PM

    It's not because Node.js is a new thing. It just that JavaScript is a client language, why would use it on a server anyway? Use the appropriate language for your projects and in this case it's Erlang.

    EDIT: For all those Node.js zealots, thanks for downvoting.