skip to main content
10.1145/2557977.2557981acmconferencesArticle/Chapter ViewAbstractPublication PagesicuimcConference Proceedingsconference-collections
research-article

The CAP theorem versus databases with relaxed ACID properties

Published:09 January 2014Publication History

ABSTRACT

The CAP theorem combines the three desirable properties C (data consistency), A (data availability), and P (partition-tolerance: tolerance of inconsistencies between data stored in a distributed database where partitions are allowed). The CAP theorem asserts that any distributed system that uses data from different locations can have at most two of the three desirable CAP properties [5]. The NoSQL movement has applied the CAP theorem as an argument against traditional ACID (atomicity, consistency, isolation, and durability) databases, which prioritize consistency and partition-tolerance at the cost of a potentially low availability. Recently, Brewer [4] has modified the CAP theorem, pointing out that all the CAP properties are more or less continuous, and possible to optimize, weighing them against each other., in practice it is possible for an application area to have both relative high availability and sufficient data consistency, despite the presence of network partitions.

The overall objective of this paper is to improve the CAP optimization methods by using optimization techniques outside of those preferred in CAP optimization literature. The main contribution is to use relaxed ACID properties in the CAP optimization process. This may be viewed as a bridge between the CAP theorem and the traditional ACID theory. Traditional ACID properties are weakened, but not completely dropped, in order to optimize CAP properties. From a user point of view, systems should thus function as if both the traditional ACID properties and all the CAP properties were implemented.

This optimizing is especially important in mobile integrated databases, where disconnections are normal and frequent. It is also important in distributed databases like EHR (electronic Health Records) where many different hospital locations are involved, since the risk for disconnections increases with the number of participating locations. We use distributed integrated EHR databases as an example where our optimizing method may contribute.

References

  1. P. Bailis and A. Ghodsi. Eventual consistency today: limitations, extensions, and beyond. Communications of the ACM, 56(5):55--63, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. H. Berenson, P. Bernstein, J. Gray, J. Melton, E. O'Neil, and P. O'Neil. A critique of ANSI SQL isolation levels. In Proceedings of the 1995 ACM SIGMOD international conference on Management of data, pages 1--10, New York, NY, USA, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Y. Breitbart, H. Garcia-Molina, and A. Silberschatz. Overview of multidatabase transaction management. The VLDB Journal, 1(2):181--239, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. E. Brewer. CAP twelve years later: How the "rules" have changed. Computer, 45(2):23--29, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. A. Fox and E. Brewer. Harvest, yield, and scalable tolerant systems. In Proceedings of the 7th Workshop on Hot Topics in Operating Systems, pages 174--178, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. L. Frank. Databases and applications with relaxed ACID properties. Doctoral dissertation, Copenhagen Business School, 2008. Samfundslitteratur.Google ScholarGoogle Scholar
  7. L. Frank. Design of Distributed Integrated Heterogeneous or Mobile Databases: System Integration by using relaxed ACID properties. Lambert Academic Publishing, Germany, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. L. Frank. Countermeasures against consistency anomalies in distributed integrated databases with relaxed ACID properties. In International Conference on Innovations in Information Technology, pages 266--270, 2011.Google ScholarGoogle ScholarCross RefCross Ref
  9. L. Frank. Architecture for integrated mobile calendar systems. In A. S. Kumar and H. Rahman, editors, Emerging Markets: Systems, Applications and Services, pages 23--46. IGI Global, 2012.Google ScholarGoogle Scholar
  10. L. Frank and S. Munck. An overview of architectures for integrating distributed electronic health records. In Proceeding of the 7th International Conference on Applications and Principles of Information Science, pages 297--300, 2008.Google ScholarGoogle Scholar
  11. L. Frank and R. U. Pedersen. Architecture for integration and migration of information systems by using SOA services across heterogeneous system boundaries. In C.-P. Rückemann, editor, Integrated Information and Computing System for Natural, Spatial, and Social Sciences, Information Science Reference, pages 177--191. IGI global, 2012.Google ScholarGoogle Scholar
  12. L. Frank and R. U. Pedersen. Implementation of relaxed ACID properties for distributed load management in the electrical power industry. In Proceedings of the 7th International Conference on Ubiquitous Information Management and Communication. ACM, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. L. Frank and T. U. Zahle. Semantic ACID properties in multidatabases using remote procedure calls and update propagations. Software -- Practice and Experience, 28(1):77--98, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. H. Garcia-Molina and K. Salem. Sagas. In Proceedings of the 1987 ACM SIGMOD international conference on Management of data, pages 249--259, 1987. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. J. Gray and A. Reuter. Transaction Processing: Concepts and Techniques. Morgan Kaufmann, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. S. Mehrotra, R. Rastogi, A. Silberschatz, and H. Korth. A transaction model for multidatabase systems. In Proceedings of the 12th International Conference on Distributed Computing Systems, pages 56--63, 1992.Google ScholarGoogle ScholarCross RefCross Ref
  17. W. Vogels. Eventually consistent. Communications of the ACM, 52(1):40--44, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. G. Weikum and H.-J. Schek. Concepts and applications of multilevel transactions and open nested transactions. In A. K. Elmagarmid, editor, Database transaction models for advanced applications, pages 515--553. Morgan Kaufmann, 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. G. Weikum and G. Vossen. Transactional Information Systems. Morgan Kaufmann, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. A. Zhang, M. Nodine, B. Bhargava, and O. Bukhres. Ensuring relaxed atomicity for flexible transactions in multidatabase systems. In Proceedings of the 1994 ACM SIGMOD international conference on Management of data, pages 67--78, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. The CAP theorem versus databases with relaxed ACID properties

          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
            ICUIMC '14: Proceedings of the 8th International Conference on Ubiquitous Information Management and Communication
            January 2014
            757 pages
            ISBN:9781450326445
            DOI:10.1145/2557977

            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 the author(s) 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: 9 January 2014

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Acceptance Rates

            ICUIMC '14 Paper Acceptance Rate116of407submissions,29%Overall Acceptance Rate251of941submissions,27%

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader