---
answer: direct
beat: system-design
source: 1 article · updated: July 30, 2026
---

What is the index-shift problem in concurrent editing?

When two users concurrently edit a string at different positions, the operations carry indices valid only against the state each user saw. If you naively apply the second operation at its original index against the first user's modified state, the result is wrong—you delete or insert at the wrong position because the indices have shifted.

Answered in

Operational Transforms vs CRDTs

Why Google Docs needs a server and Figma doesn't: how two competing approaches to concurrent editing resolve the same-string conflict, and when each wins.

Crashtech Editorial July 30, 2026 System Design

Read the full analysis

Other questions this article answers

More system design questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design beat.