Building Distributed Systems for High-Stress Environments using Reversibility and Phase-Awareness
2016 (English)Doctoral thesis, monograph (Other academic)
Large-scale applications for mobile devices and Internet of Things live in stressful real-world environments: they have both continuous faults and bursts of high faults. Typical faults are node crashes, network partitions, and communication delays. In this thesis, we propose a principled approach to build applications that survive in such environments by using the concepts of Reversibility and Phase. A system is Reversible if the set of operations it provides depends on its current stress, and not on the history of the stress. By stress we imply all the potential perturbing effects of the environment on the system, which includes both faults and other nonfunctional properties such as communication delay and bandwidth. Reversibility generalizes standard fault tolerance with nested fault models. When the stress causes the fault rate to go outside one model then it is still inside the scope of the next model. As stress is a global condition that cannot easily be measured by individual nodes, we propose the concept of Phase in order to approximate the set of available operations of the system at each node. Phase is a per-node property, and can be determined with no additional distributed computation. We present two case studies. First, we present a transactional key-value store built on a structured overlay network and we explain how to make it Reversible. Second, we present a distributed collaborative graphic editor built on top of the key-value store, and we explain how to make it Phase-Aware, i.e., it optimizes its behavior according to a real-time observation of phase at each node using a Phase API. This shows the usefulness of Reversibility and Phase-Awareness for building large-scale Internet applications.
Place, publisher, year, edition, pages
Stockholm: KTH Royal Institute of Technology, 2016. , 160 p.
Engineering and Technology
Research subject Information and Communication Technology
IdentifiersURN: urn:nbn:se:kth:diva-192579ISBN: 978-91-7729-112-1OAI: oai:DiVA.org:kth-192579DiVA: diva2:971228
2016-10-11, Sal/Hall B, KTH-ICT, Electrum, Kistagången 16, Kista, 13:00 (English)
Reinefeld, Alexander, Professor
Vlassov, Vladimir, Associate ProfessorVan Roy, Peter, Professor
FunderEU, FP7, Seventh Framework Programme, 609551
QC 201609192016-09-192016-09-152016-09-19Bibliographically approved