Building a collaborative text editor with WebRTC and CRDTs

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

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

  • @dreb.7760
    @dreb.7760 3 หลายเดือนก่อน

    Awesome presentation, thank you

  • @CraneMoon
    @CraneMoon 4 ปีที่แล้ว +10

    This is just what I needed for my project. Thanks!

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

      hi, do you understand the whole concept

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

      @@daviesoyasor3567 I think I did? I don't recall lol

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

      @@CraneMoon I am having problem with some of the code, I downloaded the code from their code, and I am trying to figure out what each part is, will you be able to help me out, please ?

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

      @@daviesoyasor3567 can you please share the link to the code.

  • @sajo7304
    @sajo7304 4 ปีที่แล้ว +5

    didnt understand the version part. you have 23 for site 1 on record, how do u know Site 1 has gone to op 24 ?

    • @florinflorin249
      @florinflorin249 4 ปีที่แล้ว

      same here. Are they increasing independently?

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

      same here. Unclear on the version vector part explanation.

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

      Each peer sends it's whole version vector with each message.
      So, when peer 2 sends the "Delete" operation, that message will have "SiteId: 1; Counter: 24" as well as "SiteId: 2; Counter: 6" in it's version vector.
      Look into "vector clocks" for more info. Martin Kleppmann has a nice video on his channel.

    • @Wafiqthelegend
      @Wafiqthelegend 8 หลายเดือนก่อน +1

      As he already said, insertion will apply first. So it's obvious that the latest OP (which is 24 (insert)) will update the Version Vector Record from OP23 to OP24. Then the deletion will apply. Hope i'm not wrong

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

    Those who didn't get the version part :
    What he wanted to mean is, when the peer1 sends an insert operation then the version vector for peer1 in peer2 is updated to 24 but the version vector for peer1 in peer3 is still 23 so it doesn't accept the change from peer2 because the version vector of peer1 in peer2 does not match with the version vector of peer1 in peer3 so it waits for the updation from peer1.. when the version is uniform across all peers then it accepts the action...
    I hope I'm not wrong.. :)

  • @saiakhilkatkam87
    @saiakhilkatkam87 8 หลายเดือนก่อน

    16:40 anyone understood what he said?

  • @sineltor
    @sineltor 4 ปีที่แล้ว +16

    Its so weird to be recommended a video on youtube, flick to 6 minutes in and see yourself quoted.

    • @hashmi6673
      @hashmi6673 4 ปีที่แล้ว

      Haha. Could it be that your friends in youtube algorithm team are behind this?

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

    gr8