How Much Does it Cost to Scale an App to 100,000 Users?
Host your applications using Sevalla: https://sevalla.com/?utm_source=youtube&utm_medium=video&utm_campaign=lewis_load_test
So I built a Twitter clone and decided to see what happens when you throw an absolutely ridiculous amount of users at it. Started with 100 users, seemed fine. Then 1,000 users... things got interesting. By 10,000 users I was having to completely rethink my architecture.
Built the whole thing with FastAPI, Postgres, and Docker containers, then used Locust to simulate users absolutely hammering the system. Spoiler alert: vertical scaling only gets you so far before you ha…
Watch on YouTube ↗
(saves to browser)
Chapters (12)
Hook: Testing 100 to 100,000 Users
0:15
Why Load Balancing Matters
1:10
Building the Twitter Clone
1:56
Setting Up Locust Load Testing
2:38
Testing Locally First
2:51
Deploying with Sevalla (Sponsor)
3:51
Deploy #1: The Baseline
4:37
100 Users: $15/Month
5:34
1,000 Users: When Things Get Slow
7:58
10,000 Users: Distributed Load Testing
9:27
100,000 Users: Horizontal Scaling
12:24
Lessons Learned
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
How to find bugs in production securely! Must-Have Dev Tools Part 1
Coding with Lewis
I built the smartest bot on Reddit
Coding with Lewis
This makes large computation so so easy
Coding with Lewis
iPhone OS 1 is so nostalgic. #technology #iphone
Coding with Lewis
How to Design Large Scale Systems #technology #opensource #softwareengineer
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 Open Source project can drive your existing car #opensource #technology #tesla
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
This new FDA approved medication can improve your vision. #technology #business
Coding with Lewis
This free business software will help manage your invoices. #technology #opensource #business
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
DeepCamp AI