Distributed Consensus with Raft - CodeConf 2016

Поділитися
Вставка
  • Опубліковано 23 лип 2024
  • Presented by John Feminella
    Getting people to agree to things is sometimes hard. But implementing consensus with computers is harder. And distributed consensus with computers is ​really​ hard. How do we do it?
    In this talk, we’ll explore one idea of how distributed consensus can work, which the authors call ​Raft​, with several popular open-source implementations. Along the way, we’ll learn about why consensus is challenging, how Raft works in practice, and see a real live example of a system that depends on Raft.
    About CodeConf
    CodeConf improves the software community by providing a forum for thought-provoking talks and forging social connections. The fourth installment of the CodeConf series took place in Hollywood in 2016. This year's event focused on systems engineering projects, practices, and programs in the open source community.
    For more information on this year's CodeConf, go to:
    codeconf.com/
  • Наука та технологія

КОМЕНТАРІ • 17

  • @jodo6329
    @jodo6329 3 роки тому +3

    Thanks Dr Feminella, you have an excellent teaching style and I expect that you are a credit to your students. Bravo.

  • @horeaporutiu
    @horeaporutiu 4 роки тому +16

    Wow this is incredible. Best raft video on UA-cam I’ve seen so far

  • @kit-tara
    @kit-tara 3 роки тому +2

    How amazing you are by preparing this lesson. You got me examples with explanations within the reasons. I love that, that you so much

  • @franciscolopezsancho
    @franciscolopezsancho 4 роки тому +2

    Many thanks, John. This is great work, thanks for throwing quite a bit of light over the algorithm!

  • @bminerrolltide
    @bminerrolltide 4 роки тому +3

    John - great job explaining this! I could probably implement Raft just based on the video. When you spoke about "Commitment issues", you mention the rules for determining if a log entry is committed or not. These rules hold because of the election rules. This was not entirely clear to me until a few minutes after I watched your video. :)

  • @fireystella
    @fireystella 4 роки тому +2

    what a great vid. thanks so much!

  • @luqmansen
    @luqmansen 3 роки тому +1

    Very well explained, thanks

  • @jakubbujny7454
    @jakubbujny7454 5 років тому +1

    Very good video to learn what Raft actually is!

  • @420_gunna
    @420_gunna 4 роки тому +1

    Awesome video 8)

  • @Aditya-ne4lk
    @Aditya-ne4lk 3 роки тому +2

    so much better than the hashconf one lol

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

    Great explanation, however I'm still unclear on the scenario where a client reads from the cluster and the data isn't fully replicated to all the followers. I'm guessing the data is read up to the last committed log in the leader?

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

    @GitHub in 16:46, how can S1 win an election and be a leader of term 3 without having the majority nodes in term 3 ( S2, S3 and S4 still in term 2)? I'm trying to reconstruct the example cluster in video but I cannot think up how John can do it.

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

    Great talk! Is there a link to that simulator tool?

  • @kirank5253
    @kirank5253 5 років тому +3

    Thanks, John, that we very informative and helpful. It seems that RAFT is a better system for implementing Cryptocurrency than Blockchain, is there an implementation of it out there? Or not? Why is there no focus on RAFT consensus instead of Blockchain based consensus?

    • @TheMrTalliban
      @TheMrTalliban 5 років тому +1

      Bitcoin consensus allows thousands of Nodes, while RAFT allows only maximum 20 or 30 Nodes.

    • @priyanka5516
      @priyanka5516 5 років тому +1

      Quorum blockchain uses raft consensus and it is way faster.