计算机应用 ›› 2012, Vol. 32 ›› Issue (10): 2736-2741.DOI: 10.3724/SP.J.1087.2012.02736

• 先进计算 • 上一篇    下一篇

无锁并发二叉搜索树的实现

刘少东,邢永康,刘恒   

  1. 重庆大学 计算机学院, 重庆 400044
  • 收稿日期:2012-03-21 修回日期:2012-05-14 发布日期:2012-10-23 出版日期:2012-10-01
  • 通讯作者: 刘少东
  • 作者简介:刘少东(1989-),男,安徽池州人,硕士研究生,主要研究方向:并发数据结构;邢永康(1964-),男,重庆人,副教授,博士,主要研究方向:分布式系统、数据挖掘;刘恒(1988-),男,江苏宿迁人,硕士研究生,主要研究方向:并发数据结构。

Lock-free implementation of concurrent binary search tree

LIU Shao-dong,XING Yong-kang,LIU Heng   

  1. College of Computer Science, Chongqing University, Chongqing 400044, China
  • Received:2012-03-21 Revised:2012-05-14 Online:2012-10-23 Published:2012-10-01
  • Contact: LIU Shao-dong

摘要: 针对异步共享内存模型下的并发搜索二叉树(BST)数据结构,提出了一种新的无锁实现方法。通过一种有效的节点重用策略,使得删除操作是无等待的,插入操作是无锁的。实验数据表明,该数据结构是高度可扩展的而且在高负载下能提供很高的吞吐量。

关键词: 无锁搜索二叉树, 无锁, 无等待, 可扩展, 高吞吐量

Abstract: A new scheme for unlocking implementation of concurrent Binary Search Tree (BST) based on asynchronous shared memory systems was provided in this paper. This scheme possessed two outstanding advantages: The deletion is wait-free, and the insertion is lock-free. The experimental results show that this scheme is highly scalable and can produce high throughputs under heavy load.

Key words: unlocking binary search tree, lock-free, wait-free, scalable, high parallel

中图分类号: