Wren sends a long Beacon report to mission control. It arrives as a jumble.
"Need at noon tomatoes water," Comet reads. "That is not what you wrote."
"The report was split into pieces," Wren says. "What do you notice? The pieces arrived in the wrong order."
Comet frowns. "Then how does mission control ever put it back together?"
Nova circles the jumbled screen. "Look at what each piece carries besides the words," she says.
Wren zooms in. Every piece has a tiny label: where it came from, where it is going, and a number.
"Packet 3 of 4," Comet reads. "Oh. The numbers are the instructions."
Data cross the Internet as a stream. The stream is cut into chunks, and each chunk travels inside a packet.
A packet holds a chunk of data plus metadata. The metadata are used for routing the packet and for putting the data back together.
Packets may arrive in order, out of order, or not at all.
| Packet | To | From | Number | Data |
|---|---|---|---|---|
| A | Mission Control | Greenhouse | 2 of 4 | NEED |
| B | Mission Control | Greenhouse | 4 of 4 | AT NOON |
| C | Mission Control | Greenhouse | 1 of 4 | TOMATOES |
| D | Mission Control | Greenhouse | 3 of 4 | WATER |
These packets arrived in the order A, B, C, D. They are invented for our story.
A protocol is an agreed set of rules that say how a system behaves.
The Internet is a network of networks. It uses open, standard protocols. IP, TCP and UDP are common Internet protocols.
Each device on a network has an address that identifies it. Routers compare IP addresses to choose the way a packet should go.
Routing on the Internet is usually dynamic: the path is not set in advance. The Internet was designed to scale, to grow very large.
The World Wide Web is a system of linked pages, programs and files. It uses the Internet, and HTTP is one of its protocols.
| Statement | True or false? |
|---|---|
| The Internet and the World Wide Web are exactly the same thing. | ? |
| The World Wide Web uses the Internet. | ? |
| HTTP is a protocol used by the World Wide Web. | ? |
| On the Internet, every path is fixed before the packet leaves. | ? |
| Routers compare IP addresses to choose a packet's way. | ? |
Sharp work. Tomorrow in the Beacon Lab, you will run the relay network on paper.