作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2018, Vol. 44 ›› Issue (5): 40-46. doi: 10.19678/j.issn.1000-3428.0046331

• 体系结构与软件技术 • 上一篇    下一篇

Redis集群可靠性的研究与优化

李燚 1a,2,顾乃杰 1a,1b,2,黄增士 1a,2,任开新 1a,2   

  1. 1.中国科学技术大学 a.计算机科学与技术学院; b.先进技术研究院,合肥 230027; 2.安徽省计算与通信软件重点实验室,合肥 230027
  • 收稿日期:2017-03-13 出版日期:2018-05-15 发布日期:2018-05-15
  • 作者简介:李燚(1993—),男,硕士研究生,主研方向为程序分析、漏洞检测;顾乃杰(通信作者),教授、博士生导师;黄增士,博士研究生;任开新,讲师。
  • 基金资助:
    安徽省自然科学基金(1408085MKL06);高等学校学科创新引智计划项目(B07033)。

Research and Optimization of Redis Cluster Reliability

LI Yi  1a,2,GU Naijie  1a,1b,2,HUANG Zengshi  1a,2,REN Kaixin  1a,2   

  1. 1a.School of Computer Science and Technology; 1b.Institute of Advanced Technology,University of Science and Technology of China,Hefei 230027,China; 2.Anhui Province Key Laboratory of Computing and Communication Software,Hefei 230027,China
  • Received:2017-03-13 Online:2018-05-15 Published:2018-05-15

摘要: 当Redis集群发生单点故障时,恢复过程不稳定且耗时较长。为此,在不增加网络传输代价的前提下,使用通信负载均衡的方法,对Redis集群容错机制的通信过程进行优化,从而达到提升集群可靠性的目的。实验结果表明,优化后的Redis集群的宕机恢复效率明显提升,在保证吞吐率和不提高传输代价的情况下,可提升集群处理故障状态的可靠性。

关键词: Redis集群, 单点故障, 容错机制, 可靠性, 通信负载均衡

Abstract: It takes long time to recover when a single point of failure occurs in Redis cluster and the recover process is very unstable.This paper improves the communication process of the fault tolerance system in Redis cluster based on the consideration of load balancing without increasing the transmission cost of the system,on the purpose of improving the reliability of the cluster.Experimental results show that this method has a great improvement on the reliability and failover effectiveness of Redis cluster,under the premise that it does not cause much impact on the network transmission cost and throughput of the cluster,and indirectly enhances the reliability of cluster processing fault state.

Key words: Redis cluster, single node failure, fault tolerance mechanism, reliability, communication load balancing

中图分类号: