How Notion Handles 200 BILLION Notes (Without Crashing)
Ever wonder how Notion handles your notes when 100 million other people are using it too?
In this video, I break down Notion's incredible engineering journey from a single database to an infrastructure that manages over 200 BILLION blocks without breaking a sweat.
We dive into:
- How Notion's engineers tackled explosive growth that doubled every 6-12 months
- The sharding strategy that transformed performance
- Why they built their own custom data lake after outgrowing traditional solutions
- The behind-the-scenes story of how they tripled their infrastructure without any downtime
Whether you're a developer curious about scaling challenges or just someone who uses Notion and wants to know how it all works, this deep dive reveals the invisible technical magic that keeps your notes accessible and lightning-fast.
Further Reading:
https://www.notion.com/blog/building-and-scaling-notions-data-lake
https://www.notion.com/blog/the-great-re-shard
https://www.notion.com/blog/sharding-postgres-at-notion
https://www.notion.com/blog/data-model-behind-notion
Editing by Hizakari:
https://hizakari.com/
LINKS
---
MY 12K+ DISCORD 💬
https://discord.gg/GkrFX4zT2C
CONNECT WITH ME ON SOCIAL
📸 Instagram:
https://instagram.com/lewismenelaws
🎚TikTok:
https://tiktok.com/@lewismenelaws
🐣 Twitter:
https://twitter.com/LewisMenelaws
My gear 💻
https://liinks.co/lewismenelaws
-----
TIMESTAMPS
0:00 - Introduction to Notion's growth
0:25 - How Notion works under the hood
1:32 - Single database limitations and scaling challenges
1:55 - Sharding approach explanation
2:57 - Database migration strategy
3:39 - Data lake implementation
5:35 - Building a custom data lake solution
7:07 - Facing new scaling challenges
7:37 - Second sharding implementation
8:46 - Testing and migration process
9:22 - Conclusion
CTC
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Coding with Lewis · Coding with Lewis · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Converting your Callback Functions into Async/Await Functions in under 3 minutes! (React 16)
Coding with Lewis
Solution to Paul McWhorter’s Arduino Tutorial 3 Homework.
Coding with Lewis
This Open Source project helps you build DeFi apps faster. #defi #ethereum #programming
Coding with Lewis
This open source database is incredible 🤯 #opensource #technology #programming #database
Coding with Lewis
This Chrome extension will boost your productivity dramatically. #tech #opensource #productivity
Coding with Lewis
This will help you get a job in tech 👩💻 #opensource #programming #career #productivity
Coding with Lewis
Shopify released a new JavaScript framework #shopify #ecommerce #opensource #technology
Coding with Lewis
This book is a MUST read for all developers. #technology #programming #productivity #books
Coding with Lewis
How to create AI without learning code. #artificialintelligence #programming #technology
Coding with Lewis
How to build cross compatible mobile apps📱#technology #programming #opensource #productivity
Coding with Lewis
This app lets you see if your local McDonalds Ice Cream machine is broken. #programming #technology
Coding with Lewis
Make your websites look like their from Windows 98 #technology #opensource #career #webdev
Coding with Lewis
How do barcodes work? #technology #programming #explained
Coding with Lewis
This AI creates realistic art #technology #opensource #programming #artificialintelligence
Coding with Lewis
What is AWS? (Amazon Web Services) #technology #programming #artificialintelligence #computing
Coding with Lewis
Svelte in 15 seconds #programming #javascript #webdevelopment #opensource
Coding with Lewis
This game engine is essential if you want to create a video game #opensource #gamedev #programming
Coding with Lewis
How to start a tech company for FREE #technology #opensource #programming #business
Coding with Lewis
Every programmer should know this. #opensource #programming #softwareengineer
Coding with Lewis
This will make you a full stack developer #softwareengineer #technology #opensource
Coding with Lewis
This is how to become a better developer this holiday season #technology #programming
Coding with Lewis
This AI adds color to famous photos… #technology #opensource #programming #artificialintelligence
Coding with Lewis
This is the future of NFTs. #technology #cryptocurrency #softwaredeveloper #nft
Coding with Lewis
This is a great way to learn code if you’re Canadian 🇨🇦 #learntocode #programming #software
Coding with Lewis
This is needed before you deploy your application 👩💻. #technology #opensource #programming
Coding with Lewis
Internet Explorer is FINALLY going away! #technology #software #productivity
Coding with Lewis
There’s a competitive community… in Excel? #technology #productivity #excel
Coding with Lewis
These tech trends will dominate 2022. #technology #programming #business
Coding with Lewis
This chrome extension shows you what tech websites use. #opensource #technology #programming
Coding with Lewis
This open source project will improve your design skills #technology #programming #softwareengineer
Coding with Lewis
How to get thousands of programming books for FREE 📚 #technology #programming #opensource #books
Coding with Lewis
This AI will help you write better… #artificialintelligence #opensource #programming
Coding with Lewis
WTF is Django? (In 15 seconds) #django #technology #programming #business
Coding with Lewis
This is what happens behind the scenes when you visit a website. #technology #programming #software
Coding with Lewis
This terminal will BOOST your productivity 💪 #programming #technology #productivity #opensource
Coding with Lewis
This will make you a better programmer. 👩💻 #programming #technology #opensource #productivity
Coding with Lewis
These are the BEST programming stickers to have. #programming #software #technology #opensource
Coding with Lewis
3 High Paying Tech Jobs that will DOMINATE 2022 #career #programming #technology #software
Coding with Lewis
This JavaScript library will make your websites look MUCH better. #technology #programming
Coding with Lewis
WTF is ReactJS (in 15 seconds)?! #technology #programming #react #javascript #opensource
Coding with Lewis
This open source project will make you an EXPERT at Node.JS #technology #programming #opensource
Coding with Lewis
This will help you learn to code in 2022! #technology #programming #opensource #productivity
Coding with Lewis
This will help you be a programmer in 2022 👩💻 #technology #programming #opensource #business
Coding with Lewis
Every developer should know this 👩💻 #technology #devops #technology #opensource #productivity
Coding with Lewis
STOP writing CSS and use this instead 👩💻 #technology #programming #opensource #webdevelopment
Coding with Lewis
If you want to learn Machine Learning in 2022, start here. #technology #programming #software
Coding with Lewis
This will help you ACE your tech interview 👩💻 #technology #opensource #programming #business
Coding with Lewis
This is how to decide what programming language to learn. 👩💻 #technology #programming #software
Coding with Lewis
Learn these programming languages if you want to learn to code. 👩💻 #technology #programming
Coding with Lewis
Will Artificial Intelligence replace programmers?! 👩💻 #technology #programming #software
Coding with Lewis
This will make you a better programmer 👩💻 #technology #programming #opensource #software
Coding with Lewis
This is how to make your terminal look like a pro #technology #programming #software #opensource
Coding with Lewis
This roadmap will help you become a front end developer 👩💻 #programming #technology #software
Coding with Lewis
Follow this roadmap to be a backend developer in 2022 👩💻 #technology #programming #software
Coding with Lewis
This roadmap will help you become a data scientist in 2022👩💻 #datascience #developer #programming
Coding with Lewis
This is how to decide if you should learn JavaScript #programming #technology #javascript #webdev
Coding with Lewis
Use this to help you start a programming project. #programming #technology #opensource #software
Coding with Lewis
This roadmap will help you become a DevOps engineer in 2022. #devops #software #programming
Coding with Lewis
These non-tech skills are essential for programmers 👩💻 #technology #programming #software
Coding with Lewis
Learn these languages if you want to code in 2022 👩💻 #programming #technology #software
Coding with Lewis
More on: Systems Design Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Operational continuity is not governability.
Medium · Deep Learning
AI gave North Korean hackers a $600 million month. DeFi is still working out how to respond.
The Next Web AI
The Fallacy of Vibe-Driven Development: A Critical Look at AI Scaling
Dev.to · Aneesha Prasannan
New Jersey’s 2026 AI Push
Dev.to AI
Chapters (11)
Introduction to Notion's growth
0:25
How Notion works under the hood
1:32
Single database limitations and scaling challenges
1:55
Sharding approach explanation
2:57
Database migration strategy
3:39
Data lake implementation
5:35
Building a custom data lake solution
7:07
Facing new scaling challenges
7:37
Second sharding implementation
8:46
Testing and migration process
9:22
Conclusion
🎓
Tutor Explanation
DeepCamp AI