Skip to content

Instantly share code, notes, and snippets.

@ehazlett
Created March 1, 2012 22:12
Show Gist options
  • Save ehazlett/1953611 to your computer and use it in GitHub Desktop.
Save ehazlett/1953611 to your computer and use it in GitHub Desktop.
Node.js eval
Pros
-----
* async programming, fast
* MongoDB JSON to Node win -- avoid middle translation layers
* Regex allowed in URL routes (Flask doesn't allow regex)
* Node plugins for just about everything (MongoDB, redis, etc.)
* node cluster makes scaling relatively painless
* node specific async features (socket.io, event emitters, etc.) are nice -- the WSGI layer doesn't allow sockets, etc.
* Wide usage -- 37Signals, eBay, Heroku, rdio, yahoo (https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node)
* Re-use existing third-party JS utils (validation, etc.)
Cons
-----
* aync programming -- learning curve
* Somewhat new arena
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment