Cloud Messaging Synchronization via Batch Transfer and Segmented Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing messaging systems face challenges in efficiently managing and synchronizing messages across multiple devices, particularly when devices are offline or have varying network availability, leading to issues with message delivery and duplication.
Innovation Solution
A cloud storage backup system that utilizes temporary and archival storage to synchronize messages in batches, using unique record identifiers to avoid duplication and ensure a single backup copy across all devices, with a synchronization process that prioritizes recent messages and allows seamless transition between public and private networks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If messages are stored in temporary storage for offline devices, then message delivery reliability is improved, but storage resource consumption increases
Solution Approach 1:
The storage system is segmented into temporary storage and archival storage components. Temporary storage holds messages for offline devices with limited retention, while archival storage provides long-term backup. This segmentation allows the system to maintain message delivery reliability through temporary storage while preventing unbounded storage growth by transferring messages to archival storage after a retention period.
Solution Approach 2:
The system performs preliminary actions by storing messages in temporary storage before final archival. This preliminary temporary storage ensures that messages are available for delivery to offline devices immediately, while the subsequent archival process prevents permanent storage of all messages indefinitely, thus balancing reliability with storage resource management.
2Stability of the object's composition
If all messages are synchronized across all devices, then data consistency is improved, but synchronization time and network bandwidth consumption increase
Solution Approach 1:
The system extracts and transfers only the necessary message data from temporary storage to archival storage during synchronization, rather than synchronizing entire message databases. This selective extraction approach maintains data consistency across devices while significantly reducing synchronization time and network bandwidth consumption by transmitting only essential message information.
Solution Approach 2:
The system performs partial synchronization by transferring batches of messages rather than complete message databases. This partial action approach provides sufficient data consistency for messaging operations while avoiding the excessive time and network resources that would be required for full database synchronization across all devices.
3Quantity of substance
If a single backup copy is maintained for all devices, then storage efficiency is improved, but message recovery capability for individual devices is reduced
Solution Approach 1:
The archival storage component serves multiple functions: it provides a single backup copy for storage efficiency while also enabling message recovery for individual devices through the synchronization process. The same archival storage that reduces overall storage requirements also serves as the source for restoring messages to any individual device, thus achieving both storage efficiency and recovery capability through a universal storage solution.
Data Source
AI summary
A messaging system uses a cloud storage backup system for messages and a temporary storage for messages that are not deliverable to offline devices at the time that the messages are sent by one or more messaging servers. The messages are backed up through a synchronization process that transfers a batch of a plurality of messages rather than a single message or an entire database of messages. A conversation state can be synchronized first before synchronizing messages through the transfer of one or more batches of messages.


