Monday, August 1, 2011

What Is Node.js?

History

  1. Official name is "Node". Unofficial name is "Node.js"
  2. Written by Ryan Dahl in 2009
  3. Dahl is employed by Joyent, Node's main sponsor (http://github.com/joyent/node)

What is it?

  1. server-side JavaScript environment
  2. runs on top of Google's V8 JavaScript engine (engine in Chrome)
  3. event-driven I/O - not just web servers, but also things like sockets

Why is it useful?

  1. it's javascript!
  2. on the server!
  3. less resource requirement on the server - does not spawn a new thread for every request. Instead, it allocates resources as needed.
  4. does not directly block for I/O calls

Who's using it?

  1. Yammer
  2. Github
  3. 37Signals
  4. Palm/HP (webOs)
  5. Rdio
  6. https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node