JUCS - Journal of Universal Computer Science 20(14): 1876-1902, doi: 10.3217/jucs-020-14-1876
Epidemia: Variable Consistency for Transactional Cloud Databases
expand article infoItziar Arrieta-Salinas, José Enrrique Armendáriz-Iñigo, Joan Navarro§
‡ Universidad Pública de Navarra, Pamplona, Spain§ La Salle - Ramon Llull University, Barcelono, Spain
Open Access
Abstract
Classic replication protocols running on traditional cluster-based databases are currently unable to meet the ever-growing scalability demands of many modern software applications. Recent cloud-based storage repositories overcome such limitations by fostering availability and scalability over data consistency and transactional support. However, many applications that cannot resign from their transactional nature are unable to benefit from the cloud paradigm. This paper presents Epidemia, a distributed storage architecture featuring a hybrid approach that combines classic database replication with a cloud-inspired infrastructure to provide transactional support and high availability. This architecture is able to offer different consistency levels according to the client demands, thanks to a replication strategy based on epidemic updates in which the replicas of each data partition are organized hierarchically. Additionally, the behavior of a prototype implementation under different workload scenarios is evaluated. Conducted experiments verify that (1) configuration parameters such as the partitioning scheme or the replication protocol play a crucial role on system's throughput, and (2) the existence of replica hierarchies that are asynchronously updated is able to alleviate the scalability limitations of traditional replicated databases by directing transactions that tolerate a certain staleness in the versions of retrieved data items to these replicas.
Keywords
distributed databases, transaction processing, cloud computing, elasticity, data consistency, transactions