What is CAP Theorem?

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • Learn more about Cap Theorem → ibm.biz/BdfuLx
    Explore Cloud Database options → ibm.biz/BdfuLs
    Consistency, availability, and partition tolerance, pick two.
    In this lightboard video, Jamil Spain with IBM, explains CAP Theorem and why you can't have your cake and eat it too when it comes to your choice in a database. Understanding this concept is key to building a successful solution.
    Get started on IBM Cloud at no cost → ibm.biz/try-free-acct
    Subscribe to see more videos like this in the future → ibm.biz/subscribe-now
    #CAPTheorem #Databases #DataStore
  • НаукаНаука

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

  • @user-ji7xx4nk2b
    @user-ji7xx4nk2b 2 года назад +4

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

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

    Great explanation, thx!

  • @andreyvalverde4780
    @andreyvalverde4780 2 года назад +2

    Superb video!

  • @dpm_07
    @dpm_07 Год назад +3

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

  • @sndselecta
    @sndselecta 2 года назад +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 года назад +13

      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).

  • @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.

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

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

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

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

  • @scuffed_content
    @scuffed_content 2 года назад +8

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

    • @iamsenorespana
      @iamsenorespana 2 года назад +2

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

  • @HemantKumar-zs2gz
    @HemantKumar-zs2gz 2 года назад +4

    First person to learn

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

    nice

  • @Superman_Kryptonite
    @Superman_Kryptonite Год назад +1

    example DB of CA?

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

    Epic .

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

    mans looks like a floating head with arms

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

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

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

    Availability **

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

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

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

    its availAbility

  • @syedzafar2511
    @syedzafar2511 Год назад +1

    Still trying to understand how this guy writes in reverse

  • @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

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

    Not clear ....not a good video sorry