Thesis icon

Thesis

Theories and programming systems for weakly consistent distributed systems

Abstract:

Weakly consistent distributed systems are systems that provide a weak form of guarantee about the sameness of the replicated data. They allow using the replicated data from any replicas without the coordination between them and can thus enhance the performance and availability of the system. However, due to the lack of coordination, programs developed on weakly consistent distributed systems might generate counter-intuitive results.

The aim of this research is to i) address those glitches in developing programs on weakly consistent distributed systems and ii) provide formal guarantee on the executions of programs run on such systems.

In order to overcome the counter-intuitive nature of the results generated by weakly consistent distributed systems, this thesis proposes a new programming language Lasp_PC, a variant of Lasp that uses provenance and cover, and its runtime system. Optimisation techniques are also introduced for the effective execution of the programs for the language and its runtime system.

This thesis provides formal guarantee for the programs run on weakly consistent distributed systems by defining key principles for the new language and presenting proofs for the theoretical properties of the language.

The new language introduced in the thesis uses a variant of OR sets that incorporates provenance and cover, OR_PC sets. The use of provenance and cover enables the language to offer the guarantee of a new property, strong consistency in weakly consistent distributed systems. The new property ensures the exclusion of the counter-intuitive results by enabling the retrieval of computational results from the systems. There is no provision of comparable guarantees in the existing research studies on Lasp. The OR_PC sets are used to define client-level data types, which retain the guarantee of the new property. The new property is also used to extend the new language to support aggregation operations that are considered particularly difficult to be supported in weakly consistent distributed systems.

The approach taken in this research to remedy the glitches and provide the formal guarantee has been implemented, optimised and evaluated in three substantial example programs, namely, the replicated leader board, the MapReduce program and the BigBench queries.

This thesis also identifies a case study of one of the extensively-used blockchain consensus protocols, the Stellar Consensus Protocol (SCP). It is currently difficult to be adopted for the newly developed language and its runtime system but the protocol has been rigorously studied using the formal modelling and verification techniques.

Actions

Access Document

Files:

Authors

More by this author
Institution:
University of Oxford
Division:
MPLS
Department:
Computer Science
Role:
Author

Contributors

Role:
Supervisor
Institution:
University of Oxford
Role:
Supervisor


DOI:
Type of award:
DPhil
Level of award:
Doctoral
Awarding institution:
University of Oxford

Terms of use


Views and Downloads

Views and downloads will return soon






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP