Back to search

McGill University

Adapting distributed key-value datastores for online transaction processing

Abstract

dc:description.abstract

Despite multiple potential benefits, many businesses still hesitate to deploy their applicationsin the cloud, mainly for two reasons. Firstly, traditional OLTP applications demandfull transactional support with standard ACID properties. Secondly, traditional OLTP applicationsthat adopt the relational data model rely on standard features such as SQL, secondaryindexes, and complex joins. While several cloud platforms offering full transactionalsupport have appeared recently, only a select few offer full support for these standardfeatures. CumuloNimbo is one such platform that achieves highly scalable transaction processingwith full relational support, without compromising on the ACID properties of distributedtransactions or their responsiveness. This is achieved through distributed snapshotisolation, which exploits the multi-version data model of HBase, a well-known open-sourcedistributed key-value datastore that provides a scalable and fault-tolerant data storage backendfor CumuloNimbo. This thesis makes three important contributions towards enablingresponsive ACID transactions on HBase in the context of CumuloNimbo.Our first contribution is SHBase, a lightweight client-side transactional interface forHBase that we integrate with the CumuloNimbo transaction manager. SHBase allows transactional operations on HBase by exploiting its built-in multi-versioning to implement snapshotreads, while the CumuloNimbo transaction manager enforces snapshot writes. Bothproperties are crucial for the correctness of CumuloNimbo’s distributed snapshot isolation.On a successful commit, SHBase propagates the transaction writeset to HBase, whichpersists it to HDFS, the open-source distributed filesystem underneath HBase. Since thesesteps are expensive, we perform them asynchronously, resulting in shorter response times.However, the failure of an SHBase client or HBase server can result in writesets that couldnot be fully propagated/persisted. Therefore, our second contribution is an efficient methodfor ensuring the durability of transaction writesets in HBase. We propose a lightweightalgorithm for tracking writeset progress across SHBase clients and HBase servers. We introducea recovery manager that, upon a client/server failure, determines which writesetscould not be fully propagated/persisted, fetches them from CumuloNimbo’s durable commitlog, and replays them to HBase.We show that asynchronous persistence enables our platform to support higher updatethroughputs. HBase, due to its multi-version approach, is able to cope well with high updatethroughputs – new data versions are efficiently batched, sorted, and appended to files that,upon reaching a certain size, are closed and become read-only. However, in order to reducethe number of files accessed per read, HBase must run periodic compactions, which mergedata from several existing files into a single sorted file, consolidating records together andremoving outdated versions in the process. Consequently, however, the existing data becomesobsolete and gets abruptly evicted from the HBase server’s cache, and the resultingcache misses cause read response times to spike. Therefore, as our third main contribution,we conduct an in-depth experimental analysis of this behavior and propose techniques forits mitigation. We present a novel solution that offloads compactions to a dedicated server,using it as a remote cache to reduce the cost of cache misses. Finally, we present a smartalgorithm for gradually replacing the currently cached data with the newly compacted datasuch that cache misses are virtually eliminated.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Grantor dc:publisher
McGill University
Year dc:date.issued
2018

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ahmad, Muhammad
Advisor dc:contributor.advisor
  • Kemme, Bettina (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
1030147540
Dc Identifier Other
hyrax:9593tx584

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Ahmad, Muhammad. Adapting distributed key-value datastores for online transaction processing. McGill University, 2018. https://doi.org/10.82308/8870