首页> 外文会议>Distributed Computing; Lecture Notes in Computer Science; 4167 >A Lazy Snapshot Algorithm with Eager Validation
【24h】

A Lazy Snapshot Algorithm with Eager Validation

机译:具有渴望验证的惰性快照算法

获取原文
获取原文并翻译 | 示例

摘要

Most high-performance software transactional memories (STM) use optimistic invisible reads. Consequently, a transaction might have an inconsistent view of the objects it accesses unless the consistency of the view is validated whenever the view changes. Although all STMs usually detect inconsistencies at commit time, a transaction might never reach this point because an inconsistent view can provoke arbitrary behavior in the application (e.g., enter an infinite loop). In this paper, we formally introduce a lazy snapshot algorithm that verifies at each object access that the view observed by a transaction is consistent. Validating previously accessed objects is not necessary for that, however, it can be used on-demand to prolong the view's validity. We demonstrate both formally and by measurements that the performance of our approach is quite competitive by comparing other STMs with an STM that uses our algorithm.
机译:大多数高性能软件事务存储器(STM)使用乐观的不可见读取。因此,事务可能会对其访问的对象具有不一致的视图,除非每当视图更改时都会验证视图的一致性。尽管所有STM通常都在提交时检测到不一致,但是事务可能永远不会到达这一点,因为不一致的视图可能会引起应用程序中的任意行为(例如,进入无限循环)。在本文中,我们正式引入了一种惰性快照算法,该算法可在每次对象访问时验证事务观察到的视图是否一致。为此,不需要验证先前访问的对象,但是可以按需使用它来延长视图的有效性。通过将其他STM与使用我们算法的STM进行比较,我们从形式上和通过测量证明了我们方法的性能相当有竞争力。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号