University of Toronto
Detecting Consistency Violations in Distributed Storage Systems
Abstract
dc:description.abstractAs cloud computing becomes increasingly popular, there is a growing need for replicated distributed storage systems. These distributed storage systems provide various consistency models for client applications. Nonetheless, potential software bugs and security attacks can lead to consistency violations, the contravention of the guarantees promised by consistency models. Consistency violations can cause client applications to make incorrect decisions leading to devastating results. Therefore, it is critically important to detect consistency violations. In this dissertation, we show it is possible to significantly improve existing detection measures against consistency violations by making contributions in two areas: 1) detecting consistency violations caused by software bugs in distributed storage systems and 2) detecting consistency violations caused by security attacks against cloud services hosting distributed storage systems. Previous solutions related to finding software bugs in distributed systems use systematic state-space exploration, but the explored state-spaces are too generic to directly find specific types of bugs. Existing solutions relevant to detecting consistency violations caused by security attacks require either direct communication between clients or a highly available client device. However, emerging end-user devices often do not meet these requirements because these devices may be sitting behind a firewall that prevents direct communication or running on batteries. We designed and implemented two novel systems to overcome the limitations of existing solutions: 1) Modulo to detect consistency violations caused by software bugs and 2) Caelus to detect consistency violations caused by security attacks. Modulo takes a targeted approach to state-space exploration. It focuses on exploring various scenarios of diverging replicas to see if replicas successfully converge again regardless of how they have evolved. We found eight bugs, leading to convergence failures, in three well-known open-source distributed storage systems. Caelus detects consistency violations using battery-powered end-user devices that do not have direct communication channels. The proposed solution employs a novel combination of cryptographic, network security and distributed systems techniques to enable near real-time detection on limited end-user devices. Our empirical study demonstrated that it can effectively detect simulated attacks on the Amazon S3 service and significantly reduce battery consumption for end-user devices.
Degree
thesis:*- Department dc:contributor.department
- Computer Science
- Year dc:date.issued
- 2020
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Kim, Beom Heyn
- Advisor dc:contributor.advisor
-
- Lie, David
Subjects
dc:subject × 4Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/100959