ISCAS OpenIR
Compensation by design
Liu, Xi (1); Yang, Shaofa (2); Sanders, J.W. (3); Liu, X.(williamxliu@gmail.com)
2014
SourceFormal Aspects of Computing
ISSN9345043
Volume26Issue:4Pages:623-676
English AbstractThe current dominance of the service-based paradigm reflects the success of specific design and architectural principles embodied in terms like SOA and REST. This paper suggests further principles for the design of services exhibiting long-running transactions (that is, transactions whose characteristic feature is that in the case of failure not all system states can be automatically restored: system compensation is required). The principles are expressed at the level of scope-based compensation and fault handling, and ensure the consistency of data critical to the business logic. They do so by demanding (a) either the commitment of all of the transaction or none of it, and (b) that compensation is assured in case of failure in 'parent' transactions. The notion of scope is captured algebraically (rather than semantically) in order to express design guidelines which ensure that a given transaction satisfies those principles. Transactional processes are constructed by parallel composition of services, and transactions with scopes in a single service are dealt with as a special case. The system semantics is formalised as a transition system (in Z) and the principles are expressed as formulae in linear temporal logic over runs of the transition system. That facilitates the model checking (using SAL) of their bounded versions. Two simple examples are used throughout to illustrate definitions and finally to demonstrate the approach. © 2013 British Computer Society.; The current dominance of the service-based paradigm reflects the success of specific design and architectural principles embodied in terms like SOA and REST. This paper suggests further principles for the design of services exhibiting long-running transactions (that is, transactions whose characteristic feature is that in the case of failure not all system states can be automatically restored: system compensation is required). The principles are expressed at the level of scope-based compensation and fault handling, and ensure the consistency of data critical to the business logic. They do so by demanding (a) either the commitment of all of the transaction or none of it, and (b) that compensation is assured in case of failure in 'parent' transactions. The notion of scope is captured algebraically (rather than semantically) in order to express design guidelines which ensure that a given transaction satisfies those principles. Transactional processes are constructed by parallel composition of services, and transactions with scopes in a single service are dealt with as a special case. The system semantics is formalised as a transition system (in Z) and the principles are expressed as formulae in linear temporal logic over runs of the transition system. That facilitates the model checking (using SAL) of their bounded versions. Two simple examples are used throughout to illustrate definitions and finally to demonstrate the approach. © 2013 British Computer Society.
Indexed TypeSCI ; EI
KeywordService Computing Long-running Transaction Compensation Temporal Logic
Department(1) State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing, China; (2) State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing, China; (3) African Institute for Mathematical Sciences, Muizenberg and Stellenbosch University, Stellenbosch, South Africa
Language英语
WOS IDWOS:000339105100001
Citation statistics
Content Type期刊论文
URIhttp://ir.iscas.ac.cn/handle/311060/16851
Collection中国科学院软件研究所
Corresponding AuthorLiu, X.(williamxliu@gmail.com)
Recommended Citation
GB/T 7714
Liu, Xi ,Yang, Shaofa ,Sanders, J.W. ,et al. Compensation by design[J]. Formal Aspects of Computing,2014,26(4):623-676.
APA Liu, Xi ,Yang, Shaofa ,Sanders, J.W. ,&Liu, X..(2014).Compensation by design.Formal Aspects of Computing,26(4),623-676.
MLA Liu, Xi ,et al."Compensation by design".Formal Aspects of Computing 26.4(2014):623-676.
Files in This Item:
There are no files associated with this item.
Related Services
Recommend this item
Bookmark
Usage statistics
Export to Endnote
Google Scholar
Similar articles in Google Scholar
[Liu, Xi (1)]'s Articles
[Yang, Shaofa (2)]'s Articles
[Sanders, J.W. (3)]'s Articles
Baidu academic
Similar articles in Baidu academic
[Liu, Xi (1)]'s Articles
[Yang, Shaofa (2)]'s Articles
[Sanders, J.W. (3)]'s Articles
Bing Scholar
Similar articles in Bing Scholar
[Liu, Xi (1)]'s Articles
[Yang, Shaofa (2)]'s Articles
[Sanders, J.W. (3)]'s Articles
Terms of Use
No data!
Social Bookmark/Share
All comments (0)
No comment.
 

Items in the repository are protected by copyright, with all rights reserved, unless otherwise indicated.