2: Application Layer Flashcards
What is TCP?
Transmission Control Protocol is a transport-layer protocol facilitating the reliable transmission of data between two endpoints on a computer network.
What are TLD servers?
Top-level domain servers are responsible for resolving the addresses under one particular domain, e.g. .com.
How does socket programming work with UDP?
Connectionless, unreliable datagrams are sent and may or may not be received. methods of ensuring reliability must be built on top of UDP. But might be faster than TCP with less overhead for some uses.
Describe the P2P architecture.
A network topology with no always-on servers in which peers intermittently communicate with each other, requesting services from each other and providing services to others in return. P2P networks are self-scalable since new peers add serving capability as well as requests.
What is SSL?
Secure Sockets Layer is an application-layer security technology used to encrypt data to provide security.
What are DNS RRs?
Resource records are the individual data entries in name servers.
What is cache delay?
The delay between a request being made by a client and a cache returning the result of the request (rather than the origin server).
What are the method types in HTTP/1.0?
GET, POST, and HEAD.
What is a server?
An always-on computer that provides network resources to client devices.
How do you find access link utilisation?
Link utilisation = current data rate on link ÷ link capacity.
What is the heirarchy of DNS?
There are root, TLD, authoritative, and local DNS servers that handle iterative queries that are passed up through the DNS hierarchy to reduce strain.
What is a torrent? What is a torrent tracker?
A torrent is a group of peers that exchange the chunks of a file. A torrent tracker is a computer maintinging the list of peers storing different chunks in the torrent of a file.
What is a client?
An intermittently connected end device that requests resources from servers on a network.
What is IP?
Internet Protocol is a network-layer protocol that handles the routing and addressing of packets between nodes on a computer network.
Why is HTTP stateless?
Because the server maintains no information about past client requests, so each request is treated atomically.
What are the 2 types of HTTP messages?
request and response messages
What are cookies?
A small piece of data used to maintain the user-server state of a web browser across separate connections.
How is UDP different from TCP?
TCP provides reliable transport, flow control, and congestion control, and is connection-oriented. UDP does not provide any of these features. Neither provides security, timing, or a guarantee of a minimum throughput.
What is link utilisation?
The proportion of the capacity of a link which it is actively being used with traffic. Link utilisation = current data rate on link ÷ link capacity.
How do you find total delay when using a cache?
Where p = the probability a resource will be cached = cache hit rate,
total delay = p * delay to get resource from the origin server (1 - p) * delay to get resource from the cache