Building Real-Time Collaboration Across Five Platforms - Without Compromising Speed or Consistency

Client Background

Our client, a global software company behind MindManager, provides productivity and collaboration tools to millions of users worldwide. MindManager helps teams visually organize ideas, manage complex projects, and plan strategically through dynamic mind maps. 
To meet the needs of distributed workforces, the client aimed to evolve the product from a single-user desktop tool into a real-time collaborative platform that allows multiple people to edit the same map simultaneously - across Windows, Mac, Web, and mobile.

Business Challenge

Traditional file-based mind mapping slowed modern teams. Collaboration meant passing files back and forth, causing version conflicts, delays, and lost progress. 
The client needed to: 

  • Enable simultaneous co-editing of large maps with attachments.
  • Maintain sub-second sync for dozens of concurrent users.
  • Preserve document integrity and order across multiple platforms.
  • Handle failures gracefully - reconnections, autosave, network drops.
  • Deliver all of this securely and at global scale.

Key Achievement

We enabled real-time collaboration for complex XML-based documents with: 

  • Sub-second latency for operation propagation.
  • Dozens of concurrent users editing the same map.
  • Support for attachments over 10 MB per operation.
  • Cross-platform consistency between desktop, web, and mobile clients.

How did we make it work?

Real-Time Synchronization
linebg

Instead of traditional Operational Transformation (OT), we used delta-based XML group operations - better suited for MindManager’s complex document structure (nodes, styles, attachments, metadata). 

  • Concurrent edits: resolved deterministically by server order - last write wins, avoiding invalid states.
  • Selection conflicts: broken by deterministic rules (e.g., email hash comparison).
  • Attachments: transmitted as base64 within XML; Redlock prevents overlap during save.

This pragmatic design achieved consistency without thousands of custom OT functions. 

Cross-Platform Consistency
linebg

Every client - Windows, Mac, Web, iOS, Android - uses the same XML GroupDelta schema and MindManager Core engine (compiled to WebAssembly or transpiled JS for web builds). 

Session startup follows a cache-validation model: 

  • First user uploads to S3 if cache is cold.
  • Subsequent joiners fetch from S3 for faster onboarding.

Platform optimizations: 

  • Web: operation pagination to bypass browser memory limits.
  • Desktop: native file locking and fast XML parsing.
  • Mobile: aggressive reconnection and state buffering when backgrounded.
Conflict Resolution
linebg

Instead of traditional Operational Transformation (OT), we used delta-based XML group operations - better suited for MindManager’s complex document structure (nodes, styles, attachments, metadata). 

  • Concurrent edits: resolved deterministically by server order - last write wins, avoiding invalid states.
  • Selection conflicts: broken by deterministic rules (e.g., email hash comparison).
  • Attachments: transmitted as base64 within XML; Redlock prevents overlap during save.

This pragmatic design achieved consistency without thousands of custom OT functions. 

Autosave and Scalability
linebg

We offloaded session autosave to AWS Lambda to keep Node.js servers stateless and horizontally scalable. 
Redis Pub/Sub and AWS SQS handle inter-node event propagation; CloudFront and ALB balance global traffic. 

The system now supports thousands of active sessions daily with 99.9% autosave success and zero cross-platform drift. 

Main Technical Challenges

01 Ordering & Consistency Across Platform

linebg

Ensuring every user saw the same document state in real time - achieved through Redlock and a global order counter. 

03 Large Attachments Handling

linebg

Enabled >10 MB operations with buffering and base64 streaming, keeping sync latency under one second.

05 Conflict-Free XML Updates

linebg

Delta-based XML operations replaced OT, reducing complexity while maintaining correctness.

02 Reconnection & Autosave Reliability

linebg

Lambda-based autosave and resumable operation queues eliminated data loss during network interruptions.

04 Cross-Platform Synchronizatio

linebg

Unified XML schema and shared MindManager engine guaranteed identical outcomes across desktop, web, and mobile. 

Value Delivered by DevPulse

  • Seamless real-time collaboration - users co-edit maps live without version conflicts.
  • Cross-platform reliability - identical behavior on Windows, Mac, Web, iOS, and Android.
  • Scalability at enterprise level - thousands of concurrent sessions daily.
  • Fast, stable performance - sub-second latency even on large, attachment-heavy maps.
  • Future-proof design - modular architecture ready for cloud integrations and analytics.
Request A Free No-Obligation Quote

    By clicking "Send A Message", You agree to devPulse's Terms of Use and Cookie Policy

    Anna Tukhtarova
    Chief Technology Officer
    Hi — I’m Anna, CTO at DevPulse. For 15+ years I’ve guided teams from legacy code to modern, browser-native stacks. Let’s spend 30 minutes mapping the safest upgrade path for your product.
    What's next?
    01 Submit the request—takes <1 minute.
    02 Receive confirmation (and optional NDA) within 12 hours.
    03 Meet our solution architect to discuss goals & success metrics.