What Is “Ping” and How Does It Affect the Internet?

What Is “Ping” and How Does It Affect the Internet? Featured Image

If you’ve been browsing the Web long enough or love playing multiplayer games, you may have come across the term “ping.” You may know already that the lower the ping is, the better your connection is. But what is a “ping” really? What does it mean in the computing world, and why does it have such an odd name?

Where Did the Name Come From?

There are a few theories that “ping” is actually an acronym, and some say it stands for “Packet Internet or Inter-Network Groper.” But there’s nothing really substantial to say it stands for anything.

ping-submarine

What everyone does agree on is that its name comes from the sound that sonar makes when it detects another vessel. This is a good term, as it gives a brief explanation of how pinging works in the computing world!

What Does Pinging Do?

When a computer pings another computer or server, it’s trying to accomplish two things. First, it’s checking to see if the computer or server is able to handle communications. Second, if the target is able to communicate, it measures how long it would take to receive a reply.

Checking Server Status

ping-server

Using ping to check the status of a server is very handy when trying to solve a network problem. Networks are typically made up of a lot of different servers. If one of them goes down or is acting slow, it can prevent you from connecting to the server you want to access. Even worse, there will be very little feedback on which server, exactly, is the one causing the issues!

By pinging from your computer to the target server, you can see the steps your communication takes as it makes its journey. If the communication “trips up” at a specific part, your computer will let you know that the signal got lost. This means you can diagnose what step of the journey has gone bad and can fix the problem accordingly.

Checking Response Time

ping-response

If the server is already talking to your computer just fine, a ping test can tell you how fast your connection is. This is usually measured in milliseconds, which is why ping usually displays its speed in “ms.” The lower this number is, the faster communications are between you and the server. A ping of 25ms is “faster” than a ping of 120ms, for example.

This is particularly handy in video games where every player is talking to a central server. The server stores all of the information about the current game and tells the players what’s going on. The players respond by telling the server what moves they’d like to make.

If the ping is too high, your computer takes a while to send and receive information from the server. This means the player won’t transmit their moves before the other players, and they’ll see things happening later than the other players. This then creates an undesirable game state where people with high pings can’t react to what’s going on in the game as fast as the other players.

A Thing About Ping

While you may have already known that low pings equal better connections, what a “ping” actually is isn’t so obvious. Now you know what a ping is and why it’s important in computer networking.

Have you ever pinged a server to check for network issues? Let us know below.

Image Credit: Dunk

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Simon Batt Avatar

Read next

Tristan Harris, Google’s former design ethicist, told the US Senate that the pull-to-refresh gesture on nearly every app works like the lever of a Las Vegas slot machine, and he has long warned that we now reach for our phones around 150 times a day without ever calling it gambling
In 1969, László Bélády and two IBM colleagues published a paging-machine anomaly showing FIFO could make four memory frames suffer ten page faults after three frames suffered nine, leaving generations of operating-systems students staring at the moment more memory became the wrong answer
When Bell Labs engineer Karl Jansky pointed a rotating antenna at the sky in 1932 looking for sources of transatlantic radio static, he kept picking up a faint hiss that peaked every 23 hours and 56 minutes, and he eventually realized he had become the first human to hear the center of the Milky Way.
The colour magenta does not exist anywhere in the spectrum of visible light, and your brain manufactures it on the spot whenever red and blue cones fire together, inventing a hue to fill a gap that physics never bothered to provide.
On 28 May 2009, Google demoed a product called Wave on stage at I/O for 80 minutes and got a standing ovation from developers who had no idea what they had just watched, and 15 months later the company quietly shut it down because almost nobody could explain to a friend what it was actually for
When Clair Patterson set out in 1948 to measure the age of the Earth using lead in meteorites, his samples kept coming back contaminated, and the seven-year detour he took to find the source ended with him almost single-handedly forcing leaded gasoline out of American cars by 1986.
The IBM 305 RAMAC stayed in production until 1961, weighed more than a ton, stored five million characters on fifty spinning platters, and still drew customers because the alternative was a room full of punched cards
In 1977, Ann Druyan recorded an hour of her brainwaves and heartbeat two days after she and Carl Sagan agreed to marry, and NASA pressed the compressed minute onto Voyager’s Golden Record as a private love signal now more than 25 billion kilometres from Earth