π HTTP
Unit 2 β The internet | November 21π― Learning Target
AP
The Internet is a network of autonomous systems.AP
Explain the abstractions in the Internet and how the Internet functions.- I can identify standards such as hypertext transfer protocol (HTTP), IP, and simple mail transfer protocol (SMTP).
- I can explain how the different protocols of the internet interact for reliability and scalability.
Do Now
βThe internet works in layers.β
What do you think this means?
Protocols
- DNS - The service that translates URLs to IP addresses.
- HTTP - HyperText Transfer Protocol - the protocol used for transmitting web pages over the Internet
- IP Address - A number assigned to any item that is connected to the Internet.
- TCP - Transmission Control Protocol - provides reliable, ordered, and error-checked delivery of a stream of packets on the internet. TCP is tightly linked with IP and usually seen as TCP/IP in writing.
- URL - An easy-to-remember address for calling a web page (like www.code.org).
The internet protocol βstackβ
The system was constructed with layers of abstraction where each layer only needs to concern itself with its specific job, and then hands it off to another layer. This makes the very complicated task of digital network communication possible. At the top layer, for example, DNS just thinks is βspeaking DNSβ to some other computer - the DNS protocol does not even need to know how the other layers work It just relies on them doing their jobs.
HTTP
HTTP in action
You will use your browserβs developer tools to discover what kind of HTTP traffic is associated with visiting different types of websites. You and your partner are going to look at least 5 different types of websites:
- http://bsk.education β a very simple web page. Use this first to investigate developer tools.
- A βstaticβ website like: Wikipedia
- A news website like: ESPN.com, BuzzFeed, the New York Times, etc.
- A streaming site like: YouTube, or Spotify
- A site that accepts user input like: twitter, Facebook, email, google docs.
For each type of website below, follow these steps:
- Monitor the HTTP traffic generated by loading the page.
- Once the page has loaded, poke around with the other information the developer tools let you see about the data coming in. What about the protocols can you see?
- Interact with the website by clicking links or using other functionality on the site, noting how this affects the HTTP traffic.
- Observe other things like:
- Total amount of data received
- Number of HTTP requests actually generated by loading one page
- Total time to load the page.
- Types of data received through HTTP (itβs more than just HTML)