冯国军, 贺占庄, 吕瑛. 基于DBAF算法的MongoDB负载均衡策略[J]. 微电子学与计算机, 2021, 38(2): 52-55, 61.
引用本文: 冯国军, 贺占庄, 吕瑛. 基于DBAF算法的MongoDB负载均衡策略[J]. 微电子学与计算机, 2021, 38(2): 52-55, 61.
FENG Guo-jun, HE Zhan-zhuang, LV Ying. Research on data sharding and load balancing algorithms based on mongoDB[J]. Microelectronics & Computer, 2021, 38(2): 52-55, 61.
Citation: FENG Guo-jun, HE Zhan-zhuang, LV Ying. Research on data sharding and load balancing algorithms based on mongoDB[J]. Microelectronics & Computer, 2021, 38(2): 52-55, 61.

基于DBAF算法的MongoDB负载均衡策略

Research on data sharding and load balancing algorithms based on mongoDB

  • 摘要: 面对高速发展的物联网产业所带来的数据爆发式增长的问题,NoSQL能比较好的处理海量数据.本文选取NoSQL家族中比较典型的MongoDB开展了研究.分析了MongoDB的工作机制,针对当前其负载均衡算法的未考虑数据块访问频率的问题,提出了一种基于数据块访问频率(DBAF)算法的负载均衡策略.实验结果表明该新算法可以有效提高系统的并发读写性能.

     

    Abstract: Faced with the problem of explosive growth of data brought by the rapid development of the Internet of things industry, NoSQL can better handle massive data. In this paper, the typical MongoDB database in NoSQL is selected for research. The storage architecture of MongoDB is analyzed, and the auto-sharding mechanism of MongoDB is studied. Aiming at the shortage of current MongoDB load balancing algorithm, a load balancing strategy based on data block access frequency (DBAF) algorithm is proposed. The experiments show that the new load balancing strategy can effectively improve the concurrent read-write performance of the system.

     

/

返回文章
返回