How to scale a web application to a million users in 10 steps

  Рет қаралды 35,658

Software Nerd

Software Nerd

Күн бұрын

How to scale a web application to a million users in 10 steps
1- Vertically scale your server which means use a faster computer.
2- Put your database to another server, this will relieve your application server.
3- Add a load balancer and more back end servers (or basically horizontally scale)
4- Don’t forget to add a firewall which will protect you from various attacks
5- Move expensive calculations to front end like rendering web pages. Use a content deliver network
6-Add read only replicas for expensive queries or analytics
7-Cache expensive calculations or db queries
8-Divide monolith to micro services so that you don’t have to deploy every line of code to every machine and you can scale one part of your application independent from others
9-Where necessary use a queue system to communicate between micro services
10-Start using non relational databases like Cassandra or elastic search depending on business.

Пікірлер: 20
@master4424
@master4424 2 жыл бұрын
Every youtube video should be like this. Direct to the point.
@jiteshkanojia6824
@jiteshkanojia6824 2 жыл бұрын
Simple precise and didn't waste any time for irrelevant definitions
@rollinOnCode
@rollinOnCode 2 жыл бұрын
best vid ever. simple and straight to the point!
@Ziko2687s8
@Ziko2687s8 Ай бұрын
This is one of those "how to tie a tie" videos for devs that needs to be revisited every once in a while 👍
@adityaranjanmohanty5980
@adityaranjanmohanty5980 3 жыл бұрын
Quite simple and in simple words. Great man❤️
@truthhorizon5851
@truthhorizon5851 2 жыл бұрын
This is actually useful.Go ahead with more videos.
@yannnguessan9347
@yannnguessan9347 2 жыл бұрын
You are a hero sir!
@kalyanipaskanti9888
@kalyanipaskanti9888 3 жыл бұрын
Well explained!
@zxcq
@zxcq Жыл бұрын
Thanks man.
@hakkinda7420
@hakkinda7420 2 жыл бұрын
thanks. Great video.
@pawekoaczynski4505
@pawekoaczynski4505 2 жыл бұрын
Great video, though I don't fully agree with number 5. Client side rendeeing may worsen the SEO and and annoy the users
@Room3102
@Room3102 3 жыл бұрын
Great tips.
@freepythoncode
@freepythoncode 2 жыл бұрын
Thank you you are amazing 🥰 What is the best free hosting service Because i haven't money now
@learnwithindra
@learnwithindra 2 жыл бұрын
it's really simple and effective
@Lima3578user
@Lima3578user 2 жыл бұрын
Please make a video on system design for faang interviews
@SoftwareNerdy
@SoftwareNerdy 2 жыл бұрын
Hi, thanks for the suggestion, will do asap.
@BlaqueCode
@BlaqueCode 2 ай бұрын
But cassandra is technically a nosql database
@RyanTipps
@RyanTipps 2 жыл бұрын
Imagine if you designed K-12 curriculum.
@RealSlimShady-um6gf
@RealSlimShady-um6gf 7 ай бұрын
Listen
@f135ta
@f135ta 2 жыл бұрын
11. Buy a mic and do your own voiceovers
Building Large Scale Microservice Applications
9:42
TomDoesTech
Рет қаралды 18 М.
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 31 МЛН
DID A VAMPIRE BECOME A DOG FOR A HUMAN? 😳😳😳
00:56
А что бы ты сделал? @LimbLossBoss
00:17
История одного вокалиста
Рет қаралды 9 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
Everything You NEED to Know About WEB APP Architecture
10:27
ForrestKnight
Рет қаралды 531 М.
Web Server and Application Server | Explained 🔥🔥
10:33
Knowledge Center
Рет қаралды 601 М.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Boris Meinardus
Рет қаралды 322 М.
NGINX Tutorial - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 216 М.
How to Build Scalable Websites and Apps
9:14
Mehul - Codedamn
Рет қаралды 18 М.
小丑家的感情危机!#小丑#天使#家庭
00:15
家庭搞笑日记
Рет қаралды 31 МЛН