Cost-based Data Management in the Cloud (PhD Thesis, finished)

This thesis deals with the challenge of finding the right balance between consis- tency, availability, latency and costs, captured by the CAP/PACELC trade-offs, in the context of distributed data management in the Cloud. At the core of this work, cost and workload-driven data management protocols, called CCQ protocols, are devel- oped. First, this includes the development of C3, which is an adaptive consistency protocol that is able to adjust consistency at runtime by considering consistency and inconsistency costs. Second, the development of Cumulus, an adaptive data partition- ing protocol, that can adapt partitions by considering the application workload so that expensive distributed transactions are minimized or avoided. And third, the develop- ment of QuAD, a quorum-based replication protocol, that constructs the quorums in such a way so that, given a set of constraints, the best possible performance is achieved.

The behavior of each CCQ protocol is steered by a cost model, which aims at re- ducing the costs and overhead for providing the desired data management guarantees. The CCQ protocols are able to continuously assess their behavior, and if necessary to adapt the behavior at runtime based on application workload and the cost model. This property is crucial for applications deployed in the Cloud, as they are characterized by a highly dynamic workload, and high scalability and availability demands.

The dynamic adaptation of the behavior at runtime does not come for free, and may generate considerable overhead that might outweigh the gain of adaptation. The CCQ cost models incorporate a control mechanism, which aims at avoiding expensive and unnecessary adaptations, which do not provide any benefits to applications.

The adaptation is a distributed activity that requires coordination between the sites in a distributed database system. The CCQ protocols implement safe online adaptation approaches, which exploit the properties of 2PC and 2PL to ensure that all sites behave in accordance with the cost model, even in the presence of arbitrary failures. It is crucial to guarantee a globally consistent view of the behavior, as in contrary the effects of the cost models are nullified.

The presented protocols are implemented as part of a prototypical database system. Their modular architecture allows for a seamless extension of the optimization capabil- ities at any level of their implementation.

Finally, the protocols are quantitatively evaluated in a series of experiments executed in a real Cloud environment. The results show their feasibility and ability to reduce application costs, and to dynamically adjust the behavior at runtime without violating their correctness.

Staff

Examiners

Prof. Dr. N. Ritter, Prof. Dr. H. Schuldt

Date of Defense

2016-09-23

Funding Agencies

Swiss National Science Foundation, Projects GriDMan and ClouDMan

Research Topics