zed.dev main
Lines 36-40
const MarketingSectionGroup
content/blog
crdt-intro.md
Lines 45-49
pages
legacy_css.css
Lines 561-565
.prose where (ol):not(:where ([class
Lines 604-608
prose where(ul):not(:where([class
ui
cta.tsx
Lines 40-44
const LargeCTAButton
grid.tsx
Lines 86-90
const Grid FourtySixty
Lines 108-112
const GridSixtyFourty
Lines 151-155
const GridSixCol
const GridOneThreeOne
Lines 176-180
releases.ts
analytics.ts
collab.ts Q const
511 +
A
Filter...
src/content/blog/crdt-intro.md
crdt-intro.md src/content/blog/
45
46
47
48
49
typos: OT should be TO, OF, OR, NOT
typos
! [Operational Transformation focuses on transforming incoming
operations to account for concurrent edits.](/img/post/crdts/ot.webm
)
This is simple in concept, but defining a correct and performant
function that can transform operations is non-trivial, and was the
subject of a whole subdiscipline of computer science research known
as Operational Transformation, or OT. We experimented with this
approach when we first explored collaborative editing back in 2017,
but we ultimately chose to work with an alternative theoretical
framework called Conflict-Free Replicated Data Types (CRDTs), which
we found to be more powerful and intuitive.
With CRDTs, instead of transforming concurrent operations so they
can be applied in a different order, we structure our data so that
concurrent operations are inherently commutative, allowing us to
apply them directly on any replica without transformation. But how
do we make text edits commutative?
legacy_css.css src/pages/
7
typos: botton should be bottom, button
typos
220:29 Markdown
511 Checking for updates to tailwindcss-language-server...
Explanation
The image shows the user interface of a code editor, with two panels open. The left panel shows a file tree with a file named "crdt-intro.md" selected. The right panel shows the content of the "crdt-intro.md" file, which includes some text about Operational Transformation and Conflict-Free Replicated Data Types (CRDTs). There are also some comments that are typos found by the editor.