Stateful vs Stateless Architecture - System Design Basics

Поделиться
HTML-код
  • Опубликовано: 17 апр 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
  • НаукаНаука

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

  • @JenilCalcuttawala
    @JenilCalcuttawala 3 года назад +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  3 года назад +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 3 года назад +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.

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

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

  • @sadathghouri8483
    @sadathghouri8483 3 года назад

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

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

    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

  • @nasirali-fs3fk
    @nasirali-fs3fk 2 года назад

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

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

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

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

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

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

    Wonderful explanation! Keep up the good work.

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

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

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

    Really clear and insightful. Thanks

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

    Great video man, helped a lot!

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

    Awesome explanation! Thank you!

  • @officialismailshah
    @officialismailshah 3 года назад

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

  • @sunevolve
    @sunevolve 3 года назад

    Nicely explained in simple words.

  • @AshokShelke
    @AshokShelke 3 года назад

    Nicely explained. Thank you

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

    Great explanation, thank you!

  • @रोहित1
    @रोहित1 3 года назад +1

    Bohot jada beautiful explanation ❤🙏🏻

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

    Excellent Explanation Brother

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

    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.

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

    Make more videos of this kind. Thankyou

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

    Excellent content and explanation 👍👍👍❤❤❤

  • @storyinminutes2121
    @storyinminutes2121 3 года назад +3

    Explanation is outstanding Sir.

  • @dayinthecountry2501
    @dayinthecountry2501 Год назад +2

    Thanks!

  • @CodingWorldWithNinja
    @CodingWorldWithNinja 3 года назад

    Nicely explained 👍

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

    This is so helpful ❤️

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

    Thanks for the explanation

  • @lasantha.sanjeewa
    @lasantha.sanjeewa Год назад

    This is so helpful

  • @arunabhamittra8652
    @arunabhamittra8652 3 года назад

    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  3 года назад

      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 3 года назад

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

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

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

  • @robert33232
    @robert33232 3 месяца назад

    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.

  • @cristian-bull
    @cristian-bull Год назад +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)

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

    Why do we use load balancer?

  • @m0nkeey421
    @m0nkeey421 3 года назад

    Awesome as always

    • @CloudAdvocate
      @CloudAdvocate  3 года назад +1

      Thanks babai!! Your tiktok was fantastic.

  • @NM-jq3sv
    @NM-jq3sv 3 года назад +2

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

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

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

  • @saiuday7784
    @saiuday7784 3 года назад

    Thanks for sharing

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

    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?

  • @RaazKumarComTelugu
    @RaazKumarComTelugu 3 года назад

    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  3 года назад +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.

  • @geekthegeek730
    @geekthegeek730 3 года назад

    Very helpful video sir

  • @avinash.h2
    @avinash.h2 3 месяца назад

    Appreciate you bro

  • @malte200900
    @malte200900 11 месяцев назад

    Thank you for explain

  • @sudheerg1865
    @sudheerg1865 3 года назад

    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  3 года назад

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

  • @maxximmm1122
    @maxximmm1122 4 месяца назад

    nice explantion❤

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

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

  • @azurecloudapps7833
    @azurecloudapps7833 3 года назад

    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  3 года назад

      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 3 года назад

    Video on Data Catalog for column level restrictions in Bigquery

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

    great video

  • @appareddydwarampudi5417
    @appareddydwarampudi5417 3 года назад

    Good one.. Waiting for more on Kubernetes

  • @MaheshVelicheti
    @MaheshVelicheti 3 года назад +1

    Thanks for the video bro. Waiting for it

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

      As always thank you for your support Mahesh!!

  • @niravgandhi8160
    @niravgandhi8160 3 года назад

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

  • @sannycse2009
    @sannycse2009 3 года назад

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

  • @techsolutions123
    @techsolutions123 3 года назад

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

  • @shubhamthakur3415
    @shubhamthakur3415 3 года назад

    Best as always.

  • @sunnydj484
    @sunnydj484 3 года назад

    thanks

  • @niranjanmore1414
    @niranjanmore1414 3 года назад

    Nice Information GK Sir

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

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

  • @mouryachakravarthy9191
    @mouryachakravarthy9191 3 года назад

    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  3 года назад

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

    • @mouryachakravarthy9191
      @mouryachakravarthy9191 3 года назад

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

  • @prithikas6810
    @prithikas6810 3 года назад

    I see no video on docker.

  • @jayanth1376
    @jayanth1376 3 года назад +1

    👌👌👌

  • @mj2068
    @mj2068 2 месяца назад

    no, thank you, sir

  • @deepakgoswami1865
    @deepakgoswami1865 3 года назад

    nine

  • @JhourladEstrella
    @JhourladEstrella 7 месяцев назад

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