Backend Flashcards

1
Q

What do severs actually do?

A

They serve files.

Also they hear requests for the files, and respond to the request.

This means it needs access to the internet. (or local network).

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

Where are the sever files?

A

In some sort of storage.

Ex. Hard drive or SSD.

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

Does JS natively have the ability to listen to the network to access Hard drive or SSD?

A

No, it does not have access to the files or network.

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

What is Node.js?

A

A JavaScript runtime built on Chrome’s V8 JavaScript engine.

This allows JS to have disk and network access.

Leon’s explanation: The same shit that lets you run JS in the browser can now be used to run JS on Severs, Desktops, and elsewhere.

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

What two things do servers need?

A

Network (internet, request/response) access.

Storage (ssd/hard drive) access.

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