Master's Thesis
Reproducible fault-injection on distributed systems
— 2021
Key information
Authors:
Supervisors:
Published in
November 19, 2021
Abstract
Distributed systems are at the core of modern applications that are used daily by millions of users. Although these systems are designed and built on top of fault-tolerant techniques to avoid failures, most often than we think, these applications still fail due to unexpected and unpredictable faults in the system. These failures cause severe harm to both the user and the company that provides the service. Therefore, it is fundamental to have a systematic and reproducible way to evaluate these distributed systems' resilience and robustness. This assessment method is challenging and difficult because of the high complexity and non-deterministic nature of distributed systems. Fault injection approaches, such as Chaos Engineering, are used by major IT companies to evaluate their system's behavior after randomly injecting faults. However, the same fault can cause different system behaviors due to faults not being based on the system state. Engineers should be able to reproduce faults with ease to better understand the problem and correct it. In this dissertation, we propose ReFI, a Reproducible Fault Injection tool that traces the distributed system state efficiently, in a black-box manner, and injects faults based on the state to reproduce these faults across different executions. ReFI utilizes eBPF technology that enables the insertion of dynamic code in the Linux kernel. ReFI reproduced three critical bugs in two distinguished distributed systems, MongoDB and Redis, using a configuration file to specify the systems and the faults.
Publication details
Authors in the community:
Daniel David Marques de Castro
ist187644
Supervisors of this institution:
Miguel Ângelo Marques de Matos
ist427850
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:
September 12, 2022
Institution name
Instituto Superior Técnico