-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJS on server
24 lines (16 loc) · 831 Bytes
/
JS on server
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Server:- A server means nothing but a remote computer ( assume its a CPU working remotely),
think of a server as a computer thatis located somewwhere ,
suppose we running a website on server ( somebodies computer,cloud)
it is one machine tht recing the request.
[--------]
[client]------------ > request ----------->[ ]
web-browser [--------]
google.com server
every domain name maps to a ip
114.85.10.184 this points to a server
nodejs is c++ code
js engine v8 developeb by google
v8 is written in c++ programe
V8 can be embedded into any C++ application.(vvvv important)
job of v8 engine is to execute js code to machine level code
node js is a c ++ apllication with v8 embeded in it