Network transmission principles Flashcards
What is latency?
Delay between when an application requests and receives data.
What is jitter?
Irregular latency. In order for network transmission to work, the two devices must agree on a rate at which data is sent and received
How to resolve jitter?
Buffering
QoS guarantee
Quality of Service guarantee
Prioritises data packets for others
3 types of QoS guarantee
Best effort guarantee: no guarantees
Differentiated service guarantee: some traffic is treated better than other traffic
Guaranteed service guarantee: some network bandwidth is reserved for use only by mission-critical applications
4 Internet Protocols
HTTP
HTTPS
FTP
VPN
What’s HTTP?
stateless request protocol
Each message is treated as an independent exchange between a client and server and is not reliant on a successful login or menu selection from another page
transports data between client and server
What’s HTTPS
HTTP but secure
Uses public key encryption
Public key is sent to web page first through SSL (secure socket layer)
What’s FTP?
Used to exchange files
Initated with username and password with the FTP protocol
FTP is NOT encrypted - all files are sent as plain text
Whats VPN?
Encrypted connection between two network devices
Establishing VPN is called “tunnelling”
Tunnelling can be implemented by SSL
What security features do VPN’s ensure?
integrity and authentication
3 methods of data exchange
REST
JSON
XML
REST
client-server
Formats data like JSON and XML but also supports CSV
Uses HTTP requests (GET, PUT, POST, DELETE)
It is stateless - each message is self-descriptive which means it can run independently of any messages before or after.
Assumed data will be cached - means that the client can make decisions about data without contacting the server
However this can be easily modified - poor integrity of data
JSON
data exchange protocol based on JavaScript
allows a program to establish a connection a live website and interact with online data
JSON API on the client side uses HTTP GET and POST requests
Sends data as JSON object
XML
Extension to HTML
Follows a hierarchical structure
To access data, the easiest way is to download the XML file