Understand RAFT without breaking your brain

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

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

  • @vinayp1478
    @vinayp1478 Год назад +28

    This is the best, most concise video on RAFT! Thanks!

  • @sanskaripatrick7191
    @sanskaripatrick7191 День назад

    Amazing explanation. Also your editing skills and animation is just the cherry on top. Brilliant video! Hope you make it big someday!

  • @zimeckus7639
    @zimeckus7639 Год назад +24

    I see that there are not many views on your channel inspite of the fact that your content is great. I think your videos target the niche tech audience who like to go into nitty gritty of things. Curious people like me, who just want straightforward technical knowhow. I just wanted to let you know that keep at it, don't have a motivation on making it big on RUclips. Just do it for your heart's content and passion like you already do. I am sure you will be rewarded eventually.
    I like the new style of editing with after effects, but I would recommend this type of editing to only explain complex topics (Like what you did with RAFT) and stick to your old drawing board + facecam style for your normal videos they are much much better + you don't have to use gifs or stock videos to explain stuff. I like your straightforward style of editing its unique.
    I really like your content I would appreciate if you make videos more frequenty like once a week, with minimal compromise on quality. I know its hard with editing, thumbnail, reserach, writing and all. But see to it that you increase upload frequency even if a little bit, because your videos motivates me to learn more about the topics you cover and I learn more in general and I am sure many people do so too.

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

      Thanks for your feedback!! It means a lot! There are no videos now because I have moved houses and am in the process of getting my setup up. There are a lot of videos already in the pipeline... I agree with you on the editing style, I made this video in After Effects as it was too hot to shoot my face, but I will mostly be making videos with facecam

  • @AP-eh6gr
    @AP-eh6gr 8 месяцев назад +2

    very high quality presentation

    • @core_dump
      @core_dump  8 месяцев назад

      Thanks! Although ... this was probably the only video I made or will make with this much effort on presentation. It takes way to much time with my super noob after effects skills :P

  • @omersaeed8917
    @omersaeed8917 8 месяцев назад +3

    The best explanation I have ever seen of the subject. Keep the good work up 🎉

    • @core_dump
      @core_dump  8 месяцев назад +2

      Thank you! 😃

  • @emilsimonyan2818
    @emilsimonyan2818 3 месяца назад +1

    Best video that I can find. Thank you so much

  • @AbhinavGunwant
    @AbhinavGunwant Год назад +5

    kya mast samjhaya bhai

  • @kuzco7061
    @kuzco7061 Месяц назад

    This was sooooo good!!!
    I had no idea what RAFT was and now I understood everything, could even explain it.
    Amazing explanation, thank you!!
    Following you now! 🤩

    • @core_dump
      @core_dump  Месяц назад +1

      Thanks!! Means a lot.

  • @JaySalunke-xs4dd
    @JaySalunke-xs4dd 5 месяцев назад +3

    bro ur video is so awesome like explaining the concept deeply and keeping it short too like that. examples are very much good considering all scenarios

    • @core_dump
      @core_dump  5 месяцев назад

      Thank you so much 😀

  • @_alexlazar_
    @_alexlazar_ 8 месяцев назад

    This was a very nice, to the point explanation of how RAFT works. Thank you!

    • @core_dump
      @core_dump  8 месяцев назад

      Glad you enjoyed it!

  • @_Arunvfx
    @_Arunvfx 11 месяцев назад +2

    Thank you 👍❤️ helped me lot for my exam preparation

  • @shivam6565
    @shivam6565 8 месяцев назад

    Beautifully explained. Thanks for sharing bro

    • @core_dump
      @core_dump  8 месяцев назад

      Thanks! Do consider sharing the video with you peers!

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

    Excellent video, made reading the extended raft paper much easier!

  • @ankitmalik6781
    @ankitmalik6781 Год назад +5

    Hope you get more reach, great content

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

    I wanted to learn about this and hence started watching videos. Trust me I watched two videos before this which were longer than yours but couldn't help me much. But your video is straight to the point, starting with a very basic example and way of explanation throughout the video is just so basic and nice helping anyone understand well. I think you have mastered the art of breaking down things and making them easier. Keep up the good work!❤

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

      Thanks! Means a lot

  • @monishchhadwa777
    @monishchhadwa777 10 месяцев назад

    Very well explained SIR!
    Thanks much :)

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

    Excellent video with great graphics!

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

    Fab explanation. 🙌

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

    wow, my prof talked about 1 hour, i didn't understand it. But you explained it in few minutes. Thank you

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

      Great to know that.. Thanks!!

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

    Thank you very much, you helped me with my Distributed Systems exam 😊

  • @ashutoshdwivedi6264
    @ashutoshdwivedi6264 8 месяцев назад

    explained like a cake walk. it really helped. thanks ❤

    • @core_dump
      @core_dump  8 месяцев назад

      Glad it helped!

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

    Superb explanation!!

  • @nijuyonkadesu
    @nijuyonkadesu 7 месяцев назад +1

    nais video bhai, unique style too

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

      Glad you liked it

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

    thanx bro, one of the best explanations on raft

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

      Glad you liked it

  • @johnboy14
    @johnboy14 8 месяцев назад +1

    Very nice

  • @anoops7974
    @anoops7974 5 месяцев назад +1

    Thank you so much.

  • @bluesteel1
    @bluesteel1 6 месяцев назад +1

    Nice video brother

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

    awesome explanation, thank you so much!! helped a lot with understanding how to implement my university project :D

    • @core_dump
      @core_dump  7 месяцев назад +1

      Glad to hear! Your university is teaching a lot of good things then. My college was just theoretical.

  • @salad7389
    @salad7389 8 месяцев назад

    Great explanation, thanks!

    • @core_dump
      @core_dump  8 месяцев назад

      Glad it was helpful!

  • @vinitsunita
    @vinitsunita 11 месяцев назад +2

    It looks similiar to 2 phase commit protocol which is used for distributed transactions

  • @emanuelesalonico2984
    @emanuelesalonico2984 10 месяцев назад

    Great explanation sir

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

    Great video! Really helped me out, thanks :)

    • @core_dump
      @core_dump  7 месяцев назад +1

      Glad to be of help! Thanks!

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

    Great video! Thanks!

  • @zeeshanbhat2484
    @zeeshanbhat2484 9 месяцев назад

    Love you man, this is the best explanation on RAFT .. If you have any documented resource on this can you please share that.

    • @core_dump
      @core_dump  9 месяцев назад

      Thanks! There was this blog post I wrote many moons ago: ankushc.hashnode.dev/raft-taming-distributed-consensus
      I don't even remember what I wrote in that so... best of luck :p

  • @Osevv
    @Osevv 6 месяцев назад

    Great video!

  • @ukaszorpik3913
    @ukaszorpik3913 10 месяцев назад

    Thank you 🧡

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

    great video!

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

    Nice

  • @gsenthilkumar8139
    @gsenthilkumar8139 8 месяцев назад

    00:04 RAFT is a distributed consensus algorithm for data replication in case of server failures.
    01:12 Raft helps achieve consensus by getting all nodes to agree on one state of the data.
    02:25 The leader in RAFT is selected through an election process
    03:31 Nodes become candidates when the leader dies and vote for themselves
    04:33 Log entry is appended but not committed
    05:42 Leader cannot append the log entry if there are gaps in the log
    06:45 RAFT ensures consistent log across multiple nodes
    07:52 Raft can be used on any finite State machine, not just a database.
    Crafted by Merlin AI.

  • @Mufidaaqilamurni
    @Mufidaaqilamurni 9 месяцев назад +5

    It does not explain leader selection

    • @joeofbubba
      @joeofbubba 5 месяцев назад

      Did you even watch the video?

    • @yassinesafraoui
      @yassinesafraoui 2 месяца назад +1

      He did, it's based on the length of the logs and on the random timeout. Maybe you meant that he didn't explain how the democratic election happens in detail, but that's somewhat trivial I suppose

  • @JaySalunke-xs4dd
    @JaySalunke-xs4dd 5 месяцев назад

    best video

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

    Won't it be faster if the 7:10 disconnected node gives its last known log instead of doing this?

    • @user-dc9zo7ek5j
      @user-dc9zo7ek5j Год назад +1

      I was thinking the same. I took a look on the raft consensus page they have an interactive visual representation of the algo, and I don't see such backwards checking, it was adding it without checking every item.

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

      @@ankush_chatterjee thank you

    • @user-dc9zo7ek5j
      @user-dc9zo7ek5j Год назад

      @@ankush_chatterjee Thank you for the explanation, I checked out the article, and the GeeksForGeeks article on the same topic (the paragraph above the "Safety" section): "The AppendEntries RPC will iteratively send the RPCs with reduced Index Numbers so that a match is found."
      Still the question was why is it made like so, because if few nodes missed 1000 transactions, then the load will be dangerous, just like RAID failures putting pressure on the main disc during rebuild and thus can fail.

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

      in raft whitepaper, the author also thought of this, this was written:
      "If desired, the protocol can be optimized to reduce the
      number of rejected AppendEntries RPCs. For example,
      when rejecting an AppendEntries request, the follower
      7 can include the term of the conflicting entry and the first
      index it stores for that term. With this information, the
      leader can decrement nextIndex to bypass all of the con-
      flicting entries in that term; one AppendEntries RPC will
      be required for each term with conflicting entries, rather
      than one RPC per entry. In practice, we doubt this opti-
      mization is necessary, since failures happen infrequently
      and it is unlikely that there will be many inconsistent en-
      tries"

  • @chriszeng1488
    @chriszeng1488 8 месяцев назад

    this broke my brain.

    • @core_dump
      @core_dump  8 месяцев назад

      Oh No!...sorry for that ... but what doesn't kill you makes you stronger I guess...

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

    Instead of sending prev index, isn't it possible that the concrete follower will check to see if its current index has a diff with its previous index which is > 1?

  • @koya-_-
    @koya-_- Год назад +2

    thanks bud 😭

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

    legend

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

    what you use to make videos ?

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

      After Effects... This is actually the video I made to learn After Effects from scratch.

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

    Who is Tom Tato?

  • @anonymous99928
    @anonymous99928 2 дня назад

    0:54