Message fault tolerance method and system based on Spark stream computing framework
A stream computing and message technology, which is applied to the redundancy in the operation for data error detection, calculation, error detection/correction, etc. It can solve problems such as program error reporting and repeated message processing, and achieve high reliability and reliable design principles. , highlight the effect of substantive features
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0071] Such as figure 1 As shown, the present invention provides a message fault-tolerant method based on the Spark stream computing framework, comprising the following steps:
[0072] S1. Create a workflow program, set a metadata checkpoint task, and save the streaming computing information added to the program and configuration version label to the storage system;
[0073] S2. Set up the Spark flow to read the message from the message queue and perform message partition processing to generate a data set, complete the data set conversion operation in the Spark flow and create a logical execution plan;
[0074] S3. When there is a state transition in the Spark flow and a data checkpoint, set the data set for stateful transition processing, and add program and configuration version tags to the data checkpoint task;
[0075] S4. When the system fails, set the Spark flow to obtain the program and configuration version information in the checkpoint, and when the program and confi...
Embodiment 2
[0078] Such as figure 2 As shown, the present invention provides a message fault-tolerant method based on the Spark stream computing framework, comprising the following steps:
[0079] S1. Create a workflow program, set a metadata checkpoint task, and save the streaming computing information of the program and configuration version label to the storage system; the specific steps are as follows:
[0080] S11. Create a workflow program;
[0081] S12. Add program and configuration version tags to the streaming computing information;
[0082] S13. Set the metadata checkpoint task to save the streaming computing information to the storage system; the streaming computing information saved by the metadata checkpoint task includes creating the configuration of the streaming application, defining the discrete streaming operation set of the streaming application, and the job queuing but unfinished batches;
[0083] S2. Set up the Spark flow to read the message from the message queue...
Embodiment 3
[0105] Such as image 3 As shown, the present invention is a kind of message fault-tolerant system based on Spark stream computing framework, comprising:
[0106] The metadata checkpoint version adding module 1 is used to create a workflow program, set the metadata checkpoint task and save the streaming computing information of the adding program and configuration version label to the storage system; the metadata checkpoint version adding module 1 includes:
[0107] Workflow program creation unit 1.1, used for creating workflow programs;
[0108] The first label adding unit 1.2 is used to set the adding program and configuration version label in the streaming computing information;
[0109] The metadata checkpoint saving unit 1.3 is used to set the metadata checkpoint task to save the streaming computing information to the storage system;
[0110] Spark flow working module 2 is used to set the Spark flow to read messages from the message queue and perform message partition p...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com