Operational transformation
Collaboration systems using operational transformations typically use replicated document storage where each user has their own copy of the document. Users operate on their own local copies. Their changes are then pushed to the rest of the users. When a user receives the changes pushed from another user, they typically transform the changes before executing them.