This document describes the context for a Collaborative Document Editor system, similar to Google Docs, designed to support both online and offline editing. The system is intended to allow multiple users to edit the same document simultaneously while ensuring data consistency and conflict resolution.
The documentation starts from an initial suggested implementation, analyzing potential failure points and gradually proposing improvements and strategies to support a more robust and scalable solution.
- Check on Functional Requirements and Non Functional Requirements.
https://github.com/plinioduartt/collaborative-document-editor-system-design
- Collaborative editing of rich-text documents with real-time synchronization.
- Conflict-free merging of offline and online edits.
- Audit logging of document access and changes.
- Support for large-scale concurrent users without sacrificing performance.
- Users may experience connectivity failures.
- CRDT algorithms LSEQ to handle concurrent edits.
Plinio Duarte | 2025-10-11