Atomic Distributed Transactions: a RESTful Design

TitleAtomic Distributed Transactions: a RESTful Design
Publication TypeWorkshop Paper
Year of Publication2014
AuthorsGuy Pardon, and Cesare Pautasso
Workshop5th International Workshop on Web APIs and RESTful Design
MonthApril
PublisherACM
Place PublishedSeoul, Korea
Keywordsatomic transactions, REST, TCC
Abstract

The REST architectural style supports the reliable interaction of clients with a single server. However, no guarantees can be made for more complex interactions which require to atomically transfer state among resources distributed across multiple servers. In this paper we describe a lightweight design for transactional composition of RESTful services. The approach -- based on the Try-Cancel/Confirm (TCC) pattern -- does not require any extension to the HTTP protocol. The design assumes that resources are designed to comply with the TCC pattern and ensures that the resources involved in the transaction are not aware of it. It delegates the responsability of achieving the atomicity of the transaction to a coordinator which exposes a RESTful API.

Citation Keytcc:2014:wsrest