skip to main content
10.1145/2567948.2579221acmotherconferencesArticle/Chapter ViewAbstractPublication PageswwwConference Proceedingsconference-collections
research-article

Atomic distributed transactions: a RESTful design

Published:07 April 2014Publication History

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 responsibility of achieving the atomicity of the transaction to a coordinator which exposes a RESTful API.

References

  1. R. Fielding. Architectural Styles and The Design of Network-based Software Architectures. PhD thesis, University of California, Irvine, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. M. Fowler. Patterns of Enterprise Application Architecture. Addison-Wesley, November 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Y. Y. Goland, E. J. Whitehead, A. Faizi, S. Carter, and D. Jensen. HTTP extensions for distributed authoring -- WebDAV. Internet RFC 2518, Feb. 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. J. Gray. The transaction concept: Virtues and limitations (invited paper). In Proc.of the Seventh International Conference on Very Large Data Bases, VLDB '81, pages 144--154. VLDB Endowment, 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. Little. REST and transactions?, 2009. http://www.infoq.com/news/2009/06/rest-ts.Google ScholarGoogle Scholar
  6. T. Margaria and M. Hinchey. Simplicity in IT: The power of less. Computer, 46(11):23--25, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. N. Mihindukulasooriya, M. E. Gutiérrez, and R. G. Castro. Seven challenges for RESTful transaction models. In Proc. of Fifth International Workshop on RESTful Design (WS-REST 2014), 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. G. Pardon. Try-Cancel/Confirm: Transactions for (Web) Services, 2009. http://www.atomikos.com/Publications/TryCancelConfirm.Google ScholarGoogle Scholar
  9. G. Pardon and C. Pautasso. Towards distributed atomic transactions over RESTful services. In REST: From Research to Practice, pages 507--524. Springer, 2011.Google ScholarGoogle ScholarCross RefCross Ref
  10. C. Pautasso and M. Babazadeh. The atomic web browser. Poster at the 22nd International World Wide Web Conference (WWW 2013), pages 217--218, May 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. L. Richardson and S. Ruby. RESTful Web Services. O'Reilly, May 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Atomic distributed transactions: a RESTful design

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Other conferences
        WWW '14 Companion: Proceedings of the 23rd International Conference on World Wide Web
        April 2014
        1396 pages
        ISBN:9781450327459
        DOI:10.1145/2567948

        Copyright © 2014 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 7 April 2014

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate1,899of8,196submissions,23%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader