MonkeyDB: Effectively Testing Correctness against Weak Isolation Levels
Ranadeep Biswas, Diptanshu Kakwani, Jyothi Vedurada, Constantin Enea,, Akash Lal

TL;DR
MonkeyDB is a mock storage system designed to test application correctness under weak isolation levels by simulating all possible behaviors and revealing potential bugs that are hard to detect in real systems.
Contribution
It introduces MonkeyDB, a novel testing tool that models weak isolation behaviors to help developers identify concurrency issues in storage-backed applications.
Findings
MonkeyDB achieves comprehensive coverage of weak behaviors.
It successfully detects assertion failures in real applications.
The approach is efficient in revealing concurrency bugs.
Abstract
Modern applications, such as social networking systems and e-commerce platforms are centered around using large-scale storage systems for storing and retrieving data. In the presence of concurrent accesses, these storage systems trade off isolation for performance. The weaker the isolation level, the more behaviors a storage system is allowed to exhibit and it is up to the developer to ensure that their application can tolerate those behaviors. However, these weak behaviors only occur rarely in practice, that too outside the control of the application, making it difficult for developers to test the robustness of their code against weak isolation levels. This paper presents MonkeyDB, a mock storage system for testing storage-backed applications. MonkeyDB supports a Key-Value interface as well as SQL queries under multiple isolation levels. It uses a logical specification of the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Advanced Data Storage Technologies · Data Quality and Management
