Quick fault-tolerant processing method for data-writing Redis failure
A technology of data writing and processing methods, applied in the field of fault-tolerant processing, which can solve problems such as business data loss and incorrect communication establishment, and achieve the effects of solving data loss, ensuring fluency, and being convenient and simple to use
Inactive Publication Date: 2017-11-07
上海哎媲媲网络技术有限公司
5 Cites 5 Cited by
AI-Extracted Technical Summary
Problems solved by technology
View more
Method used
View more
Abstract
The invention discloses a quick fault-tolerant processing method for data-writing Redis failure. The method includes S1, adding a Redis service failed in play as a fault-tolerant task to a fault-tolerant to-be-processed queue; S2, acquiring a fault-tolerant to-be-processed task from the fault-tolerant to-be-processed queue, replaying the Redis service if the fault-tolerant to-be-processed task exists, adding one time in replaying the Redis service, continuously performing the S3, and performing the S4 if the fault-tolerant to-be-processed task does not exist; S3, judging whether replaying of the Redis service in the S2 is successful or not, if yes, storing the Redis service to a Redis server cluster, skipping to the S2 for continuous performance, and if not, adding the Redis service to the fault-tolerant to-be-processed queue and skipping to the S2 for continuous performance; S4, closing the Redis service. The task failed in processing is retried continuously till processed successfully, the problem about data loss caused by interruption of network connection or Redis service is effectively solved, and smoothness in service performance is guaranteed.
Application Domain
Redundant operation error correction
Technology Topic
Data lossNetwork connection
Image
Examples
- Experimental program(4)
Example Embodiment
Example Embodiment
Example Embodiment
PUM


Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Similar technology patents
Integrated construction project management system with handheld computer and checklist
Owner:BIRKNER CHARLES CHRISTIAN +2
Disposable medical-examination light
Owner:UTAH MEDICAL PRODS
Patient positioning support structure
Owner:WARSAW ORTHOPEDIC INC
Device for implementing a cutting balloon intervention with IVUS monitoring
Owner:SIEMENS HEALTHCARE GMBH
Classification and recommendation of technical efficacy words
- Fix data loss
- easy to use
Memory
PendingCN111324290AFix data lossPrevent power failure
Owner:GIGADEVICE SEMICON (BEIJING) INC +1
Method and system universal for power on and power off of various modules
ActiveCN103246337AFix data lossSave manpower and material costs
Owner:SHENZHEN HONGDIAN TECH CORP
Overheat protection method and apparatus of network communication equipment
InactiveCN102780586AFix data loss
Owner:RUIJIE NETWORKS CO LTD