Can My Microservice Tolerate an Unreliable Database? Resilience Testing with Fault Injection and Visualization
<|reference_start|>Can My Microservice Tolerate an Unreliable Database? Resilience Testing with Fault Injection and Visualization: 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.<|reference_end|>
@article{assad2024can,
    title={Can My Microservice Tolerate an Unreliable Database? Resilience Testing
  with Fault Injection and Visualization},
    author={Michael Assad, Christopher Meiklejohn, Heather Miller, Stephan Krusche},
    journal={arXiv preprint arXiv:2404.01886},
    year={2024},
    doi={10.1145/3639478.3640021},
    archivePrefix={arXiv},
    eprint={2404.01886},
    primaryClass={cs.SE}
}