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.3.4
· v8: Upgrade to v3.20.2
· c-ares: Upgrade to piscisaureus/cares@805d153
· timers: setImmediate process full queue each turn (Ben Noordhuis)
· http: Add agent.get/request methods (isaacs)
· http: Proper KeepAlive behavior (isaacs)
· configure: fix the --without-ssl option (Nathan Rajlich)
· buffer: propagate originating parent (Trevor Norris)
· tls_wrap: return Error not throw for missing cert (Timothy J Fontaine)
· src: enable native v8 typed arrays (Ben Noordhuis)
· stream: objectMode transform should allow falsey values (Jeff Barczewski)
· slab_allocator: remove SlabAllocator (Trevor Norris)
· crypto: fix memory leak in LoadPKCS12 (Fedor Indutny)
· tls: export TLSSocket (Fedor Indutny)
· zlib: allow changing of level and strategy (Brian White)
· zlib: allow custom flush type for flush() (Brian White)