News for hackers. Stuff that matters.
Re:Multi-core HTTP Server with Node.js by axod on Monday July 19, 2010 @01:30PM (#1529410)
so what is the common use case for using Node, and what in that use case eats CPU?
Re:Multi-core HTTP Server with Node.js by pgriess on Monday July 19, 2010 @01:43PM (#1529465)
Application logic is not free.

The article mentions that using NodeJS as a simple HTTP proxy with no application logic can sustain only 2100 reqs/s before a 2.5GHz Xeon is maxed out. NodeJS uses CPU more efficiently than other HTTP stacks, but its I/O engine is not infinitely scalable.

Re:Multi-core HTTP Server with Node.js by axod on Monday July 19, 2010 @02:10PM (#1529577)
>> "The article mentions that using NodeJS as a simple HTTP proxy with no application logic can sustain only 2100 reqs/s before a 2.5GHz Xeon is maxed out."

That sounds fairly lame to me. Proxying network traffic isn't a CPU heavy operation. Worst case you have to move a few bits of memory around.

Re:Multi-core HTTP Server with Node.js by wizard_2 on Monday July 19, 2010 @06:33PM (#1530440)
Thats specious, you really have to know what you're proxying, and squid and varnish supposedly get much less throughput. (Google around http://deserialized.com/reverse-proxy-performance-varnish-vs... ) "Moving bits" in memory is not a measure of anything.