GoalExplain what scalability means, name the factors to consider when a network grows, and calculate how long a file takes to send.
New words
bandwidth · how much data a connection can carry each second; more bandwidth means a file is sent fasterscalability · how well a network can grow, for example to carry more devices and userscompatibility · devices working together without problems, because they use the same protocols and speedssegment · one part of a network that has been separated from the rest, for example by a bridge
Explanation
A network that works well today may have to carry many more devices next year. Its ability to grow is called scalability, and designers think about four factors. The first is the number of users: the topology and hardware must cope with more devices, and a bus or a ring slows down as devices are added. The second is cost: a wired cable works for only about 100 metres before the signal gets weak, so a bigger site needs extra hardware, such as a wireless access point or a bridge that splits the network into segments. The third is bandwidth: a wide water pipe carries more litres a second than a narrow one, and a connection with more bandwidth carries more data a second. The fourth is compatibility: new devices must work with the old ones, so many organisations buy all their equipment from one maker. To find the sending time of a file, change megabytes to megabits (× 8) and divide by the bandwidth in megabits per second.
Factor
Question to ask
Number of users
Will the topology and hardware cope with many more devices?
Cost
What extra hardware is needed, and what does it cost?
Bandwidth
Is there enough data capacity for all the users?
Compatibility
Will new devices work with the old ones?
Worked examples
Devices sending
Share for each
Time for 30 MB
1
60 Mbit/s
4 s
2
30 Mbit/s
8 s
4
15 Mbit/s
16 s
8
7.5 Mbit/s
32 s
Sending time and sharing. A 30 MB set of photos is sent over a 60 Mbit/s connection. The file is 30 × 8 = 240 Mbit, so it takes 240 ÷ 60 = 4 seconds. If several devices send at the same time and share the bandwidth equally, each one gets a smaller share and the same file takes longer.
Today
After the new wing
Problem?
Devices
16
46
yes, more than 24 ports
Longest cable
60 m
140 m
yes, more than about 100 m
Switches needed
1
2
buy one more
Growing a small hotel. Today the hotel has 16 devices on a 24-port switch, and the longest cable is 60 m. After building a new wing it will have 46 devices, and the cable to the new wing will be 140 m. 46 is more than 24, so 2 switches are needed (2 × 24 = 48 ports). 140 m is more than 100 m, so the wing needs extra hardware, such as a wireless access point or a switch of its own.
Wired
Wireless
Speed and reliability
usually higher
usually lower
Adding a device
needs a cable
easy
Cost to install
higher
lower
Interference
little
walls and radio signals can disturb it
Wired or wireless for growth? A wired link is usually faster and more reliable, but new devices need cables, and it costs more to install. A wireless link is cheaper and easier to add devices to, but walls and other radio signals can disturb it, and it is usually slower. The hotel could use wired links between the wings and wireless access for guests’ phones.
Class activity
Button bandwidth (no computer). Count out 12 buttons or coins: they are 12 megabits of data. Connection A moves 3 of them from one pile to another every second, and connection B moves 6 every second. Count aloud ‘one second, two seconds …’ and find how long each connection needs. Now let two players use connection B at the same time, so each can move only 3 a second, and find the time for one player’s 12 buttons. Then write the four scalability factors in your own words.
Practice
1
An 18 MB file is sent over a 36 Mbit/s connection. How long does it take on its own? How long would it take if the bandwidth were shared equally by 3 devices that all send at once?
Working
Value
File size
18 MB
Bandwidth
36 Mbit/s
1 byte
8 bits
Time on its own
?
Time when shared by 3
?
18 MB = 144 Mbit. On its own: 144 ÷ 36 = 4 seconds. Shared by 3: each gets 12 Mbit/s, so 144 ÷ 12 = 12 seconds.
2
A 9 MB file is cut into packets of at most 2 MB. How many packets are there, and how big is the last one?
There are 5 packets. Four packets hold 2 MB each (8 MB), so the last packet holds the 1 MB that is left.
3
A café has 8 devices on a bus. It will move to a bigger building and will have 30 devices. Name two scalability factors that the café must think about, and write one question for each.
Today
Planned
Devices
8
30
Topology
bus
?
Cable between rooms
15 m
up to 120 m
Two possible answers. Number of users: will a bus still work well with 30 devices, or will it slow down? Cost: what extra hardware is needed for the longer cables in the bigger building, and what will it cost? (Bandwidth and compatibility are also correct.)
4
Why do many organisations buy all their network equipment from the same maker?
So that the devices are compatible: they use the same protocols and speeds, so they work together without problems and are easier to upgrade and look after.