Towards a General Database Management System of Conflict-Free Replicated Relations
Permanent lenke
https://hdl.handle.net/10037/22344Dato
2021-05-31Type
Master thesisMastergradsoppgave
Forfatter
Tomter, Iver ToftSammendrag
This project aims to explore creating a relational database of Conflict-Free Replicated Relations (CRR) that is generally applicable for most user applications. We aim to achieve generality by using SQLite because it is a commonly used embedded Database Management System that comes default in all Android or iOS devices. The implementation challenge is making CRR using only SQL.
We propose a two-layer database design using Causal Lenght-set for rows in the relations and Last Write Wins-registers for attributes in the rows. Achieving this means implementing methods to propagate data between layers, storing necessary metadata that automatically upholds CRDT functionality. Merges are performed entirely in SQLite. CL-set functionality decides the state of each row, and LWW-registers determine the values of each attribute. In merges, the SQL script resolves reference integrity constraints.
We base experiments on data and client-centric consistency and availability as latency. The experiments highlight the strong eventual consistency across two merge methods. Full merges are when the entire system merges periodically, which grants the system complete consistency on demand. Partial merges simulate that even though nodes are not always available, the system can uphold a consistency threshold. Availability is a trade-off compared to a local datastore when measured as transaction latency. However, the system's scalability outperforms other fairer comparisons like Paxos and Raft.
Forlag
UiT Norges arktiske universitetUiT The Arctic University of Norway
Metadata
Vis full innførselSamlinger
Copyright 2021 The Author(s)
Følgende lisensfil er knyttet til denne innførselen:
Med mindre det står noe annet, er denne innførselens lisens beskrevet som Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
Relaterte innførsler
Viser innførsler relatert til tittel, forfatter og emneord.
-
Implementing an electronic health record in a Nigerian secondary healthcare facility. Prospects and challenges
Attah, Ambrose Ojadale (Master thesis; Mastergradsoppgave, 2017-11-02)Nigeria is witnessing continuing advocacy and increase in number of individuals yearning for computerization of health information and healthcare processes. However, little is known about the opinions of the diverse healthcare providers who would ensure the successful implementation and meaningful use of health information technology in the country (Adeleke, Erinle et al. 2015). This study explores ... -
Cogset : A High-Performance MapReduce Engine
Viken Valvåg, Steffen (Doctoral thesis; Doktorgradsavhandling, 2012-01-30)MapReduce has become a widely employed programming model for large-scale data-intensive computations. Traditional MapReduce engines employ dynamic routing of data as a core mechanism for fault tolerance and load balancing. An alternative mechanism is static routing, which reduces the need to store temporary copies of intermediate data, but requires a tighter coupling between the components for ... -
Geometric Modeling- and Sensor Technology Applications for Engineering Problems
Pedersen, Aleksander (Doctoral thesis; Doktorgradsavhandling, 2020-10-20)In applications for technical problems, Geometric modeling and sensor technology are key in both scientific and industrial development. Simulations and visualization techniques are the next step after defining geometry models and data types. This thesis attempts to combine different aspects of geometric modeling and sensor technology as well as to facilitate simulation and visualization. It includes ...