The CAP theorem versus databases with relaxed ACID properties

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.

[1]  Lars Frank,et al.  Implementation of relaxed ACID properties for distributed load management in the electrical power industry , 2013, ICUIMC '13.

[2]  Lars Frank,et al.  Semantic ACID Properties in Multidatabases Using Remote Procedure Calls and Update Propagations , 1998, Softw. Pract. Exp..

[3]  Rajeev Rastogi,et al.  A transaction model for multidatabase systems , 1992, [1992] Proceedings of the 12th International Conference on Distributed Computing Systems.

[4]  Hans-Jörg Schek,et al.  Concepts and Applications of Multilevel Transactions and Open Nested Transactions , 1992, Database Transaction Models for Advanced Applications.

[5]  Werner Vogels,et al.  Eventually consistent , 2008, CACM.

[6]  Bharat K. Bhargava,et al.  Ensuring relaxed atomicity for flexible transactions in multidatabase systems , 1994, SIGMOD '94.

[7]  Eric A. Brewer,et al.  Pushing the CAP: Strategies for Consistency and Availability , 2012, Computer.

[8]  Jim Gray,et al.  A critique of ANSI SQL isolation levels , 1995, SIGMOD '95.

[9]  Lars Frank,et al.  Architecture for Integration and Migration of Information Systems by Using SOA Services across Heterogeneous System Boundaries , 2013 .

[10]  Ali Ghodsi,et al.  Eventual consistency today: limitations, extensions, and beyond , 2013, CACM.

[11]  Eric A. Brewer,et al.  Harvest, yield, and scalable tolerant systems , 1999, Proceedings of the Seventh Workshop on Hot Topics in Operating Systems.

[12]  Umeshwar Dayal,et al.  Proceedings of the 1987 ACM SIGMOD international conference on Management of data , 1987 .

[13]  Miloš Djurdjević Harvest , 2013 .

[14]  Lars Frank Architecture for Integrated Mobile Calendar Systemsi , 2012 .

[15]  Ali Ghodsi,et al.  Eventual Consistency Today: Limitations, Extensions, and Beyond , 2013 .

[16]  Lars Frank Countermeasures against consistency anomalies in distributed integrated databases with relaxed ACID properties , 2011, 2011 International Conference on Innovations in Information Technology.

[17]  Andreas Reuter,et al.  Transaction Processing: Concepts and Techniques , 1992 .

[18]  H SchollMarc,et al.  Transactional information systems , 2001 .

[19]  Marc H. Scholl,et al.  Transactional information systems: theory, algorithms, and the practice of concurrency control and recovery , 2001, SGMD.

[20]  E. Brewer,et al.  CAP twelve years later: How the "rules" have changed , 2012, Computer.

[21]  Lars Frank Design of Distributed Integrated Heterogeneous or Mobile Databases: System Integration by using relaxed ACID properties , 2010 .

[22]  Hector Garcia-Molina,et al.  Overview of multidatabase transaction management , 1992, The VLDB Journal.