Causal-Pdh: Causal Consistency Model for NoSQL Distributed Data Storage Using HashGraph
-
摘要: 分布式环境中的数据因果一致性指的是对具有因果依赖性的数据进行更新时,须同步更新其他分布式副本中的依赖性元数据,同时满足较高的可用性和性能需求.为解决现有成果中更新可见延迟较高的问题,在数据中心稳定向量的基础上,结合混合逻辑时钟和HashGraph原理,提出了Causal-Pdh模型.使用部分向量和校验值作为消息签名代替了所有向量,并且借鉴HashGraph的原理,改进了各个数据中心同步最新条目的过程,各个父节点随机与其他父节点同步最新状态,从而降低了虚拟投票所使用的时间.最后通过实验验证了Causal-Pdh模型不仅没有影响客户端的吞吐量,而且在时钟偏移较严重时降低了20.85%的用户PUT等待延迟,在系统中存在查询放大的情况时,PUT响应时间降低了23.27%.Abstract: The causal consistency of data in a distributed environment means that when data with causal dependence is updated, the dependency metadata in other distributed copies must be updated simultaneously, while meeting higher availability and performance requirements. To solve the problem of users put latency and updating visible latency in existing results, based on the data center stable vectors, combined with the principle of hybrid logical clocks and the HashGraph, we propose the Causal-Pdh model. To reduce the communication overhead caused by exchanging data between replicates, partial stabel vectors required by synchronizing data and Hash value as the message signatures are used instead of the whole data center stable vectors. The principle of virtual voting in HashGraph is used to improve the process of synchronizing the latest entries in each data center. Just like Gossip about Gossip: each parent node also randomly exchanges the latest status, and updates the clock regularly. This progress reduces the time of virtual voting between the replicates. Finally, it is verified by experiments that the Causal-Pdh model not only doesnt affect the throughput of the client query, but also reduces the wait latency of users put operation by 20.85% when the clock skew is severe. When the query is amplified in the system, the response time of request is reduced by 23.37%.
-
Keywords:
- data consistency /
- causal consistency /
- distributed storage /
- HashGraph /
- hybrid logical clocks
-
-
期刊类型引用(8)
1. 张宇姣,徐健,吴迪. 基于图表示学习的知识图谱时序推理模型. 济南大学学报(自然科学版). 2025(02): 272-277 . 百度学术
2. 陆佳炜,王小定,朱昊天,程振波,肖刚. 一种融合实体图上下文的三维旋转知识图谱表示学习. 小型微型计算机系统. 2023(01): 124-131 . 百度学术
3. 陈小英,熊盛武,王盛,张士伟. 基于上下文时序关联的时序知识图谱嵌入方法. 武汉大学学报(理学版). 2023(02): 249-257 . 百度学术
4. 卢菁,陈婉璐,刘丛. KGU-SP:一种挖掘标准模式的知识图谱更新方法. 小型微型计算机系统. 2023(06): 1177-1183 . 百度学术
5. 魏飞鸣,许倩倩,顾网平,李永晨. 知识图谱在探测与识别领域中的应用分析. 制导与引信. 2023(04): 1-8+28 . 百度学术
6. 马昂,于艳华,杨胜利,石川,李劼,蔡修秀. 基于强化学习的知识图谱综述. 计算机研究与发展. 2022(08): 1694-1722 . 本站查看
7. 宁原隆,周刚,卢记仓,杨大伟,张田. 一种融合关系路径与实体描述信息的知识图谱表示学习方法. 计算机研究与发展. 2022(09): 1966-1979 . 本站查看
8. 夏毅,兰明敬,陈晓慧,罗军勇,周刚,何鹏. 可解释的知识图谱推理方法综述. 网络与信息安全学报. 2022(05): 1-25 . 百度学术
其他类型引用(16)
计量
- 文章访问数: 691
- HTML全文浏览量: 1
- PDF下载量: 272
- 被引次数: 24