基于变化数据捕获机制的分布式缓存一致性策略
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:


Distributed Cache Coherency Strategy Based on Change Data Capture Mechanism
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    分布式缓存被广泛应用于解决传统关系型数据库的性能瓶颈问题,但是当不能感知分布式缓存的第三方应用直接更新后台数据库时,缓存数据会获得不一致的状态,存在过时缓存问题.本文提出一种基于变化数据捕获机制的分布式缓存一致性策略,集成了基于触发器和基于日志的两种变化数据捕获机制实时捕获后台数据库更新,实现了数据模型自动转换方法和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

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2016-03-21
  • 最后修改日期:2016-04-08
  • 录用日期:
  • 在线发布日期: 2016-12-14
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号