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.

Комментарии • 20

  • @master4424
    @master4424 2 года назад +49

    Every youtube video should be like this. Direct to the point.

  • @jiteshkanojia6824
    @jiteshkanojia6824 2 года назад +22

    Simple precise and didn't waste any time for irrelevant definitions

  • @Ziko2687s8
    @Ziko2687s8 19 дней назад

    This is one of those "how to tie a tie" videos for devs that needs to be revisited every once in a while 👍

  • @rollinOnCode
    @rollinOnCode 2 года назад +4

    best vid ever. simple and straight to the point!

  • @adityaranjanmohanty5980
    @adityaranjanmohanty5980 3 года назад +6

    Quite simple and in simple words. Great man❤️

  • @truthhorizon5851
    @truthhorizon5851 2 года назад +4

    This is actually useful.Go ahead with more videos.

  • @kalyanipaskanti9888
    @kalyanipaskanti9888 3 года назад +4

    Well explained!

  • @yannnguessan9347
    @yannnguessan9347 2 года назад +1

    You are a hero sir!

  • @Room3102
    @Room3102 3 года назад +2

    Great tips.

  • @hakkinda7420
    @hakkinda7420 2 года назад +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

  • @learnwithindra
    @learnwithindra 2 года назад

    it's really simple and effective

  • @zxcq
    @zxcq Год назад

    Thanks man.

  • @BlaqueCode
    @BlaqueCode Месяц назад

    But cassandra is technically a nosql database

  • @freepythoncode
    @freepythoncode 2 года назад

    Thank you you are amazing 🥰
    What is the best free hosting service
    Because i haven't money now

  • @Lima3578user
    @Lima3578user 2 года назад +1

    Please make a video on system design for faang interviews

    • @SoftwareNerdy
      @SoftwareNerdy  2 года назад

      Hi, thanks for the suggestion, will do asap.

  • @RyanTipps
    @RyanTipps 2 года назад

    Imagine if you designed K-12 curriculum.

  • @RealSlimShady-um6gf
    @RealSlimShady-um6gf 6 месяцев назад

    Listen

  • @f135ta
    @f135ta 2 года назад +1

    11. Buy a mic and do your own voiceovers