Building a collaborative text editor with WebRTC and CRDTs

  Рет қаралды 15,621

JavaScriptMN

JavaScriptMN

Күн бұрын

Пікірлер: 16
@dreb.7760
@dreb.7760 3 ай бұрын
Awesome presentation, thank you
@CraneMoon
@CraneMoon 4 жыл бұрын
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 жыл бұрын
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 ай бұрын
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 жыл бұрын
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
NYT: Building a real-time collaborative editor with Firestore
19:27
Google Cloud Tech
Рет қаралды 11 М.
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 17 МЛН
Из какого города смотришь? 😃
00:34
МЯТНАЯ ФАНТА
Рет қаралды 2,7 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 45 МЛН
Peer-to-peer Collaborative Editing Using Yjs & WebRTC- Tag1 TeamTalk #007
46:26
Tag1 Consulting, Inc.
Рет қаралды 1,7 М.
WebRTC Tutorial - How does WebRTC work?
10:22
Fullstack Academy
Рет қаралды 219 М.
CRDTs in Production
51:02
InfoQ
Рет қаралды 8 М.
CRDTs for Non Academics
16:26
Russell Sullivan
Рет қаралды 25 М.
"CRDTs Illustrated" by Arnout Engelen
36:10
Strange Loop Conference
Рет қаралды 16 М.
John Mumm - A CRDT Primer: Defanging Order Theory
37:01
Curry On!
Рет қаралды 11 М.