Service Data Synchronization via Mediator Module for Active-Standby Routing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing active/standby redundancy method for control plane software in routing systems leads to performance deterioration due to frequent data synchronization between the active and standby programs, occupying significant resources and affecting service processing performance.
Innovation Solution
A data synchronization method where the active service module sends service data to a standby service module, allowing the standby to take over without the need for continuous synchronization, thereby reducing resource occupation and ensuring performance while implementing multi-point fault protection.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the active program directly synchronizes data to the standby program, then fault protection is achieved, but service processing performance of the active program deteriorates due to resource occupation
Solution Approach 1:
A data service module is introduced as an intermediary between the active service module and standby service modules. The active service module sends data to the data service module, which then distributes it to standby modules. This mediator approach allows data synchronization without directly burdening the active service module's processing resources, resolving the contradiction between maintaining fault protection and preserving service performance.
2Reliability
If frequent data synchronization is performed from active to standby program, then service continuity is ensured, but system resources are excessively consumed
Solution Approach 1:
The data service module pre-processes and stores service data before it is needed for synchronization. By maintaining a ready pool of service data, the system can quickly respond to standby module requests without requiring frequent real-time synchronization operations, thus ensuring service continuity while reducing overall resource consumption.
Solution Approach 2:
Instead of continuous frequent synchronization, the system adopts periodic data updates where the data service module refreshes standby modules at optimized intervals. This periodic approach maintains adequate service continuity while significantly reducing resource consumption compared to continuous synchronization.
3Reliability
If multiple standby service modules are deployed for multi-point fault protection, then fault tolerance rate increases, but system complexity increases
Solution Approach 1:
The data service module serves multiple functions: it receives data from the active service module, stores service data, manages multiple standby service modules, and handles data distribution. This universal component consolidates what would otherwise be分散 functionalities, enabling multi-point fault protection through multiple standby modules while keeping the overall system architecture manageable and not excessively complex.
Data Source
AI summary
A data synchronization method and apparatus, applied to a first data service module. The method includes receiving a first request from a second service module, where the first request is used to request to synchronize service data of a first service module; obtaining the service data of the first service module; and sending the service data of the first service module to the second service module. In solutions provided in the present disclosure, the first data service module replaces the first service module to synchronize the service data of the first service module for the second service module.


