This is just what I needed for my project. Thanks!
@daviesoyasor35672 жыл бұрын
hi, do you understand the whole concept
@CraneMoon2 жыл бұрын
@@daviesoyasor3567 I think I did? I don't recall lol
@daviesoyasor35672 жыл бұрын
@@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 Жыл бұрын
@@daviesoyasor3567 can you please share the link to the code.
@sajo73044 жыл бұрын
didnt understand the version part. you have 23 for site 1 on record, how do u know Site 1 has gone to op 24 ?
@florinflorin2494 жыл бұрын
same here. Are they increasing independently?
@amertia2 жыл бұрын
same here. Unclear on the version vector part explanation.
@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.
@Wafiqthelegend8 ай бұрын
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
@sayandas2316 ай бұрын
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.. :)
@saiakhilkatkam878 ай бұрын
16:40 anyone understood what he said?
@sineltor4 жыл бұрын
Its so weird to be recommended a video on youtube, flick to 6 minutes in and see yourself quoted.
@hashmi66734 жыл бұрын
Haha. Could it be that your friends in youtube algorithm team are behind this?