Trivia

Hard

Which Viral Video Was So Popular YouTube Had To Change Their View Count Algorithm To Prevent An Integer Overflow?

The Annoying Orange
Chewbacca Mom
Charlie Bit My Finger
Gangnam Style

Answer: Gangnam Style

Back in 2012, the music video for Korean rapper Psy’s Gangnam Style went viral and racked up a billion views over the next few months. Although the popularity of the video waned, it still continued to collect page views and soon hit two billion in mid 2014.

It was around that point that YouTube engineers realized they had a minor problem on their hands: they used 32-bit integers to store the page view values for videos. The largest positive number that can be represented by a 32-bit integer is 2,147,483,647. Once you have a value larger than that, you run into what is known as an integer overflow (a situation where an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented within the available storage space). While that wouldn’t “break YouTube,” as was erroneously reported at the time, it would certainly break the view counter on popular videos like “Gangnam Style”.

As a result, they changed the view count representation from 32-bit to 64-bit, which allows for proper registration of a whopping 9,223,372,036,854,775,807 views. That’s 9 quintillion, a number so huge that in order for a viral video to break the 64-bit integer barrier, it would need to be approximately 3.34 billion times more popular than “Gangnam Style”.

Trivia

Hard

The “COCOM Limit” Is A GPS Security Regulation That Affects Recreational?

Trivia

Very Hard

The Kindle’s Codename Was Drawn From What Work Of Fiction?

Trivia

Hard

Before Mike Judge, The Creator Of King Of The Hill, Was A Cartoonist He?

Trivia

Hard

Which Amusement Park Almost Built A Massive Myst-Themed Adventure?

Trivia

Hard

If You Want a Fresh Can of 1990s Energy Drink “Surge” You’ll Have to Visit Where?

Trivia

Hard

Which Of These Authors Invented A System For Taking Notes In The Dark?

Trivia

Hard

What Animal Product Was Once Widely Used To Clarify Beer During Production?

Trivia

Hard

Which Candy Was Originally Produced Using Decommissioned World War II Machinery?

Trivia

Hard

With The Y2K Problem Behind Us, We Now Need To Worry About What?

Trivia

Easy

Food Allergies Are An Inflammatory Reaction To What Compound In The Food?