Socket.io
- What is the benefit of transforming data into packets?
Packets are more cost- and data-efficient, and they’re easier to scale.
- UDP is often refereed to as a connectionless protocol. Why is this?
Because it sends the data whenever it is ready without establishing a connection first.
- Can a socket server application have multiple socket connections?
Yes if they’re associated with different client-side IP.Port pairs.
- Can a socket connection application be connected to multiple socket servers?
Don’t know (yet).
- Can an application be both a socket server and a socket connection?
Don’t know (yet).
Document the following Vocabulary Terms
- Observer Pattern: subjects maintain lists of observers and notify them of any state changes by calling methods
(will continue the rest)
-
Listener
-
Event Handler
-
Event Driven Programming
-
Event Loop
-
Event Queue
-
Call Stack
-
Emit/Raise/Trigger
-
Subscribe
-
database