background preloader

Server Side

Facebook Twitter

CouchApp: JavaScript приложения в CouchDB. Node.js для начинающих » Подробный учебник по Node.js. Bulk.fefe.de/scalable-networking.pdf. The C10K problem. [Help save the best Linux news source on the web -- subscribe to Linux Weekly News!] It's time for web servers to handle ten thousand clients simultaneously, don't you think? After all, the web is a big place now. And computers are big, too. Node.js. In the "hello world" web server example below, many client connections can be handled concurrently.

node.js

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. This is in contrast to today's more common concurrency model where OS threads are employed.