What is CAP Theorem?

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

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

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

    Explanation is great. Also I like the background combined with this black t-shirt and the invisible whiteboard.

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

    Im still trying to understand the partition part of CAP, is that the distributed phase? If a DB is distributed, each version becomes a partition, and then the need for some sort of synchronization occurs to provide consistency so everyone sees the same data?

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

      Yeah, I think you got it. In the context of CAP, we're already talking about a system that is partition-tolerant; i.e. distributed.
      CAP is really: in a partition-tolerant system (distributed), you need to make a tradeoff between consistency (everyone sees the same data) and availability (everyone can use the system). But you can't have both.
      An example of partition-tolerant are two databases in physically different locations (even different countries) that need to have the same data (synchronised).

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

    I want to commend you on your ability to draw sdrawkcab so well.
    Even if you dellepssim availability.

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

      very clever :-) Yes it happens sometimes the sgnillepssim when writing and mixing colors, etc.

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

    best video on this topic, no cap

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

    this guy is the best! thanks so much! learning so much from you

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

    The content was great, but that's an 11/10 for writing backwards with such neat hand writing!

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

    This man is so cool !
    I really want to meet him
    Damn man...

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

    example DB of CA?

    • @johnconnor9787
      @johnconnor9787 8 วันที่ผ่านมา

      Probably it is not possible... but I am not sure...

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

    How does a master-slave architecture then imply that data is consistent? It depends on the specific consensus protocol. Obviously if you read from a slave before it has time to copy over the txn logs, the data will be stale.

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

      I suspect, in master-slave cases, the client will only read/write from the master node. The slaves will replicate the data and be ready to replace the master in case of partition failure.

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

    Superb video!

  • @HemantKumar-zs2gz
    @HemantKumar-zs2gz 3 ปีที่แล้ว +4

    First person to learn

  • @johnconnor9787
    @johnconnor9787 8 วันที่ผ่านมา

    What about CA?

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

    Great explanation, thx!

  • @johnconnor9787
    @johnconnor9787 8 วันที่ผ่านมา

    CA is not possible at all right?

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

    mans looks like a floating head with arms

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

    What about the Confluent Kafka that work as data store ? What kind of CAP that it will archeive ?

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

      It certainly would @petchpaitoon . The guidelines for this Theorem that should be a consideration for all things distributed which especially applies for the cloud native world. For me, I would say that it accomplishes A-P, where the Consistency happens eventually as data is synchronized across partitions or replicated to individual instances. There is also a special config in Kafka to tell it to acknowledge receipt once replication has occurred between all the brokers ( a basic Kafka Cluster consists of 3 brokers ). Let me know if you have any further questions or have any thoughts on any new videos I could do to further go deeper in this topic.

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

    Availability **

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

      Thanks Abhinav, yes looks like I missed that one in the heat of the moment :-)

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

    Still trying to understand how this guy writes in reverse

    • @yasu9493
      @yasu9493 3 หลายเดือนก่อน

      Set a camera behind a glass wall and film it, and then flip the video horizontally

    • @pavliv
      @pavliv 3 หลายเดือนก่อน

      @@yasu9493 Oooh sneaky sneaky

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

    its availAbility

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

    nice

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

    Notice he is writing in the opposite direction xD, It would be hard for me.

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

      We flip it in post-production. Search on "lightboard videos" for more details

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

    Epic .

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

    Not clear ....not a good video sorry