0:00:02.760,0:00:08.500 The Internet | Wires, Cables, and Wi-Fi 0:00:08.500,0:00:12.780 My name is Tess Winlock, I'm a software engineer 0:00:12.780,0:00:17.740 at Google. Here's a question: How does a picture,[br]text message, or email get sent from one device 0:00:17.740,0:00:25.050 to another? It isn't magic, it's the Internet.[br]A tangible, physical system made to move information. 0:00:25.050,0:00:29.660 The Internet is a lot like the postal service,[br]but the physical stuff that gets sent is a 0:00:29.660,0:00:36.910 little bit different. Instead of boxes and[br]envelopes, the Internet ships binary information. 0:00:36.910,0:00:41.360 Information is made of bits. A bit can be[br]described as any pair of opposites: on or 0:00:41.360,0:00:49.330 off, yes or no. We typically use a 1 meaning[br]on, or a 0 meaning off. Because a bit has two 0:00:49.330,0:00:56.150 possible states we call it binary code. 8[br]bits strung together makes 1 byte. 1000 bytes 0:00:56.150,0:01:01.700 all together is a kilobyte. 1000 kilobytes[br]is a megabyte. A song is typically encoded 0:01:01.700,0:01:07.940 using about 3-4MB. It doesn't matter if it's[br]a picture, a video, or a song, everything 0:01:07.940,0:01:12.860 on the Internet is represented and sent around[br]as bits. These are the atoms of information. 0:01:12.860,0:01:16.820 But it's not like we're physically sending[br]1s and 0s from one place to another or one 0:01:16.820,0:01:22.200 person to another. So what is the physical[br]stuff that actually gets sent over the wires 0:01:22.200,0:01:25.920 and the airways? Well, let's look at a small[br]example here of how humans can physically 0:01:25.920,0:01:30.750 communicate to send a single bit of information[br]from one place to another. Let's say that 0:01:30.750,0:01:36.590 we can turn on a light for a 1 or off for[br]0. Or use beeps or similar sorts of things 0:01:36.590,0:01:42.000 to Morse code. These methods work but they're[br]really slow, error prone, and totally dependent 0:01:42.000,0:01:46.610 upon humans. What we really need is a machine.[br]Throughout history, we've built many systems 0:01:46.610,0:01:51.210 that can actually send this binary information[br]through different types of physical mediums. 0:01:51.210,0:02:00.250 Today, we physically send bits by electricity,[br]light, and radio waves. To send a bit via electricity, 0:02:00.250,0:02:04.799 imagine that you have two lightbulbs connected[br]by a copper wire. If one device operator turns 0:02:04.799,0:02:09.280 on the electricity then the lightbulb lights[br]up. No electricity, then no light. If the 0:02:09.280,0:02:14.139 operators on both ends agree that light on[br]means 1 and light off means 0, then we have 0:02:14.139,0:02:19.599 a system for sending bits of information from[br]one person to another using electricity. But 0:02:19.599,0:02:24.999 we have kinda a small problem, if you need[br]to send a 0 five times in a row, well how 0:02:24.999,0:02:29.989 can you do that in such a way that either[br]person can actually count the number of 0s? 0:02:29.989,0:02:34.599 Well the solution is to introduce a clock[br]or a timer. The operators can agree that the 0:02:34.600,0:02:38.769 sender will send 1 bit per second and the[br]receiver will sit down and record every single 0:02:38.769,0:02:43.980 second and see what's on the line. To send[br]five 0s in a row, you just turn off the light, 0:02:43.980,0:02:48.200 wait 5 seconds, the person at the other end[br]of the line will write down all 5 seconds. 0:02:48.200,0:02:53.909 For five 1s in a row, switch it on, wait 5 seconds,[br]write down every second. Obviously we'd like 0:02:53.909,0:02:57.629 to send things a little bit faster than one[br]bit per second, so we need to increase our 0:02:57.629,0:03:04.260 bandwidth - the maximum transmission capacity[br]of a device. Bandwidth is measured by bitrate, 0:03:04.260,0:03:08.840 which is the number of bits that we can actually[br]send over a given period of time usually measured 0:03:08.840,0:03:13.980 in seconds. A different measure of speed is[br]the latency, or the amount of time it takes 0:03:13.980,0:03:21.739 for one bit to travel from one place to another,[br]from the source to the requesting device. 0:03:21.739,0:03:26.559 In our human analogy, one bit per second was[br]pretty fast but kinda hard for a human to 0:03:26.559,0:03:31.419 keep up with. Let's say that you actually[br]want to download a 3MB song in 3 seconds, 0:03:31.419,0:03:37.079 at 8 million bits per megabyte that means[br]a bit rate of about 8 million bits per second. 0:03:37.079,0:03:40.949 Obviously, humans can't send or receive 8[br]million bits per second but a machine could 0:03:40.949,0:03:45.370 do that just fine. But now there's also the[br]question of what sort of cable to send these 0:03:45.370,0:03:50.059 messages over and how far the signals can[br]go. With an ethernet wire, the kind that you 0:03:50.059,0:03:55.939 find in your home, office, or school you see[br]measurable signal loss or interference over 0:03:55.939,0:04:01.059 just a few hundred feet. For the Internet[br]to work all around the world, we need to have 0:04:01.059,0:04:06.139 an alternative method to send bits really[br]long distances. We're talking like across 0:04:06.139,0:04:11.400 oceans. So what else can we use? What do we[br]know that moves a lot faster than just electricity 0:04:11.400,0:04:17.720 through a wire? Light. We can actually send[br]bits as light beams from one place to another 0:04:17.720,0:04:22.550 using a fiber optic cable. A fiber optic cable[br]is a thread of glass engineered to reflect 0:04:22.550,0:04:27.090 light. When you send a beam of light down[br]the cable, light bounces up and down the length 0:04:27.090,0:04:31.240 of the cable until it is received on the other[br]end. Depending on the bounce angle, we can 0:04:31.240,0:04:36.090 actually send multiple bits simultaneously,[br]all of them traveling at the speed of light. 0:04:36.090,0:04:41.030 So fiber is really really fast. But more importantly[br]the signal doesn't really degrade over long 0:04:41.030,0:04:45.479 distances. This is how you can go hundreds[br]of miles without signal loss. This is why 0:04:45.479,0:04:50.259 we use fiber optic cables across the ocean[br]floors to connect one continent to another. 0:04:50.259,0:04:56.360 In 2008 there was a cable that was actually[br]cut near Alexandria, Egypt which really interrupted 0:04:56.360,0:05:00.550 the Internet for most of the Middle East and[br]India. So we take this Internet thing for 0:05:00.550,0:05:05.210 granted but it's really a pretty fragile,[br]physical system. And fiber is awesome but 0:05:05.210,0:05:09.110 it's also really expensive and hard to work[br]with. For most purposes, you're going to find 0:05:09.110,0:05:16.970 copper cable. But how do we move things without[br]wires? How do we send things wirelessly? Radio. 0:05:16.970,0:05:21.129 Wireless bit sending machines typically use[br]a radio signal to send bits from one place 0:05:21.129,0:05:27.930 to another. The machines have to actually[br]translate the 1s and 0s into radio waves of 0:05:27.930,0:05:32.370 different frequencies. The receiving machines[br]reverse the process and convert it back into 0:05:32.370,0:05:37.520 binary on your computer. So wireless has made[br]our Internet mobile. But a radio signal doesn't 0:05:37.520,0:05:41.780 travel all that far before it gets completely[br]garbled. This way you can't really pick up 0:05:41.780,0:05:48.080 a Los Angeles radio station in Chicago. As[br]great as wireless is, today it still relies 0:05:48.080,0:05:52.189 on the wired Internet. If you're in a coffee[br]shop using wifi, then the bits get sent to 0:05:52.189,0:05:56.169 this wireless router and then are transferred[br]through the physical wire to travel the really 0:05:56.169,0:06:01.050 long distances of the Internet. The physical[br]method for sending bits may change in the 0:06:01.050,0:06:06.099 future, whether its lasers sent between satellites,[br]or radio waves from balloons, or drones, but 0:06:06.099,0:06:10.969 the underlying binary representation of information[br]and the protocols for sending that information 0:06:10.969,0:06:15.129 and receiving that information have pretty[br]much stayed the same. Everything on the Internet, 0:06:15.129,0:06:20.580 whether it's words, emails, images, cat videos,[br]puppy videos, all come down to these 1s and 0:06:20.580,0:06:25.849 0s being delivered by electronic pulses, light[br]beams, radio waves, and lots and lots of love.