Node.js's goal is to provide an easy way to build scalable network programs. Node.js communicates to the operating system (via epoll, kqueue, /dev/poll, or select) that it should be notified when a new connection is made, after which it goes to sleep.
If someone new connects, then it executes the callback. Each connection is only a small heap allocation.
What's New in This Release:
· V8: Upgrade to 3.15.11.15
· npm: Upgrade to 1.2.12
· fs: Change default WriteStream config, increase perf (isaacs)
· process: streamlining tick callback logic (Trevor Norris)
· stream_wrap, udp_wrap: add read-only fd property (Ben Noordhuis)
· buffer: accept negative indices in Buffer#slice() (Ben Noordhuis)
· tls: Cycle data when underlying socket drains (isaacs)
· stream: read(0) should not always trigger _read(n,cb) (isaacs)
· stream: Empty strings/buffers do not signal EOF any longer (isaacs)
· crypto: improve cipher/decipher error messages (Ben Noordhuis)
· net: Respect the 'readable' flag on sockets (isaacs)
· net: don't suppress ECONNRESET (Ben Noordhuis)
· typed arrays: copy Buffer in typed array constructor (Ben Noordhuis)
· typed arrays: make DataView throw on non-ArrayBuffer (Ben Noordhuis)
· windows: MSI installer enhancements (Scott Blomquist, Jim Schubert)