Can My Microservice Tolerate an Unreliable Database? Resilience Testing with Fault Injection and Visualization
Open Access
- 14 April 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 54-58
Abstract
In microservice applications, ensuring resilience during database or service disruptions constitutes a significant challenge. While several tools address resilience testing for service failures, there is a notable gap in tools specifically designed for resilience testing of database failures. To bridge this gap, we have developed an extension for fault injection in database clients, which we integrated into Filibuster, an existing tool for fault injection in services within microservice applications. Our tool systematically simulates database disruptions, thereby enabling comprehensive testing and evaluation of application resilience. It is versatile, supporting a range of both SQL and NoSQL database systems, such as Redis, Apache Cassandra, CockroachDB, PostgreSQL, and DynamoDB. A defining feature is its integration during the development phase, complemented by an IntelliJ IDE plugin, which offers developers visual feedback on the types, locations, and impacts of injected faults. A video demonstration of the tool's capabilities is accessible at https://youtu.be/bvaUVCy1m1s.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Monolithic vs. Microservice Architecture: A Performance and Scalability EvaluationIEEE Access, 2022
- Service-Level Fault Injection Testing2021
- Data management in microservicesProceedings of the VLDB Endowment, 2021
- On Representing Resilience Requirements of Microservice Architecture SystemsInternational Journal of Software Engineering and Knowledge Engineering, 2021
- Evaluation of Data Storage Patterns in Microservices Archicture2020
- Chaos EngineeringIEEE Software, 2016
- Efficient Testing of Recovery Code Using Fault InjectionACM Transactions on Computer Systems, 2011