基于预申请和功能替代的Sagas模型改进  

Improved model of Sagas based on apply beforehand and functional alternation

在线阅读下载全文

作  者:罗作民[1] 马琦[1] 

机构地区:[1]西安理工大学计算机科学与工程学院,西安710048

出  处:《计算机工程与应用》2011年第19期245-248,共4页Computer Engineering and Applications

基  金:陕西省自然科学基础研究计划(No.SJ08-ZT15);陕西省教育厅科学研究计划(No.09JK638)

摘  要:为了提高事务执行的成功率,降低传统Sagas模型中补偿事务的执行给系统造成的损失,提出了基于预申请和功能替代的Sagas的改进模型PRSagas。该模型对长事务的各子任务执行所需的资源进行预申请,然后分别对每个子任务进行预分析,获取替代集后,分析各替代成功执行的可行性,选择成功率最高的子事务组成最终要执行的子任务流。通过分析和实验,说明了该模型的正确性和有效性。In order to improve the successful rate of transaction executing,and reduce the loss of system caused by executing compensate transaction in the traditional sagas model,this paper presents an improved model of Sagas——PRSagas based on apply beforehand and functional alternation.This model applies recourses beforehand which required by each sub-task of long transaction executing,then pre-analyzes each sub-task respectively and obtains the replacement set.After analyzing the feasibility of executing each substitution,this model selects the most succesful sub-transaction to compose the final execution of sub-task-flow.Through analysis and experiment,it shows the correctness and effectiveness of this model.

关 键 词:Sagas模型 THP技术 功能替代 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象