Node.js

Study group KickOff

Key features



  • platform, not framework
  • non-blocking
  • event-driven I/O
  • single thread

Traditional platforms


node.js


Advantages


  • no expensive context-switching between threads
  • 1M concurrent connections (POC)
  • scalable by design
  • build-able by a simple text editor
  • recommended MVC pattern through express.js

DISADVANTAGES


  • not to be used in CPU-intensive operations
  • exception bubbling
  • low relational DB support

WHEN TO USE


  • real-time application (web socket family, etc)
  • multi-user application

Made with Slides.com