Node.js

From DevSummit
Revision as of 17:47, 5 May 2015 by Vivian (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Node.js doesn't use Apache, it is its own web server
  • Primary users are for realtime applications or making many external requests
  • It runs javascript serverside
  • Uses require() to pull in chunks of functionality
  • Reverse proxy to run both node and apache on the same server
  • Need error handling, so one error doesn't crash the whole process
  • Process manager to restart stopped processes
  • You send blocks of callback code with requests
  • NPM: Node Package Manager
  • You can include different versions of the same library from different parts of your code
  • Core development is drawing near version 1
  • Use different processes for different workloads or for multiple cores
  • Redis and memcache can syncronize data between threads
  • Redis can do shared memory between different languages
  • Etherpad is in node