skip to main content
10.1145/2535838.2535877acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
research-article

Verifying eventual consistency of optimistic replication systems

Authors Info & Claims
Published:08 January 2014Publication History

ABSTRACT

We address the verification problem of eventual consistency of optimistic replication systems. Such systems are typically used to implement distributed data structures over large scale networks. We introduce a formal definition of eventual consistency that applies to a wide class of existing implementations, including the ones using speculative executions. Then, we reduce the problem of checking eventual consistency to reachability and model checking problems. This reduction enables the use of existing verification tools for message-passing programs in the context of verifying optimistic replication systems. Furthermore, we derive from these reductions decision procedures for checking eventual consistency of systems implemented as finite-state programs communicating through unbounded unordered channels.

Skip Supplemental Material Section

Supplemental Material

d2_right_t3.mp4

mp4

375.7 MB

References

  1. R. Alur, K. L. McMillan, and D. Peled. Model-checking of correctness conditions for concurrent objects. Inf. Comput., 160(1-2):167--188, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. L. Benmouffok, J.-M. Busca, J. M. Marquès, M. Shapiro, P. Sutra, and G. Tsoukalas. Telex: A semantic platform for cooperative application development. In CFSE, Toulouse, France, 2009.Google ScholarGoogle Scholar
  3. A.-M. Bosneag and M. Brockmeyer. A formal model for eventual consistency semantics. In IASTED PDCS, pages 204--209, 2002.Google ScholarGoogle Scholar
  4. A. Bouajjani and P. Habermehl. Constrained properties, semilinear systems, and petri nets. In CONCUR, pages 481--497, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Bouajjani, M. Emmi, C. Enea, and J. Hamza. Verifying concurrent programs against sequential specifications. In ESOP, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Burckhardt, A. Gotsman, and H. Yang. Understanding eventual consistency. Technical Report MSR-TR-2013-39, Microsoft Research.Google ScholarGoogle Scholar
  7. G. DeCandia, D. Hastorun, M. Jampani, G. Kakulapati, A. Lakshman, A. Pilchin, S. Sivasubramanian, P. Vosshall, and W. Vogels. Dynamo: amazon's highly available key-value store. In SOSP, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. A. Farzan and P. Madhusudan. Monitoring atomicity in concurrent programs. In CAV 2008, pages 52--65. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. A. Fekete, D. Gupta, V. Luchangco, N. A. Lynch, and A. A. Shvartsman. Eventually-serializable data services. In PODC, pages 300--309, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. Gilbert and N. A. Lynch. Brewer's conjecture and the feasibility of consistent, available, partition-tolerant web services. SIGACT News, 33(2):51--59, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. T. A. Henzinger, S. Qadeer, and S. K. Rajamani. Verifying sequential consistency on shared-memory multiprocessor systems. In CAV, volume 1633 of LNCS, pages 301--315, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. M. Herlihy and N. Shavit. The art of multiprocessor programming.Google ScholarGoogle Scholar
  13. M. Herlihy and J. M.Wing. Linearizability: A correctness condition for concurrent objects. ACM Trans. Program. Lang. Syst., 12(3):463--492, 1990. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. J. H. Howard, M. L. Kazar, S. G. Menees, D. A. Nichols, M. Satyanarayanan, R. N. Sidebotham, and M. J. West. Scale and performance in a distributed file system. ACM Trans. Comput. Syst., 6(1):51--81, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. P. R. Johnson and R. H. Thomas. The maintenance of duplicate databases. Technical Report Internet Request for Comments RFC 677, Information Sciences Institute, January 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A.-M. Kermarrec, A. I. T. Rowstron, M. Shapiro, and P. Druschel. The icecube approach to the reconciliation of divergent replicas. In PODC, pages 210--218, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. W. Lloyd, M. J. Freedman, M. Kaminsky, and D. G. Andersen. Don't settle for eventual: scalable causal consistency for wide-area storage with COPS. In SOSP, pages 401--416, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. J. Michaux, X. Blanc, M. Shapiro, and P. Sutra. A semantically rich approach for collaborative model edition. In SAC, pages 1470--1475, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Y. Saito and M. Shapiro. Optimistic replication. ACM Comput. Surv., 37(1):42--81, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. M. Shapiro, N. Preguiça, C. Baquero, and M. Zawirski. A comprehensive study of Convergent and Commutative Replicated Data Types. Rapport de recherche RR-7506, INRIA, Jan. 2011.Google ScholarGoogle Scholar
  21. M. Shapiro, N. M. Preguiça, C. Baquero, and M. Zawirski. Conflict-free replicated data types. In SSS, pages 386--400, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. O. Sinnen. Task Scheduling for Parallel Systems. 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. D. B. Terry, M. M. Theimer, K. Petersen, A. J. Demers, M. J. Spreitzer, and C. H. Hauser. Managing update conflicts in bayou, a weakly connected replicated storage system. SIGOPS Oper. Syst. Rev., 29(5): 172--182, Dec. 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. R. Valk and M. Jantzen. The residue of vector sets with applications to decidability problems in petri nets. Acta Inf., 21:643--674, 1985.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Verifying eventual consistency of optimistic replication systems

      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 Conferences
        POPL '14: Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages
        January 2014
        702 pages
        ISBN:9781450325448
        DOI:10.1145/2535838

        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: 8 January 2014

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        POPL '14 Paper Acceptance Rate51of220submissions,23%Overall Acceptance Rate824of4,130submissions,20%

        Upcoming Conference

        POPL '25

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader