###
计算机系统应用英文版:2016,25(12):149-154
本文二维码信息
码上扫一扫!
基于变化数据捕获机制的分布式缓存一致性策略
(1.中国科学院大学, 北京 100049;2.中国科学院软件研究所 软件工程技术研究开发中心, 北京 100190;3.中国电子技术标准化研究院, 北京 100007)
Distributed Cache Coherency Strategy Based on Change Data Capture Mechanism
(1.University of Chinese Academy of Sciences, Beijing 100049, China;2.Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;3.China Electronics Standardization Institute, Beijing 100007, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 2104次   下载 2294
Received:March 21, 2016    Revised:April 08, 2016
中文摘要: 分布式缓存被广泛应用于解决传统关系型数据库的性能瓶颈问题,但是当不能感知分布式缓存的第三方应用直接更新后台数据库时,缓存数据会获得不一致的状态,存在过时缓存问题.本文提出一种基于变化数据捕获机制的分布式缓存一致性策略,集成了基于触发器和基于日志的两种变化数据捕获机制实时捕获后台数据库更新,实现了数据模型自动转换方法和SQL翻译引擎,实时更新缓存,从而保障分布式缓存的一致性.实验模拟TPC-W测试基准中的关键操作,验证了基于日志的变化数据捕获机制相比基于触发器的变化数据捕获机制有更好的数据库性能和缓存一致性效果.
Abstract:Distributed cache is widely used to solve the performance bottleneck problem in traditional relational database,but when third-party applications that are not cache-aware update the back-end database,the distributed cache will end up in an inconsistent state,which has the problem of stale cache data.This paper proposes a distributed cache consistency strategy based on change data capture mechanism.The work integrates trigger-based and log-based change data capture mechanism that can get the real-time data from backend database,and implements data model transformation and SQL translation engine,which can update cache in real-time to guarantee distributed cache coherence.The experiment simulates the key operation in TPC-W benchmark,which verifies that the change data capture based on log has the better database performance and cache consistency effects compared with the change data capture based on trigger.
文章编号:     中图分类号:    文献标志码:
基金项目:
引用文本:
江勇,苗宗利,王伟,段世凯,刘财政,支孟轩.基于变化数据捕获机制的分布式缓存一致性策略.计算机系统应用,2016,25(12):149-154
JIANG Yong,MIAO Zong-Li,WANG Wei,DUAN Shi-Kai,LIU Cai-Zheng,ZHI Meng-Xuan.Distributed Cache Coherency Strategy Based on Change Data Capture Mechanism.COMPUTER SYSTEMS APPLICATIONS,2016,25(12):149-154