基于纳管的Redis集群在线横向扩展的设计与实现  

Design and Implementation of Redis Cluster Online Horizontal Expansion by Management

在线阅读下载全文

作  者:刘晓强 LIU Xiao-qiang(People's Insurance Company of China,Beijing 100022)

机构地区:[1]中国人民财产保险股份有限公司,北京100022

出  处:《电脑与电信》2024年第4期102-105,共4页Computer & Telecommunication

摘  要:随着企业生产系统规模的扩大,数据并发量及业务复杂度不断提升,通常采用Redis分布式集群的设计作为一层缓存来缓解调用数据库的压力,提升响应速度和服务水平。随着数据量的增加,最初上线的Redis集群的内存也会逐步达到整个集群的上限,新增节点重新搭建集群需要停机,而纵向扩容单节点内存又会带来资源瓶颈,如何实现Redis集群的在线横向扩展,已经成为企业亟待解决的问题。对此,提出了一种Redis集群在线横向扩展的解决方案,并通过对Redis服务器的纳管将操作嵌入到具体管理系统中,实现一站式的检查、扩容和数据重分布,在业务不停机的前提下对Redis集群进行扩容。研究表明,该方案可协助企业及时、快速地进行Redis集群的在线横向扩展,避免纵向扩展带来的IO、CPU及内存资源瓶颈,减少运维的工作量,目前已经在金融企业核心系统得到实际应用,并取得了较好效果。With the expansion of enterprise production system scale,data concurrency and business complexity are constantly increasing.Redis distributed cluster design is often used as a layer of memory cache to alleviate the pressure of calling databases,improving response speed and service level.As the amount of data increases,the memory of the initially launched Redis cluster will gradually reach the upper limit of the entire cluster.Rebuilding the cluster with new nodes requires downtime,and vertical expansion of single node memory will bring resource bottlenecks.How to achieve online horizontal expansion of the Redis cluster has become an urgent problem for enterprises.This article proposes a solution for online horizontal expansion of Redis clusters,and embeds operations into specific management systems through the management of Redis servers,achieving one-stop inspection,expansion,and data redistribution.The Redis cluster can be expanded without business downtime.Research has shown that this solution can assist enterprises timely and rapid online horizontal expansion of Redis clusters,avoiding IO,CPU,and memory resource bottlenecks caused by vertical expansion,and reducing operational workload.It has been applied in core systems of financial enterprises and has achieved good results.

关 键 词:Redis集群 横向扩展 纵向扩展 纳管 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象