| 注册
首页|期刊导航|软件导刊|基于一致性Hash算法的分布式缓存数据冗余

基于一致性Hash算法的分布式缓存数据冗余

李宁

软件导刊2016,Vol.15Issue(1):47-50,4.
软件导刊2016,Vol.15Issue(1):47-50,4.DOI:10.11907/rjdk.1511240

基于一致性Hash算法的分布式缓存数据冗余

Redundancy of Distributed Cache Data Based on Consistent Hash Algorithm

李宁1

作者信息

  • 1. 南京理工大学计算机科学与工程学院 ,江苏南京210094
  • 折叠

摘要

Abstract

In order to optimize the data caching mechanism in large distributed sites ,this paper propose the redundancy of cache data based on Consistent Hash Algorithm ,analyze the performance of different hash functions to distribute the data on the nodes of hash ring evenly .Set and get data in Master-Slave hash rings respectively in use of dichotomy .Through local testing and analysis ,we found that the redundancy mechanism is significantly better than reading the database direct-ly or local cache ,the performance loss of backup operations can be effectively reduced in distributed system .Therefore this mechanism can improve the robustness and stability of the site ,and provide new ideas to the design of high concurren-cy ,distributed cache system .

关键词

一致性Hash/分布式缓存/数据冗余

Key words

Consistent Hash Algorithm/Distributed Cache/Redundancy of Cache Data

分类

信息技术与安全科学

引用本文复制引用

李宁..基于一致性Hash算法的分布式缓存数据冗余[J].软件导刊,2016,15(1):47-50,4.

软件导刊

1672-7800

访问量0
|
下载量0
段落导航相关论文