News for hackers. Stuff that matters.
Re:Node.js Versus LUA "Hello World" HTTP Server Showdown by pjscott on Wednesday October 13, 2010 @03:13AM (#1786395)
If node can scale beyond a single machine, then it can scale beyond a single CPU on a machine. I know I'm oversimplifying, but you're oversimplifying more.
Re:Node.js Versus LUA "Hello World" HTTP Server Showdown by rubyrescue on Wednesday October 13, 2010 @09:17AM (#1786961)
There's nothing in node that provides mechanisms for cross process scalability. Compared to Erlang, for instance, which provides mechanisms for message passing and scaling past one node, and even one node can efficiently use multiple cores. Node is quite fast but not scalable in that sense.
Re:Node.js Versus LUA "Hello World" HTTP Server Showdown by moonpolysoft on Wednesday October 13, 2010 @03:34AM (#1786434)
So last time I looked at it, Node.js did not have any language level or even library primitives for message passing. At least nothing beyond making you open a socket and work out your own protocol for IPC. I'll grant you that is the standard scalability story for most languages running on multiple hosts. However it seems deficient if one's goal is to make use of most of the cores on modern server hardware.
Re:Node.js Versus LUA "Hello World" HTTP Server Showdown by pjscott on Wednesday October 13, 2010 @02:31PM (#1788277)
That's a really good point. What sort of message passing support would you like to see in node? I have some free time.
Re:Node.js Versus LUA "Hello World" HTTP Server Showdown by silentbicycle on Wednesday October 13, 2010 @03:56PM (#1788623)
Being able to stream arbitrary data as JSON already get you a lot of flexibility. Can you stream Javascript functions, though? (You can in Lua, but doing so w/ closures is tricky.)