Chapter 2 Flashcards
Server
Always on host
Permanent IP address
Client
Contact, communicate with server
May be intermittently connected
May have dynamic IP addresses
Do not communicate directly with each other.
Process
Program running within a host
Client Process
Process that initiates communication.
Server Process
Process that waits to be contacted.
TCP Service
- Reliable transport
- Flow control
- Congestion control
- Connection-oriented
Non-persistent HTTP Steps
- TCP connection opened
- At most one object sent over TCP connection
- TCP connection closed
Persistent HTTP Steps
- TCP connection opened to a server
- Multiple objects can be sent
- Connection closes
RTT
Time for a small packet to travel from client to server and back.
HTTP Request Messages Methods
- POST Method
- GET Method
- HEAD Method
- PUT Method
Web Caching
Goal to satisfy client without involving origin server. Reduces response time for client request. (Cache is closer to client)
Domain Name System (DNS)
An application layer protocol. Built on top and uses the services of TCP and UDP.
Stateless Protocol
An HTTP server maintains no information about the clients.
Non-persistent connections
Each TCP connection is closed after the server sends the object. It does not persist for other objects.
Persistent connections
All of the requests and their corresponding responses be sent over the same TCP connection.