Node JS
summary
Claims that IO must be done differently and shows a usable stack: server-side JavaScript on Google’s V8, an event loop with non-blocking callbacks, libev/libeio thread pool to offload POSIX calls. Demonstrates TCP server (Port 8000), HTTP streaming with setTimeout (2000 ms) and setInterval (500 ms), an IRC daemon ~400 lines, benchmarks versus Apache/nginx (3,000 clients memory difference), current release 0.1.17 and planned 0.2 with TLS and better modularity.
AI-written summary · about
chapters (29)
- 0:00Node JS
- 0:50We are doing it wrong
- 2:05You cant just wait
- 2:45Better software can do better
- 6:30Thread concurrency
- 9:10Threading
- 9:35Nonblocking
- 10:10Spaghetti code
- 10:40Missing infrastructure
- 11:10Missing libraries
- 12:05Event loops
- 13:15JavaScript
- 14:20Nonblocking infrastructure
- 14:50Design goals
- 16:20Builtin support
- 17:20API
- 18:05Examples
- 18:25Example
- 25:30Promise
- 26:15HTTP Server
- 29:35Promises
- 30:30Subprocess
- 31:00Cat
- 32:00Demo
- 38:55Internal Design
- 40:00Thread Pool
- 41:10Pumping Files
- 42:10Pumping
- 43:00Modularity








