Stateful vs Stateless Architecture - System Design Basics

Sdílet
Vložit
  • čas přidán 17. 04. 2021
  • Stateful vs Stateless Architecture is basics of system design concepts. It is often asked in interviews when choosing different cloud services.
    ----------
    PLEASE SUBSCRIBE ➡️bit.ly/36x6qQy ❤️
    If you like my work considering buying me ☕bit.ly/3lumyqx
    ----------
    PLAYLISTS:
    - Associate Cloud Engineer Study Guide: bit.ly/37y1dYl
    - Google Cloud Playlist: bit.ly/37uMZal
    ----------
    - Questions? Thoughts? Disagreements? Tell us here in the comments.
    ----------
    LETS CONNECT:
    👍 Facebook: / multicloudguy
    📸 Instagram - / multicloudguy
    🐦 Twitter - / multicloudguy
  • Věda a technologie

Komentáře • 90

  • @JenilCalcuttawala
    @JenilCalcuttawala Před 3 lety +4

    Excellent explanation..! 👏
    But I have one query. @5:07 I am not able to understand why do we need the load balancer at all? If we configure our instances to scale automatically (GAE/ Cloud Run), won't the new requests will automatically be routed to the new instances?

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety +1

      You are right Jenil. That example was geared towards VM. If you are using serverless compute, you don't have to worry about LB. You might wanna proxy through Gateway.

    • @JenilCalcuttawala
      @JenilCalcuttawala Před 3 lety +1

      @@CloudAdvocate Aye aye sir..! Big fan of your content. Looking forward to more videos in this 'System Design' series.
      Maybe in future you can also make videos on how real world cloud products/ features (i.e. spotify/ snapchat) are architected.

  • @sadathghouri8483
    @sadathghouri8483 Před 3 lety

    Appreciate your effort in explaining flawlessly. 👍 for the crisp presentation slides.

  • @soumyadipchatterjee2267

    Excellent blog with clear and concise manner . It absolutely clear concepts about Stateless vs Stateful .

  • @ThiruSings
    @ThiruSings Před 2 lety

    Thank you dear GK. It was an amazing yet simple explanation. You keep us connected to your channel. :)

  • @nasirali-fs3fk
    @nasirali-fs3fk Před 2 lety

    Thank you! this is very helpful to begin with stateful/stateless arch.

  • @thomasandre6864
    @thomasandre6864 Před rokem

    Akka, Orleans and other Actor-model frameworks solve most of the covered problems related to statefull architectures. It is amazing to see how technologies evolve so fast

  • @krishnamohanyerrabilli4040

    This is the best explanation I ever listened thank you for making this

  • @karunakarh
    @karunakarh Před 2 lety

    Wonderful explanation! Keep up the good work.

  • @Kedislol
    @Kedislol Před 2 lety

    Really clear and insightful. Thanks

  • @donaldoji6399
    @donaldoji6399 Před 2 lety

    Awesome explanation! Thank you!

  • @kavibarati3296
    @kavibarati3296 Před 2 lety

    This video is very useful for me 🙂 really thanks for making this kind of videos 🤟

  • @pavelvitov2773
    @pavelvitov2773 Před rokem

    Great video man, helped a lot!

  • @AshokShelke
    @AshokShelke Před 3 lety

    Nicely explained. Thank you

  • @viniciosantos
    @viniciosantos Před 2 lety

    Great explanation, thank you!

  • @Suraj-vn5tm
    @Suraj-vn5tm Před 2 lety

    Nicely explained in simple words.

  • @ogetysaisandeep
    @ogetysaisandeep Před 2 lety

    Excellent Explanation Brother

  • @रोहित1
    @रोहित1 Před 3 lety +1

    Bohot jada beautiful explanation ❤🙏🏻

  • @officialismailshah
    @officialismailshah Před 3 lety

    It was very well explained even i am not a student of cloud computing but i have understand what he said..

  • @varshasingh1299
    @varshasingh1299 Před rokem

    This is so helpful ❤️

  • @CodingWorldWithNinja
    @CodingWorldWithNinja Před 3 lety

    Nicely explained 👍

  • @ayoubdkhissi
    @ayoubdkhissi Před rokem

    Thanks for the explanation

  • @m0nkeey421
    @m0nkeey421 Před 3 lety

    Awesome as always

  • @sanjeeva_info5152
    @sanjeeva_info5152 Před rokem

    Excellent content and explanation 👍👍👍❤❤❤

  • @storyinminutes2121
    @storyinminutes2121 Před 3 lety +3

    Explanation is outstanding Sir.

  • @majaysakthishankar8432

    Make more videos of this kind. Thankyou

  • @lasantha.sanjeewa
    @lasantha.sanjeewa Před rokem

    This is so helpful

  • @dayinthecountry2501
    @dayinthecountry2501 Před rokem +2

    Thanks!

  • @malte200900
    @malte200900 Před 10 měsíci

    Thank you for explain

  • @ankitkumar1324
    @ankitkumar1324 Před 3 lety +1

    Awesome video. Beautifully explained. I'm the first one to view this video. I also have a query: Can I learn AWS, Azure and GCP simultaneously (if so then how) or should I learn 1 and then other?

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety

      I wouldn't recommend learning all of em together. Pick one and stick to that :)

  • @arunabhamittra8652
    @arunabhamittra8652 Před 3 lety

    Hi Gk Sir ! Been following you for quite some time now. You are simply just great. I really need to ask you this. Given a time frame, say every weekend for the next three months if I had to dedicate to learning DevOps what would impact my CV much better. Spending time on projects more or prepping for AZ-204. my Ms finishes this year. (i know doing both is best but still). Thanks in advance !

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety

      Hi Arunabha, I guess spending time on projects along with Azure, by doing that spend time on fundamentals that I have covered in my "step by step guide"

    • @arunabhamittra8652
      @arunabhamittra8652 Před 3 lety

      @@CloudAdvocate Thank you so much sir !! That step by step guide is the Holy Bible now

  • @saiuday7784
    @saiuday7784 Před 3 lety

    Thanks for sharing

  • @avinash.h2
    @avinash.h2 Před 2 měsíci

    Appreciate you bro

  • @geekthegeek730
    @geekthegeek730 Před 3 lety

    Very helpful video sir

  • @robert33232
    @robert33232 Před 3 měsíci

    Thanks for the video!
    A little offtop: try to pay attention to some extra BREATHING when pronouncing the "P", "T", "K" sounds, it will make you sound more native and understandable.

  • @shubhamthakur3415
    @shubhamthakur3415 Před 3 lety

    Best as always.

  • @anandakumarsanthinathan4740

    Very useful and informative video. With the advent of Containerization, apps being stateless became a necessity. Not only stateless, there are other requirements too such as not writing to the server's file system, etc.

  • @Iiuuuuuuuuujjjjjjj
    @Iiuuuuuuuuujjjjjjj Před 3 měsíci

    nice explantion❤

  • @balakrishnanramachandran8828

    great video

  • @cristian-bull
    @cristian-bull Před rokem +1

    being new to this topic, I have a very basic question.
    If I go for a stateful architecture, is there anything that needs to be done to guarantee that the requests from the same user always go to the same machine? is there any way to guarantee that? (at least as long as the instance is up)

  • @appareddydwarampudi5417

    Good one.. Waiting for more on Kubernetes

  • @RaazKumarComTelugu
    @RaazKumarComTelugu Před 3 lety

    I have some confusion.. how the files sync in each server.. ? ( Db question, do we need to replicate databases if load increase on database too)

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety +1

      Yes DB replication has to be done. And all the servers connect to the HA cache or DB to fetch the data at rest.

  • @MaheshVelicheti
    @MaheshVelicheti Před 3 lety +1

    Thanks for the video bro. Waiting for it

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety +2

      As always thank you for your support Mahesh!!

  • @niranjanmore1414
    @niranjanmore1414 Před 3 lety

    Nice Information GK Sir

  • @trafficface
    @trafficface Před rokem

    That made sense but stateless seems to still have state just kept out of the server, the server is readonly delivering state to the client, correct?

  • @sudheerg1865
    @sudheerg1865 Před 3 lety

    I am learning AWS now and come across state full and state less in network topic ... but in that topic they said state full will remember and stateless will not remember anything . Is what you are discussing and what i am reading both the same i doubt .. if yes which is the correct one ?

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety

      In the network context its commonly used for stateless vs stateful firewalls etc.

  • @azurecloudapps7833
    @azurecloudapps7833 Před 3 lety

    Good Explanation i have one doubt suppose if cache is failure what about in the line up here is not maintained high availablity na

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety

      Yes, cache has to be in HA and it can be single point of failure. So in case it fails, the request will be fulfilled from DB.

  • @avijeetjha131
    @avijeetjha131 Před 3 lety

    Video on Data Catalog for column level restrictions in Bigquery

  • @sunnydj484
    @sunnydj484 Před 3 lety

    thanks

  • @niravgandhi8160
    @niravgandhi8160 Před 3 lety

    I am very inspired by your video. can you please let me know from where do you take these images used in video?

  • @jayanth1376
    @jayanth1376 Před 3 lety +1

    👌👌👌

  • @sannycse2009
    @sannycse2009 Před 3 lety

    Hi, Thanks for your video. I have questions regarding the google cloud learning, is it good to learn from coursera or not.

  • @arioafrashteh6767
    @arioafrashteh6767 Před rokem

    Do you know how to solve state-full architecture challenges? You just mentioned the problem!

  • @barbiedhamija2257
    @barbiedhamija2257 Před 2 lety

    Why do we use load balancer?

  • @NM-jq3sv
    @NM-jq3sv Před 3 lety +2

    If its always preferred to use the stateless architecture why does stateful architecture even exist ?

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety +1

      Good point! There are situations where you want to install MySQL or in K8's for instance. There you want to go with stateful services.

    • @NM-jq3sv
      @NM-jq3sv Před 3 lety

      @@CloudAdvocate Gotcha. I DMed you on twitter please reply for that as well. ;)

  • @techsolutions123
    @techsolutions123 Před 3 lety

    Thank you,curious how design large users traffic site like fb insta scale billions users from small 1000 users ,could you share

  • @mouryachakravarthy9191

    Cool, @cloud Advocate
    Hi I am java developer where i am working on development and few operations using docker as well, I want to kickstart with AWS cloud which I was passionate and influenced by your videos even more, but confused with lots of certifications and resources available in the market can you help me out to pickup any certificate which suits me and any learning resource
    Thanks in Advance

    • @CloudAdvocate
      @CloudAdvocate  Před 3 lety

      You should definitely go for Developer Associate. And then you can go for DevOps professional if that interests you.

    • @mouryachakravarthy9191
      @mouryachakravarthy9191 Před 3 lety

      @@CloudAdvocate thought of same, that's cool tq

  • @YaswanthNaidu
    @YaswanthNaidu Před 3 lety +2

    Brother plz tell about *HOW TO FACE AN INTERVIEWS for freshers * * how to search a job for freshers*

  • @prithikas6810
    @prithikas6810 Před 3 lety

    I see no video on docker.

  • @mj2068
    @mj2068 Před 2 měsíci

    no, thank you, sir

  • @deepakgoswami1865
    @deepakgoswami1865 Před 3 lety

    nine

  • @JhourladEstrella
    @JhourladEstrella Před 6 měsíci

    It's "multiple", not "maltipel".