what does node.js allow you to do
build scalable network applications using js on the server-side
noje.js provides what for v8 JS runtime
a wrapper
why is node.js fast
written mostly in C
what can you build with node
websocket server (chat, file uploads, ad server, any real-time app
is node a framework
no
is node multi-threadeded
no
blocking code
statement blocks the initation of the next step
non blocking
waits for beginning cal to finish termed a “callback” (parallel)
node flow
request>even check loop until trigger>then goes to callback
event types
request connection close
typical blocks
calls out to web services
read/writes on the db
calls to extensions
node was meant to make all code non blocking