martinn1996 / fonto-crdt Goto Github PK
View Code? Open in Web Editor NEWBachelor Project: CRDT for Fonto
License: MIT License
Bachelor Project: CRDT for Fonto
License: MIT License
When the network is offline, operations can be saved locally and send later through the network. When these operations are sent at a later time, the CRDTs should still converge
DOD
setValue(value)
value()
setState(state)
getState()
D.O.D.
D.O.D.
mergeBlocks
functionD.O.D.
moveBlock
functionWhen deleting a node which has Childs, Logoot currently only sets an empty property to true.
This can lead to 2 different replicas, where nodes can differ in the following way:
{
"id": {
"int": 214,
"site": "crdt2",
"clock": 1
},
"value": null,
"children": [
...
],
"size": 2,
"empty": true
}
{
"id": {
"int": 214,
"site": "crdt2",
"clock": 1
},
"value": "o",
"children": [
...
],
"size": 2,
"empty": true
}
Where one has a value of "o" and one a value of null.
These are however expected to be the same
Ensure merged blocks can be split
Test the functionality of the added functionality of the CRDT:
Setup the testing framework using Mocha and Chai
When multiple users perform multiple random operations, it should still converge
DOD
D.O.D.
Node
to CharacterNode
Node
and let CharacterNode
extend from Node
BlockNode
which extends from 'Node'IntermediateNode
which extends from 'Node'Editor supports offline editing
D.O.D.
insertBlock
operationinsert
of character based on new tree characterWhen there are network delays, the CRDTs should still converge.
D.O.D.
splitBlock
functionTest the functionality of T-Mullen's Logoot CRDT:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.