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.