CAP Theorem Simplified 2023 | System Design Fundamentals | Distributed Systems | Scaler

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024

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

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

    Got a question? Feel free to drop them in the comments below! We will make sure all your queries are answered. For more insightful videos, don't forget to subscribe to our channel. Please don't turn forget to turn on the bell 🛎 notification as well! You don't want to miss out on exclusive content. ⚡Take the Hunger test today: bit.ly/41fhgDW

  • @hpandeymail
    @hpandeymail 3 ปีที่แล้ว +19

    Mr Anshuman, your experience is very much reflecting in such high quality content you have shared. I shared your video to my folks and they were so happy to find this good content. So much thanks for sharing this with everyone .. 🙏

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

      Thank you very much for your kind words

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

    I didn't understand why a system that is partitioned has to choose between consistency and availability but your example at @8:53 made it clear. Thank you. 😊

  • @ramoosraj
    @ramoosraj 3 ปีที่แล้ว +11

    Simple and clear! This would not need a revision from my side... Cheers!

  • @gaukaugaukau
    @gaukaugaukau 2 ปีที่แล้ว +4

    I knew CAP theorem but the way you taught is awesome..You are a great teacher..Keep up the good work to help everyone.

  • @Info-Galaxy
    @Info-Galaxy 2 ปีที่แล้ว +3

    Super simplified with real world example, teaching / trainings with these kind of explanations will stay in peoples mind forever. Thank you so much for the video.

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

    This could not be any clearer, best explanation i've seen with perfect example. Thank you for sharing.

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

    Hey Anshuman, the example and analogy You chose to explain CAP theorem, made it too easy to understand it and remember it. Thank You for sharing Your knowledge.

  • @charlesopuoro5295
    @charlesopuoro5295 29 วันที่ผ่านมา

    Absolutely loved the illustration you used. It sure drives home the point of CAP Theorem. Thank you.

  • @_kirtideshmukh
    @_kirtideshmukh 21 วันที่ผ่านมา

    Very easy explanation. Thanks!

  • @prasadm3614
    @prasadm3614 3 ปีที่แล้ว +2

    Wow..... This so simpl but elegant example ...... Also great explanation.... Bro. Thank you 👍

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

    Hey Man! Good example which you have taken, very impressive.I'll never forget to explain in the interview. Thank you so much!

    • @SCALER
      @SCALER  3 ปีที่แล้ว +1

      Glad you liked it!

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

    Excellent explanation!!! Subscribed

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

    well explained. kept me stay on video for 12 min though i read cap theorem before, now i don't forget it

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

      Thanks Prudhvi. Will do more videos in coming weeks. Will look forward to feedback :)

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

    thanks man, great video

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

    Simplest and best explaination ever.. cheers!

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

    The best explanation for CAP Theorem in youtube

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

    Super easy explanation 👍

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

    Very well explained!! Thanks a lot !

  • @ronn004
    @ronn004 3 ปีที่แล้ว +2

    Awesome explanation.

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

    Perfectly explained

  • @soumyaranjanram6536
    @soumyaranjanram6536 2 ปีที่แล้ว +4

    Wish we could have such amazing individuals teaching in our education system !

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

    Thanks so much

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

    plz make few videos for low level system design

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

    Great Explaination!! 💯

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

    Thank you very much for make it simple & easy to grasp

  • @gagangupta1255
    @gagangupta1255 3 ปีที่แล้ว +2

    Simply awesome explanation Anshuman !!

  • @hemantdhanuka4625
    @hemantdhanuka4625 3 ปีที่แล้ว +2

    Nicely explained. Thank you anshuman sir🙏

  • @kuladeeparun
    @kuladeeparun 3 ปีที่แล้ว +2

    Enjoyed this, thanks!

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

    Savior of my day

  • @vijayvaswani9717
    @vijayvaswani9717 6 หลายเดือนก่อน

    Very well explained sir! Thank you.

  • @hemachel175
    @hemachel175 3 ปีที่แล้ว +2

    Great explanation!! Could you please also make a video on how to design a recommendation system?

  • @vitaliizinchenko556
    @vitaliizinchenko556 3 ปีที่แล้ว +2

    Thank you so much!

  • @anandratn8339
    @anandratn8339 3 ปีที่แล้ว +2

    brilliant explanation !

  • @CHcodebuddy
    @CHcodebuddy 3 ปีที่แล้ว +2

    nice explanation

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

    Thats the best explanation ever.

  • @dullard007
    @dullard007 3 ปีที่แล้ว +4

    Love your teaching style. Looking forward to more videos on system design

  • @gsenthilkumar8139
    @gsenthilkumar8139 6 หลายเดือนก่อน

    00:04 Understanding CAP theorem and its significance
    01:39 A premium number providing memory services for users.
    03:19 Increased capacity to handle 2000 requests
    04:57 Ensuring data consistency through shared diary entries
    06:30 Availability problem: Unable to take new requests
    07:57 Choosing between consistency and availability in network partition
    09:42 In a network partition, you have to choose between consistency and availability.
    11:25 Choosing between latency and consistency

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

    superb.

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

    great explaination sir it was helpful.

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

    Excellent explanation. Pretty detailed & the use case has been fantastic.

  • @aradhyapandey9366
    @aradhyapandey9366 5 หลายเดือนก่อน

    Thanks😊

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

    Simply superb.. Subscribed!

  • @dp-ut6tu
    @dp-ut6tu 3 ปีที่แล้ว +2

    very nicely explained. Thank you Scaler Academy :)

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

    wait! can't we solve this problem using even driven arch? like if explain in a layman lang, then why can't we have intermediates like one or more person who can tell you and your wife to note down data? like using a pub/sub or an api gateway and balance the load?

    • @AnshumanSinghScaler
      @AnshumanSinghScaler 3 ปีที่แล้ว +1

      The reason I involved my wife was to increase the number of requests I can process. If you pass it down to another person, then that person becomes the bottleneck. If there are more than one person noting the data, then the same cases that I had with my wife should be into consideration between them.

  • @JameS00989
    @JameS00989 3 ปีที่แล้ว +2

    Good explained 👍

    • @SCALER
      @SCALER  3 ปีที่แล้ว +1

      Glad you liked it

  • @dashankbhoir3698
    @dashankbhoir3698 3 ปีที่แล้ว +2

    🔥 🔥 🔥

  • @SHIVAMTIWARI-zu4ht
    @SHIVAMTIWARI-zu4ht 10 หลายเดือนก่อน

    amazing explanantion

  • @jivanmainali1742
    @jivanmainali1742 3 ปีที่แล้ว +2

    I find it so good way of learning although I knew cap theorem

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

    Hey. I got an assignment as part of the interview process. Any guidance around this
    Make a end to end movie recommendation system where we need to provide an HIGH LEVEL DEGIGN of which components can be used and how they would interact with each other to provide movie recommendation for OTT client application.
    The requirement is
    1. Capture all the data from user analytics.
    2. Store it internally in the right system that could be used for such a large volume.
    3. Stream data-set
    4. Please note that the recommendation should be in real time to the OTT application.
    I am not sure how can I proceed with HLD and LLD

    • @SCALER
      @SCALER  3 ปีที่แล้ว +1

      We recently did a masterclass on Personalisation @ Hotstar. And we keep doing masterclasses on System Design where we discuss an ideal way to design systems like Facebook News Feed, Hotstar, TH-cam ingestion, Instagram, etc. To get better in this component, please register for our free masterclass here: www.scaler.com/events

  • @binarycity8734
    @binarycity8734 3 ปีที่แล้ว +2

    How to achieve this theorem using coding??

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

    Take the Hunger test today: bit.ly/41fhgDW

  • @saitejaskr533
    @saitejaskr533 7 หลายเดือนก่อน

    Amazing

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

    There might be a solution , if you take notes and replicate to your wife's diary and let a demon process took it in async mode , then you will have a higher chance of meeting consistency , but you have to make sure your deamon mode process will guarantee a job done , if the job is done you will send a notification to user , else design a failed job que and perform reprocess till you hit a counter .

  • @SumitRai-y4z
    @SumitRai-y4z 2 หลายเดือนก่อน

    I have a question wouldn't it be easy to use a central system where everything is stored. instead of storing it on their on personal diary what if they stored on a space which is shared between them in that case bot consistency and availability is possible.

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

    What is partition tolerance?

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

    What about CA (Consistent & Available but not network partition tolerant) & CP (Consistent & Partition Tolerant but not Available) systems, do they exist, if so how do they work?

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

      Banking systems should be based on the CP principle whereas customer-centric companies like google & FB should be AP?

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

    Quick question : when u tell ur wife to note it down or vice versa , Doesn't it increases the load , which hampers the sole purpose of bringing ur wife in first place i.e to handle load ( more request to process)
    Plz help me out to understand

    • @AnshumanSinghScaler
      @AnshumanSinghScaler 3 ปีที่แล้ว +4

      There are 2 kinds of requests. Read (where some calls and asks for relevant entries in my diary) and Write (Noting down entries in my diary). You are right. Load of writes does not reduce. However, read traffic is distributed between me and my wife.
      Most systems in the world are read heavy and hence this is okay. However, if you want to reduce write traffic, you will have to shard / split (I can only process users with names starting with a-m, while my wife handles everyone with their names starting from n-z).

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

    You guide is for college kids

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

    worst example you took and didn't make clearance with the concepts

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

    THIS WAS BRILLIANT

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

    Nice explanation