QUIC Master Module Backup for Service Continuity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The QUIC protocol-based communication systems face interruptions in service when a master module fails, leading to disruptions in data transmission and application service continuity due to the lack of effective backup and failover mechanisms.
Innovation Solution
Implementing a backup module that synchronizes and processes data in real-time, ensuring seamless continuation of service by sending data to a slave module, which acts as a backup, allowing it to take over and maintain data processing progress, thus preventing service interruptions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If a master module processes data in a QUIC protocol-based communication system, then data transmission efficiency is improved, but service interruption occurs when the master module fails
Solution Approach 1:
The slave module performs preliminary backup of data and processing progress before the master module fails. The system continuously synchronizes data from the master module to the slave module, so that when failure occurs, the slave module can immediately take over without service interruption. This preliminary preparation of backup data resolves the contradiction by ensuring both efficient master processing and reliable failover capability.
Solution Approach 2:
The system creates a copy (slave module) of the master module with identical data processing capabilities. The slave module maintains a synchronized copy of all data and processing state, allowing it to replace the master module seamlessly upon failure. This copying mechanism ensures service continuity while the master module maintains high transmission efficiency.
2Reliability
If data is sent to a slave module for backup before processing, then service continuity is improved, but data processing time is increased
Solution Approach 1:
The backup process operates continuously in parallel with the master module's data processing. While the master module processes data, the slave module simultaneously receives and stores backup data without interrupting the master's workflow. This continuous parallel operation ensures service continuity is maintained without adding significant processing time delays.
Solution Approach 2:
The slave module performs preliminary data reception and backup in advance, preparing the backup data structure and storage before it is needed for potential failover. This preliminary preparation reduces the time penalty during normal operation, as the backup infrastructure is already in place and synchronized, minimizing the impact on overall data processing time.
3Reliability
If a backup module is implemented to prevent service interruption, then service reliability is improved, but system complexity is increased
Solution Approach 1:
The system uses a simplified copying approach where the slave module is essentially a mirror of the master module with identical data structures and processing capabilities. This copying mechanism provides reliable backup without requiring complex backup protocols, data transformation logic, or sophisticated synchronization mechanisms, thus limiting the increase in system complexity.
Solution Approach 2:
The slave module is designed with universal data processing capabilities that allow it to function both as a backup unit during normal operation and as an active processing unit during failover. This multi-functionality reduces system complexity by avoiding the need for separate specialized backup hardware or software, as the same module structure serves multiple purposes.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
This application discloses a data sending method and apparatus, a data receiving method, apparatus, and system, and a medium, and relates to the communication field. The method is applied to a master module that exchanges first data with a communication peer device based on the QUIC protocol. The master module is configured to provide an application service. The method includes: The master module obtains the first data, where the first data is for implementing the application service; the master module sends the first data to a slave module serving as a backup module; and the master module processes the first data based on a backup success message received from the slave module, where the backup success message indicates that the first data is successfully backed up. In this application, interruption of the application service can be avoided.