'Gangnam Style' forced YouTube to remake its view counter code

Andre Yoskowitz
3 Dec 2014 23:14

According to Google, PSY's 'Gangnam Style' reached a view count so high that it actually broke YouTube's view counter, forcing the company to upgrade its code.
Says the company:
"We never thought a video would be watched in numbers greater than a 32-bit integer (=2,147,483,647 views), but that was before we met PSY. "Gangnam Style" has been viewed so many times we had to upgrade to a 64-bit integer (9,223,372,036,854,775,808)!
Hover over the counter in PSY's video to see a little math magic and stay tuned for bigger and bigger numbers on YouTube."

The new updated storage can support 9 quintillion views, even though that never will never be hit.


More from us
Tags
YouTube gangnam style
We use cookies to improve our service.