Web Application Architecture - Load Balancing and Caching

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ม.ค. 2025

ความคิดเห็น • 60

  • @shubhamagarwal3860
    @shubhamagarwal3860 7 ปีที่แล้ว +25

    Man, you are doing a great job, I am a indian engineering student , nobody teaches these important fundamental stuff which is really important, this pushes to think what really are the difficulties in scaling web applications and how those scaling is done.
    keep making such awesome quality content.
    liked and subscribed :)

    • @CodeLitDev
      @CodeLitDev  7 ปีที่แล้ว +4

      +shubham agarwal Thanks Shubham. Let me know if there is something you want to learn. I will see if it's in my abilities to make a video on that.

  • @mohammadsayed791
    @mohammadsayed791 6 ปีที่แล้ว +7

    I think you are from India or Pakistan. Its not a matter. I really proud of you coz you are my neighbor . We need many more teacher in every school college & university like yourself. Thank you man. Its really wonderful presentation.

  • @spicytuna08
    @spicytuna08 6 ปีที่แล้ว +9

    i finally get what cache miss is all about. i would love to buy you a lunch for this. i never was able to understand that F concept. your diagram really clarified.

  • @tafri961
    @tafri961 2 ปีที่แล้ว +1

    i am a change management guy. Trust me, this helped me a lot. .

  • @spicytuna08
    @spicytuna08 6 ปีที่แล้ว +2

    not only your diagram is thorough, your explanation is very thorough. thank you.

    • @CodeLitDev
      @CodeLitDev  6 ปีที่แล้ว

      Glad that you liked it.

  • @anipetrosyan1538
    @anipetrosyan1538 4 ปีที่แล้ว +1

    Thanks a lot! I am a QA specialist and your videos are really very useful for me.

  • @shivanisharma-lv6uy
    @shivanisharma-lv6uy 5 ปีที่แล้ว +3

    Thankyou so much for your efforts !!
    😊😊
    Keep it up 👍

  • @andyhujian
    @andyhujian 4 ปีที่แล้ว +1

    Can you explain how to handle inconsistency if load balancer is in front of storage?

  • @kbriaz
    @kbriaz 3 ปีที่แล้ว

    How do we handle session replication with sticky sessions?

  • @kechu19199
    @kechu19199 6 ปีที่แล้ว +5

    Amazing tutorial.But I want to know that if we used load balancer in database instance then how all instances of db are synchronised ?

    • @CodeLitDev
      @CodeLitDev  6 ปีที่แล้ว +4

      Thanks. The implementation varies from DB to DB but instances are just processes, they ultimately hit the same data files.

  • @balasubramanianilangovan888
    @balasubramanianilangovan888 7 ปีที่แล้ว +2

    Simple and clear explanation provided. Thank you for sharing it bro!

  • @SaiDileepfantasy
    @SaiDileepfantasy 4 ปีที่แล้ว

    What is the use of having two caches ?

  • @naveen-ib5ly
    @naveen-ib5ly 5 ปีที่แล้ว +1

    Thanks thanks , very good explanation keep up the good work.

  • @gauravsoni3752
    @gauravsoni3752 4 ปีที่แล้ว

    Great video sir...keep making such stuff.

  • @arghamukherjee2969
    @arghamukherjee2969 6 ปีที่แล้ว +3

    Logic on database replication is not clear to me. how you handle consistency among all replica? who is master/slave ? what you said,it may make sense for read-only approach.

    • @rajanjain389
      @rajanjain389 5 ปีที่แล้ว

      Same question

    • @CodeLitDev
      @CodeLitDev  5 ปีที่แล้ว

      Yep. It tried to keep it very basic. You already know the advanced stuff.

  • @showbikshowmma3520
    @showbikshowmma3520 3 ปีที่แล้ว

    bruh, appart that how can u make the webapp more secure? and one big question I wanna ask you freely. For example in my webapp people sign up their accunt. After that from their cache as a admin can i check beisde my webapp what other website like what other thing they are browsing from their browser? I am asking this question to see user perferense which will help us to show them their preferense ads based on their browser search history . how can I do this thing? Facebook is already being collecting our whole browsing data from cache.

    • @CodeLitDev
      @CodeLitDev  3 ปีที่แล้ว

      FB does not use caches but cookies for it.

  • @kishorechakkirala7826
    @kishorechakkirala7826 5 ปีที่แล้ว

    can you explain how sessions will be maintained in the Load Balancing Environment.

  • @buildleadinnovate24
    @buildleadinnovate24 6 ปีที่แล้ว +3

    Thank you so much. ...stay blessed :)

  • @forester1
    @forester1 2 ปีที่แล้ว +1

    Very interesting

  • @akashnawariya4292
    @akashnawariya4292 3 ปีที่แล้ว

    Thank you sir, it is very helpful

  • @MANISHSHARMA-xk1su
    @MANISHSHARMA-xk1su 5 ปีที่แล้ว +1

    I understood the theory Rajat sir... but how these things are actually Implemented on the backend...??

    • @CodeLitDev
      @CodeLitDev  5 ปีที่แล้ว +1

      I will probably record a small explanatory video.

    • @MANISHSHARMA-xk1su
      @MANISHSHARMA-xk1su 5 ปีที่แล้ว

      @@CodeLitDev Yaa sure...But please explain a little bit in two or three lines in the comments itself... It'll be helpful...

  • @garrysohi5623
    @garrysohi5623 4 ปีที่แล้ว

    I know html, css, js, reactjs for frontend, python for backend, and mysql. Now I want to understand how to glue these together, build an application and deploy on server.
    What do I need to learn next?
    Is this the right video?

    • @CodeLitDev
      @CodeLitDev  4 ปีที่แล้ว +1

      Look at the Django framework. It is built using Python.

    • @garrysohi5623
      @garrysohi5623 4 ปีที่แล้ว

      @@CodeLitDev Ok Thank you :)
      How to do it without a framework? Would like to know that too ;)

  • @joyavila6254
    @joyavila6254 5 ปีที่แล้ว +1

    Thanks for sharing your knowledge. It's a great help for me to understand the basic concept of caching and load balancing. I have a question if you don't mind. I actually have an ordering and delivery app that is connected to the web server. I separate my database for the order management and delivery as well as for vehicle tracking. Is it ok, if I apply load balancer between these databases?

    • @atuljaiswal9833
      @atuljaiswal9833 2 ปีที่แล้ว

      Data is the top most priority for any org, so try to invest on database server instead of application server,

  • @sadashivshinde9150
    @sadashivshinde9150 4 ปีที่แล้ว

    Great stuff🔥

  • @jfrankogramos6620
    @jfrankogramos6620 5 ปีที่แล้ว +2

    Wow awesome you really improve your English great video could you tell me about a book that teach all this things?

    • @CodeLitDev
      @CodeLitDev  5 ปีที่แล้ว

      Thank you Jhon. I think no single book is going to cover all of these topics exhaustively. But I think Google's SRE book can give you some insights into such stuff. Also creating more apps will definitely help you in understand the whys.

    • @jfrankogramos6620
      @jfrankogramos6620 5 ปีที่แล้ว

      @@CodeLitDev thanks a lot. We need people like you, blessings from Guatemala

  • @deepaktiwari5737
    @deepaktiwari5737 7 ปีที่แล้ว +1

    Good One!! required more on Web application Server architecture

    • @CodeLitDev
      @CodeLitDev  7 ปีที่แล้ว

      I am working on more webapps related videos. What topics are you interested in?

    • @jfrankogramos6620
      @jfrankogramos6620 5 ปีที่แล้ว +1

      @@CodeLitDev all stuff about backend

    • @CodeLitDev
      @CodeLitDev  5 ปีที่แล้ว

      Sure

    • @srinathreddy9586
      @srinathreddy9586 5 ปีที่แล้ว

      @@CodeLitDev Need sample live application with different web servers as load balancing

  • @nforlife
    @nforlife 4 ปีที่แล้ว

    Great video

  • @Moon-Birdy
    @Moon-Birdy 6 ปีที่แล้ว +3

    Load balancer on database doesn’t make sense at all

    • @vamsikrishna1131
      @vamsikrishna1131 6 ปีที่แล้ว

      Any input here @Rayn Studios?

    • @meonearth2809
      @meonearth2809 5 ปีที่แล้ว

      Why? I have a multi tenant system where in which my mongodb is load balanced. That too in multiple data center

  • @harishdaggupati8292
    @harishdaggupati8292 6 ปีที่แล้ว

    Awesome video mate thanks for sharing

    • @CodeLitDev
      @CodeLitDev  6 ปีที่แล้ว

      Glad that you liked it.

  • @mrcool8972
    @mrcool8972 5 ปีที่แล้ว

    Nice explanation 🙏

  • @chandraprakashkabra3541
    @chandraprakashkabra3541 5 ปีที่แล้ว

    Nice explanation !!

    • @CodeLitDev
      @CodeLitDev  5 ปีที่แล้ว

      Glad that you found it useful.

  • @thebluetropics
    @thebluetropics ปีที่แล้ว

    It is better to put a built-in subtitle to this video. It's pretty hard for me to understand what the speaker means using this accent. Even with the automatic subtitles...
    This is mainly because most people speak and listen to American and British accent.
    Hope the author will not consider this is as a harassment. Thanks!

  • @spicytuna08
    @spicytuna08 6 ปีที่แล้ว

    awesome diagram

  • @wolftng359
    @wolftng359 5 ปีที่แล้ว

    Mumbo jumbo. Lol. I love your videos

  • @ManojDasdevelope
    @ManojDasdevelope 6 ปีที่แล้ว +1

    mumbo jumbo lol

  • @y_thedreamer95
    @y_thedreamer95 4 ปีที่แล้ว +1

    get a better accent please.