GoalRecall how digital content reaches a device and solve problems about sharing bandwidth.
New words
server · a computer that stores files and sends them to devices that ask for thempacket · a small numbered piece of a file that travels across a networkbandwidth · the amount of data that a network can send in one secondbuffering · a pause in a stream while the next piece of data is still on its way
Explanation
Digital content is stored as files on servers. When we ask for a file, the server splits it into numbered packets and sends them, and our device puts them back in order. A download saves the whole file on the device. A stream sends a little at a time, and it can pause for buffering if the next piece is late. The last part of the journey is often wireless, using radio waves. Bandwidth is the amount of data that can be sent in one second. It is measured in Kbps, Mbps and Gbps, and each unit is 1000 times the one before. All the devices on a network share its bandwidth, so every new device means a smaller share for each.
Unit
Short for
Size
Kbps
kilobits per second
1000 bits per second
Mbps
megabits per second
1000 Kbps
Gbps
gigabits per second
1000 Mbps
Worked examples
Devices
Share for each (Mbps)
1
60
2
30
3
20
4
15
5
12
6
10
A router gives 60 Mbps and shares it equally between the devices that are connected. Divide 60 by the number of devices. With 4 devices each gets 15 Mbps, and with 6 devices each gets only 10 Mbps.
A video stream needs 5 Mbps. A link gives 20 Mbps. Then 20 ÷ 5 = 4, so four videos can stream at once. If a fifth device joins, the 20 Mbps is shared between five and each gets 20 ÷ 5 = 4 Mbps. This is less than the 5 Mbps that each video needs, so every video starts to buffer.
Situation
Best choice
Why
watching a match as it is played
stream
a live event does not exist as a file yet
reading a story on a long bus trip with no signal
download
the file is saved on the device before the trip
looking at a short clip once
stream
there is no need to keep it
Streaming and downloading both have a best use. Choose by thinking about the connection and about whether the file will be needed again.
Class activity
Share the router (no computer): use 24 counters as 24 Mbps. Groups of pupils are the devices. Share the counters equally between 1, 2, 3, 4 and 6 devices, and write each share in a table. Now suppose that every device wants to stream a video that needs 8 counters. How many videos can the router carry at once? For which numbers of devices can everyone stream? What could the devices do when too many join? Make a list of three rules for using a shared network fairly.
Practice
1
Fill in the missing step and say what it does.
you tap a link→your device sends a request→?→your device puts the packets in order→the page appears
The missing step is that the server splits the file into numbered packets and sends them back. The device then puts the packets in the right order.
2
A router gives 36 Mbps and shares it equally between the four devices below. Each one wants to make a video call that needs 10 Mbps. Is there enough? What can be done?
Device
Needs (Mbps)
tablet
10
phone
10
laptop
10
screen
10
36 ÷ 4 = 9, so each device gets 9 Mbps. This is less than the 10 Mbps that is needed, so the calls may break up. If one device is switched off, the 36 Mbps is shared between three devices and each gets 12 Mbps, which is enough.
3
Change the units. (a) 3 Mbps into Kbps, (b) 2 Gbps into Mbps, (c) 5000 Kbps into Mbps.
A streamed video keeps pausing, but a video that was downloaded earlier plays smoothly. Explain why.
A stream needs new data all the time, and a slow or shared network may deliver it too late, so the video pauses to wait (buffering). The downloaded file is already saved on the device, so it does not need the network while it plays.