Web Protocols, P2P Networking, and Data Transmission
Classified in Computers
Written on in
English with a size of 2.27 KB
Client and Server Web Interaction
Steps for a Client (Browser)
- Determine the protocol (HTTP).
- Ask DNS for the IP address of the server.
- Make a TCP connection to the server.
- Send a request for the page; the server sends it back.
- Fetch other URLs as needed to display the page.
- Close idle TCP connections.
Steps for a Server
- Accept a TCP connection from the client.
- Get the page request and map it to a resource (e.g., file name).
- Get the resource (e.g., file from disk).
- Send the contents of the resource to the client.
- Release idle TCP connections.
Challenges in P2P Networking
- How do peers find each other?
- How do peers support rapid content downloads?
- How do peers encourage each other to upload?
BitTorrent Protocol Download Steps
- Start with the torrent description.