Node's goal is to provide an easy way to build scalable network programs. Node tells the operating system (through epoll, kqueue, /dev/poll, or select) that it should be notified when a new connection is made, and then it goes to sleep.If someone new connects, then it executes the callback. Each connection is only a small heap allocation.