Lesson 5 - Activity 2 - Do you know a story about where testing would have helped?

Gangnam Style music video ‘broke’ YouTube

So this one is from Youtube, quite interesting I shall say:

"YouTube’s counter before used a 32-bit integer, which is a unit used to represent data in computer architecture. This 32-bit integer determines the maximum possible views it could count was 2,147,483,647.

The Gangnam Style video exceeded the maximum value, and we got the below famous Gangnam Style YouTube bug.

Nowadays, YouTube uses a 64-bit integer for its video counter, which means videos have a maximum viewer count of 9.22 quintillion."

In this instance testing might have helped understand that this could have been a potential threat. It was not the first time a video became viral so this could have been accounted for in testing.

https://medium.com/swlh/some-of-the-most-famous-bugs-in-software-history-bb16a2ee3f8e

1 Like