GoalDescribe how a request reaches a server and how the content comes back in packets.
New words
request · a message that asks a server for a filelink · a piece of text or a picture that takes you to a page or file when you click itpacket · a small piece of data that is sent across a networkreassemble · to put pieces back together in the right order
Explanation
When you click a link, your device sends a request. The request travels over the network and the internet to the server that stores the file. The server finds the file and sends it back. A big file is split into small packets. Each packet has a number. Packets can take different routes, so they may arrive in the wrong order. Your device puts them back in the right order and shows the content. This takes a little time, so a page or a picture may not appear at once. A large video has many more packets than a short message, so it takes longer when the network is slow or busy.
Worked examples
you click a link→device sends a request→server finds the file→server sends numbered packets→device puts the packets in order
This is what happens from the click to the screen. Every step is a short job done by the device, the network or the server.
Packet arrived
1st
2nd
3rd
4th
number on it
3
1
4
2
place in the photo
3rd
1st
4th
2nd
Packets 1 to 4 of a photo arrive in a different order because they took different routes. The device uses the numbers to sort them, so the photo is complete and correct.
A short text message may be only one or two packets. A film clip may be thousands of packets. That is why a message appears at once and a film may take a moment to start.
Class activity
Packet game (no computer): write a sentence of eight words, such as ‘We are going to the market on Saturday’. Cut it into eight slips and write a number on the back of each. Mix the slips. A friend is the server and hands them to you one at a time in a random order. You are the device. Put the slips in order using the numbers and read the sentence aloud. Time how long it takes. Then try again with a sentence of sixteen words. Which one took longer? If you have a computer or tablet, open a large picture and a small picture on a page and notice which one appears first.
Practice
1
Fill in the gaps. When you click a link, your device sends a ___ to a ___. The server sends the file back in small ___.
request, server, packets.
2
Four packets of a message arrive in this order. In what order does the device put them, and why?
1, 2, 3, 4. The device uses the numbers on the packets to put them back in the right order.
3
Why does a long video take longer to start than a short text message?
The video has many more packets. All the packets must travel from the server and be put in order, so it takes more time, especially on a slow or busy network.
4
Leo clicks a link and the page stays blank for a long time. Give two possible reasons.
The network may be busy or slow, the signal may be weak, the server may be busy, or the file may be very large.