node.js Flashcards

1
Q

what does node.js allow you to do

A

build scalable network applications using js on the server-side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

noje.js provides what for v8 JS runtime

A

a wrapper

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

why is node.js fast

A

written mostly in C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what can you build with node

A

websocket server (chat, file uploads, ad server, any real-time app

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

is node a framework

A

no

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

is node multi-threadeded

A

no

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

blocking code

A

statement blocks the initation of the next step

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

non blocking

A

waits for beginning cal to finish termed a “callback” (parallel)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

node flow

A

request>even check loop until trigger>then goes to callback

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

event types

A

request connection close

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

typical blocks

A

calls out to web services
read/writes on the db
calls to extensions

node was meant to make all code non blocking

How well did you know this?
1
Not at all
2
3
4
5
Perfectly