DFIELDSOLUTIONS

Free software

LabConfluo: Edit together, even offline

Per-field LWW registers with Lamport (ts, site) clocks make merge commutative/associative/idempotent - the convergence laws are the tests (9). BroadcastChannel transport + an offline toggle.

Free software1 sections · 2 min readBy Dezső Mező.mdFree softwareConfluo

Confluo is a collaborative editor that lets multiple people change the same document and converge to the same result, even offline. It uses per-field last-write-wins registers stamped with Lamport (timestamp, site) clocks, which makes merging commutative, associative, and idempotent - and those convergence laws are exactly what the tests assert. It is a from-scratch, dependency-light build using BroadcastChannel transport and an offline toggle that you can download and run locally.

01About the app

Distributed systems

What to take away

  • Per-field LWW registers with Lamport (ts, site) clocks make merge commutative/associative/idempotent - the convergence laws are the tests (9). BroadcastChannel transport + an offline toggle.
  • Download: Confluo (ZIP)
We build this for clientsFull-stack

Read the full write-up

More from the lab

Browse all entries

Want this looked at on your own system?Start a conversation

5.0
“New shop, more orders in the first week.”Müller Márk · GeekCornerManaging Director · Hungary