System and method used for processing multi-phase distributed task scheduling
A technology of distributed tasks and scheduling methods, which is applied in the system for processing multi-stage distributed task scheduling and the processing field required by multi-stage distributed complex transaction processing, can solve the problem of not reflecting the idea of staged processing of complex transactions, high overhead, Unable to implement sub-stage rollback and redo and other problems, to achieve the effect of efficient and reliable processing, no after-effects, and cost reduction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0027] Example 1
[0028] Such as figure 1 As shown, figure 1 It is a schematic diagram of a system deployment method used to process multi-stage distributed task scheduling. The figure uses a cluster composed of two hosts as an example. The cluster nodes use synchronization locks to support the main node election and inter-node control message triggering functions. The transaction sent from the foreground is routed to the architecture module of the master node through the communication layer. The master node architecture module records the transaction data into the work page log file of the shared disk, and triggers the replay of the work page log file of the slave node architecture module through the synchronization lock , The architecture module of the master-slave node will send its own transaction request to the functional module of the machine for processing, and the response information processed by the functional module will be summarized to the master node architecture mo...
Example Embodiment
[0029] Example 2
[0030] figure 2 It is a flowchart of the cooperative work of the master-slave node architecture module and its functional modules in the multi-stage processing of transaction requests. As shown in the figure, all transaction requests are first processed by the master node architecture module, and the master node architecture module completes the necessary schooling. After verifying the work, create an asynchronous job for the transaction request and send the asynchronous transaction job to the function module for execution. After that, the master node architecture module immediately triggers the replay of the log file of the work page by the slave node architecture module, and the slave node architecture module is based on the log The data recorded in the file creates the same transaction asynchronous job and request data locally, and sends the job request to the local function module for processing. The function module of each node receives the transaction req...
Example Embodiment
[0033] Example 3
[0034] image 3 It is the process flow chart of the node failure backup machine takeover processing in the cluster. If a node failure exit occurs in the cluster, the synchronization message lock between the cluster nodes will trigger the node exit event on all nodes, and the remaining nodes in the cluster will respond to the event. If the master node fails, the newly elected master node will replay according to the work page log file recorded by the failed master node on the shared disk, restore to the state consistent with the last record of the failed master node, and then continue to take over task processing; if it is If the slave node fails, the standby machine directly takes over the work of the failed slave node, and the master node resends the unfinished transaction to the takeover slave node for processing. This mechanism ensures that the multi-stage distributed complex transaction can still be processed correctly in the case of the host failure .
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2023 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap