Document Edit Service Stability via Dual Data Queues
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current document editing services face challenges in stabilizing simultaneous editing across multiple editors, leading to potential data loss and inability to scale without service interruption due to uneven resource distribution and failure in server modules.
Innovation Solution
A method and system that utilize dualized data queues and transmission/reception modules to manage and distribute edit data among editors, ensuring data reflection and stability even in case of module failures, and enabling scale-out operations without service disruption by merging and transmitting edit data through a processor-based document management system.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If multiple editors edit the same document on different servers, then editing capacity is increased, but load becomes concentrated on single servers causing failure risk
Solution Approach 1:
The system segments the server architecture into multiple document management servers, each capable of independently handling document editing operations. This segmentation distributes the editing load across multiple servers, preventing concentration of load on a single server and thereby improving both productivity and reliability simultaneously
2Reliability
If servers are dedicated to specific documents, then document editing is stable, but scale-out requires service interruption
Solution Approach 1:
Each document management server is designed with multi-functionality to handle multiple documents and multiple editors simultaneously. This universal design allows servers to dynamically accept new documents and editors without requiring service interruption, enabling seamless scale-out while maintaining editing stability through consistent document management operations
3Device complexity
If edit data is stored in single server, then data access is simple, but data loss occurs when server fails
Solution Approach 1:
The system merges the data storage and management capabilities across multiple document management servers, creating a distributed data architecture. Edit data is replicated and managed across the server cluster, ensuring that data remains accessible and safe even if individual servers fail, while maintaining relatively simple data access through unified document management interfaces
Data Source
AI summary
Provided is a method for providing an edit service of a document, performed by at least one processor. The method includes storing, in a first data queue, first edit data received from a first communication terminal; storing, in the first data queue, second edit data received from a second communication terminal; updating an online document by reflecting the first edit data and the second edit data stored in the first data queue in the online document; transmitting the first edit data to the second communication terminal; and transmitting the second edit data to the first communication terminal.


