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:
· npm: Upgrade to 1.2.14
· core: Append filename properly in dlopen on windows (isaacs)
· zlib: Manage flush flags appropriately (isaacs)
· domains: Handle errors thrown in nested error handlers (isaacs)
· buffer: Strip high bits when converting to ascii (Ben Noordhuis)
· win/msi: Enable modify and repair (Bert Belder)
· win/msi: Add feature selection for various node parts (Bert Belder)
· win/msi: use consistent registry key paths (Bert Belder)
· child_process: support sending dgram socket (Andreas Madsen)
· fs: Raise EISDIR on Windows when calling fs.read/write on a dir (isaacs)
· unix: fix strict aliasing warnings, macro-ify functions (Ben Noordhuis)
· unix: honor UV_THREADPOOL_SIZE environment var (Ben Noordhuis)
· win/tty: fix typo in color attributes enumeration (Bert Belder)
· win/tty: don't touch insert mode or quick edit mode (Bert Belder)