AlgoMaster Logo

Operational Transformation

Medium Priority12 min readUpdated October 27, 2026
AI Mock Interview

Practice this topic in a realistic system design interview

Premium Video

This video is available to premium subscribers only

Unlock Full Access

How can two people edit the same document at the same time without accidentally overwriting each other's changes?

One technique that makes this possible is Operational Transformation, or OT. Each user's edit is applied on their screen right away. When another user's edit arrives later, OT adjusts it so it still does what that user intended, given the changes that have already happened locally.

In this chapter, we'll see how OT works, how it handles conflicting edits, and why it has been used in collaborative editors like Google Docs.

1. The Problem: Editing the Same Document at Once

Premium Content

This content is for premium members only.