How to scale a web application to a million users in 10 steps
HTML-код
- Опубликовано: 13 сен 2024
- 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.
Every youtube video should be like this. Direct to the point.
Simple precise and didn't waste any time for irrelevant definitions
This is one of those "how to tie a tie" videos for devs that needs to be revisited every once in a while 👍
best vid ever. simple and straight to the point!
Quite simple and in simple words. Great man❤️
This is actually useful.Go ahead with more videos.
Well explained!
You are a hero sir!
Great tips.
thanks. Great video.
Great video, though I don't fully agree with number 5. Client side rendeeing may worsen the SEO and and annoy the users
it's really simple and effective
Thanks man.
But cassandra is technically a nosql database
Thank you you are amazing 🥰
What is the best free hosting service
Because i haven't money now
Please make a video on system design for faang interviews
Hi, thanks for the suggestion, will do asap.
Imagine if you designed K-12 curriculum.
Listen
11. Buy a mic and do your own voiceovers