Cassandra Database Crash Course

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 30

  • @serbanherlea5755
    @serbanherlea5755 3 місяці тому +1

    I link this video to anyone who is beginning with Cassandra. You have the most clear and concise explanations available online. Thank you very much for your work!

  • @brianpack369
    @brianpack369 Рік тому +3

    I am now on course to crash a Cassandra database.

  • @josedamianjimenezn8892
    @josedamianjimenezn8892 Рік тому +1

    Very clear your explanation!, Now I can see that cassandra is a good option to consider as DB in my project, thanks a lot for this useful content!

    • @irtizahafiz
      @irtizahafiz  9 місяців тому

      Glad this helped you come to that conclusion.

  • @alaad1009
    @alaad1009 Рік тому +1

    Excellent video man !

  • @mpaltanwale
    @mpaltanwale Рік тому +1

    Commitlog is on disk and not in memory, if you want to make correction in the video.

    • @irtizahafiz
      @irtizahafiz  Рік тому

      Uggh, yeah that's right. Thank you for correcting.

    • @Khushboo1811
      @Khushboo1811 Рік тому +2

      @@irtizahafiz And sequential writes to disk are very fast, that's why even if CommitLog is not in memory, writes are still very fast

    • @rajesh4361
      @rajesh4361 8 місяців тому

      @@Khushboo1811 it actually does the bulk update to Disk..every 10seconds if i am not wrong.

  • @10yearsago84
    @10yearsago84 8 місяців тому

    Really loved the explanation !!

  • @haneulkk
    @haneulkk Рік тому

    It was so easy to understand! Thank you!

  • @dineshkuruba1880
    @dineshkuruba1880 2 роки тому +1

    great video, please do a video on how the data is stored on disk with different column families

  • @athulraveendran75
    @athulraveendran75 4 місяці тому

    Great explanation ❤

  • @tianqizhang1573
    @tianqizhang1573 Рік тому

    Great explanation, easy to understand!

  • @nexus888
    @nexus888 2 місяці тому

    6:47 so a write goes to all partitions or just one? You didn't mention this. If only one partition receives the write, is it written to disk before committed back as successful to the caller or how does this work?

  • @letsCherishCoding
    @letsCherishCoding Рік тому

    Amazing explanation!!

  • @motazhejaze38
    @motazhejaze38 5 місяців тому

    many thanks

  • @breaknbroke
    @breaknbroke 2 роки тому

    Is a distributed database all you need for a system to be distributed?

    • @irtizahafiz
      @irtizahafiz  2 роки тому

      I think you can use the term in this case, yes.

  • @Entertainment_Zone2522
    @Entertainment_Zone2522 2 роки тому

    Bro can you please make video on zipkin traces Store in Cassandra database

    • @irtizahafiz
      @irtizahafiz  2 роки тому +1

      Added to my backlog. Thanks for the idea!

  • @h.mantri
    @h.mantri 3 місяці тому

    When the data is still in Memtable and not yet sent to SSTable and server crashes (or say power goes off), we loose data right? What happens in those cases? Any way to recover data?

    • @fifamobile-xx2ef
      @fifamobile-xx2ef 3 місяці тому

      first written to the commit log to prevent data loss in the event of a failure.
      And i'm working on ScyllaDB; So if i know something let you know

    • @Sverdiyev
      @Sverdiyev 3 місяці тому

      I’ve also wondered about that. But it seems that the commit log is on disk, similar to WAL. So it would rebuilt from that.
      The more interesting question here is conflict resolution between the nodes in case of conflicting writes and how is the data replicated between the nodes.
      Classic distributed system issues it seems.

    • @ankita.mantrii
      @ankita.mantrii 3 місяці тому

      @@Sverdiyev If commit log were on disk, it would defeat the original statement that "cassandra writes are fast since they are written to in-memory commit logs"

  • @catalinim4227
    @catalinim4227 2 роки тому

    multiple players with the same name with the same club? ... 😵‍💫what?

    • @irtizahafiz
      @irtizahafiz  2 роки тому +1

      That analogy fell apart very quickly LOL. But hopefully you get an idea of how the different keys work.