DocumentCode
187025
Title
pH1: A Transactional Middleware for NoSQL
Author
Castanheira Luis Coelho, Fabio Andre ; Barros da Cruz, Francisco Miguel ; Pereira Vilaca, Ricardo Manuel ; Pereira, Jose Orlando ; Mendes de Oliveira, Rui Carlos
Author_Institution
High-Assurance Software Lab., Univ. do Minho Braga, Braga, Portugal
fYear
2014
fDate
6-9 Oct. 2014
Firstpage
115
Lastpage
124
Abstract
NoSQL databases opt not to offer important abstractions traditionally found in relational databases in order to achieve high levels of scalability and availability: transactional guarantees and strong data consistency. In this work we propose pH1, a generic middleware layer over NoSQL databases that offers transactional guarantees with Snapshot Isolation. This is achieved in a non-intrusive manner, requiring no modifications to servers and no native support for multiple versions. Instead, the transactional context is achieved by means of a multiversion distributed cache and an external transaction certifier, exposed by extending the client´s interface with transaction bracketing primitives. We validate and evaluate pH1 with Apache Cassandra and Hyperdex. First, using the YCSB benchmark, we show that the cost of providing ACID guarantees to these NoSQL databases amounts to 11% decrease in throughput. Moreover, using the transaction intensive TPC-C workload, pH1 presented an impact of 22% decrease in throughput. This contrasts with OMID, a previous proposal that takes advantage of HBase´s support for multiple versions, with a throughput penalty of 76% in the same conditions.
Keywords
SQL; data integrity; middleware; relational databases; Apache Cassandra; HBase; Hyperdex; NoSQL databases; TPC-C workload; data consistency; nonintrusive manner; pH1; relational databases; snapshot isolation; transaction bracketing primitives; transactional guarantees; transactional middleware; Availability; Context; Data models; Databases; Maintenance engineering; Middleware; Servers; NoSQL; Snapshot Isolation; Transactions;
fLanguage
English
Publisher
ieee
Conference_Titel
Reliable Distributed Systems (SRDS), 2014 IEEE 33rd International Symposium on
Conference_Location
Nara
Type
conf
DOI
10.1109/SRDS.2014.23
Filename
6983386
Link To Document