【24h】

A Simple ion for Complex Concurrent Indexes

机译:复数并行索引的简单离子

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

摘要

Indexes are ubiquitous. Examples include associative arrays, dictionaries, maps and hashes used in applications such as databases, file systems and dynamic languages. Abstractly, a sequential index can be viewed as a partial function from keys to values. Values can be queried by their keys, and the index can be mutated by adding or removing mappings. Whilst appealingly simple, this abstract specification is insufficient for reasoning about indexes accessed concurrently. We present an abstract specification for concurrent indexes. We verify several representative concurrent client applications using our specification, demonstrating that clients can reason abstractly without having to consider specific underlying implementations. Our specification would, however, mean nothing if it were not satisfied by standard implementations of concurrent indexes. We verify that our specification is satisfied by algorithms based on linked lists, hash tables and B~(Link) trees. The complexity of these algorithms, in particular the B~(Link) tree algorithm, can be completabely hidden from the client's view by our abstract specification.
机译:索引无处不在。示例包括在数据库,文件系统和动态语言等应用程序中使用的关联数组,字典,映射和哈希。抽象地,顺序索引可以看作是从键到值的部分函数。可以通过键查询值,也可以通过添加或删除映射来对索引进行突变。尽管非常简单,但是该抽象规范不足以推理出并发访问的索引。我们提出了并发索引的抽象规范。我们使用我们的规范来验证几个代表性的并发客户端应用程序,这表明客户端可以抽象地推理而不必考虑特定的基础实现。但是,如果并发索引的标准实现不满足我们的规范,它将毫无意义。我们验证了基于链表,哈希表和B〜(Link)树的算法是否满足我们的规范。这些算法的复杂性,尤其是B〜(Link)树算法,可以通过我们的抽象规范完全隐藏在客户的视线之外。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号