How Facebook stores so much data and its statistics

Image for post
Image for post

So what is BigData?

The term “big data” refers to data that is so large, fast, or complex. But this is a problem in the real-world, as to how to store such enormous data.

Ever wondered how does Facebook manages the number of users and provides a customized feed for each and every one. 🤔

Can you guess the number of Facebook users?

The app counts 2.45 billion users, as of Q3 2019.

So here it is. Let me give you some more facts about Facebook:

You can see the HUGE FIGURES right. And the most amazing part is that these figures continue to rise.

✨Stats of Facebook Users

A year prior, in Q3 2018, the figure stood at 2.27 billion, and 2.07 billion a year before. After WhatsApp, it was the most-used mobile app in this same period, according to the same source. And after another stablemate, Facebook Messenger, it was the most-downloaded app.

Image for post
Image for post
Total Facebook users, Q3 2008 — Q2 2019

As we can see below, it is 450 million ahead of YouTube, which is the only thing that comes anywhere near it in terms of the active user base (the below stats refer to Facebook’s Q2 user base). We might also note that in third and fourth place we find WhatsApp (1.6 billion users) and Facebook Messenger (1.3 billion). Ostensibly rivals for the accolade of biggest messenger apps, both are ultimately part of the same Facebook stable. The fourth member, Instagram, is in sixth position (1 billion).

Image for post
Image for post
Facebook MAU vs. other social media, October 2019

If you needed quantification of Facebook’s somewhat terrifying hold over the way we communicate in the 21st century, there you have it.

✨Stats of Facebook Daily Active Users

Facebook reveals daily active user figures in its quarterly statements. In Q3 2019, this figure came to 1.62 billion, up from 1.50 billion a year prior, and from 1.59 billion the quarter before. In percentage terms, this means that a rather stunning 66% of Facebook users around the world use the app every single day.

Image for post
Image for post
Facebook Daily Active Users, Q1 2011 — Q3 2019

We can see that DAU has been growing at what can fairly be described as an even rate since 2011.

✨Stats of Facebook Stories

Facebook’s mighty grip over the internet is further exemplified by the case of Facebook Stories. We’ve heard a lot about Instagram Stories, and how it left the likes of Snapchat for dead in terms of overall user numbers. W­ell, the far-less discussed, and less glamorous Facebook Stories (on a medium more associated with quotidian banality than jet setting opulence), counts no fewer than 500 million daily users. This puts it on a level with its much more widely-discussed stablemate. We might note Facebook’s WhatsApp Stories.

Image for post
Image for post
Facebook Stories daily active users vs. other Stories apps

This is just the statistical analysis of the massive amount of data used by Facebook. All the tech-giant companies like Google, YouTube, Instagram uses nearly the same amount of data.

Now everybody must be curious to know how do these companies manage such a huge amount of data🤔🧐

They use the concept of DISTRIBUTED STORAGE AND COMPUTING.

Systems are connected in the master-slave architecture forming a distributed storage cluster. Let me give you an example of the same (but in a very small context). Suppose you have a PC with 16GB RAM and 500GB Hard disk. But still, you are falling short of space and compute units. Even your friend has the same issues. What will you do now, connect both the PC’s with the help of Networking and you are good to go.

Image for post
Image for post
Facebook storage database

To implement these concepts there are multiple tools in the market like

Thank you! Hope you liked the article and learned something new in the process. 🤗

To be updated about all the articles and posts, Connect with me on:

Written by

I am a DevOps Enthusiast and recently taken to Cloud Computing. Learning Flutter App Development currently. In my free time I engage in competitive coding.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store