Does Live Share favor local echo over strong consistency during concurrent edits?
0 reputation · 22 Nov 2025, 22:52 UTC
Concurrency model uncertainty
Visual Studio Live Share synchronizes edits through a centralized relay that applies operational transformation or CRDT-based merging. The service documentation does not specify whether the conflict-resolution layer prioritizes immediate local feedback (local echo) or waits for server-side acknowledgment to guarantee strong consistency.
Observed constraints
Latency spikes appear non-linearly when more than five participants edit the same file, yet no configuration knobs exist for batch intervals, acknowledgment timeouts, or consistency levels. This makes it difficult to predict or tune behavior for real-time pair- or mob-programming scenarios.
Open questions
- Does the relay acknowledge a local edit before broadcasting it, or does it apply optimistic local echo and reconcile later?
- Can temporary divergence between participants occur, and if so, is there a documented threshold or heuristic that triggers manual resolution?
- Are there any telemetry events or log entries that expose the consistency mode chosen for a given session?