Apex › Distributed systems

Operational transformation

How Google Docs lets many people type in one document at once. When a site receives a concurrent edit, it transforms the operation against its own — adjusting indices so both replicas converge to the same text no matter what order edits arrive. Set two concurrent edits and watch both replicas converge, then compare the naive approach that diverges.

More in Distributed systems