计算机应用

• 数据挖掘 • 上一篇    下一篇

基于动态探针的分布式死锁预防策略

李晨 彭敦陆   

  1. 上海理工大学 上海理工大学
  • 收稿日期:2008-07-16 修回日期:2008-09-12 发布日期:2009-01-01 出版日期:2009-01-01
  • 通讯作者: 李晨

Dynamic probe based strategy for deadlock prevention in distributed systems

<a href="http://www.joca.cn/EN/article/advancedSearchResult.do?searchSQL=(((Chen LI[Author]) AND 1[Journal]) AND year[Order])" target="_blank">Chen LI</a>   

  • Received:2008-07-16 Revised:2008-09-12 Online:2009-01-01 Published:2009-01-01
  • Contact: Chen LI

摘要: 数据库系统中事务死锁的检测和预防,对提高系统并发性和整体性能具有重要意义。在研究了现有的分布式数据库系统死锁预防策略的基础上,利用创建动态探针(DP)技术,提出了一种改进的死锁预防策略。该DP方法在创建探针后将其发往可能产生死锁的节点,接收到探针后,根据节点信息与探针所包含信息的比较结果,可以判断是否有死锁发生,从而达到预防死锁的目的。分析表明,该方法提高了死锁预防的有效性和系统资源的利用率。

关键词: 分布式系统, 死锁, 死锁预防, 动态探针

Abstract: Deadlock detection and prevention of transaction are very important to concurrency and integrity in database systems. Based on investigating the existing strategies of deadlock prevention in distributed database systems, an improved strategy of deadlock prevention was proposed, which used the Dynamic Probe (DP) technology. The DP method created the probe and sent it to the nodes where the deadlock may exist. After receiving the probe, the nodes compare their own information to that of the probe's. The comparison results showed whether a deadlock had been generated. By this way, the presented approach can be employed to prevent the deadlocks. Analysis shows that the proposed strategy increases the effectiveness of the deadlock prevention and the utilization of system resources.

Key words: distributed system, deadlock, deadlock prevention, DP