Master's Thesis

Runtime Consistency Adaptation

Vasco António de Aguiar e Morganho — 2021

Key information

Authors:

Vasco António de Aguiar e Morganho (Vasco António de Aguiar e Morganho)

Supervisors:

João Coelho Garcia (João Coelho Garcia)

Published in

December 2, 2021

Abstract

Distributed systems are an essential component of Internet services, as they give us the ability to access data in different machines in different locations. This is possible through replication, but without the implementation of a replication protocol in the underlying system, this replication can be unsound and cause dissimilarity between replicas due to delays in the network and failures. Most systems use one single consistency model to solve these problems, which is embedded in their own implementation. If the consistency model needs to be changed or updated, the system has to be deeply rewritten or replaced by a different one. Variable Consistency Messaging Layer [4] solves this problem by abstracting the implementation of the consistency model into a set of modules. This abstraction eases the switching of replication protocols but the developer still has to restart the system in order to change consistency models. We propose a framework that makes the dynamic change of consistency models possible at runtime according to rules defined by the programmer, through the use of VCML. Our new version of the framework takes metrics like latency, throughput, etc, and computes them in a pre-set of rules given by the developer, in order to dynamically change the models at runtime. Our experiments show that our solution is able to increase the performance of a system by up to 13.6% in a scenario where the state of the system gradually transfers from mostly read state to a write heavy state.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

October 9, 2022

Institution name

Instituto Superior Técnico