Garden of Forking Paths by Alex Petrov
TigerBeetle TigerBeetle
5.8K subscribers
992 views
35

 Published On Premiered Sep 23, 2024

Traditional randomized testing, both in the field of Databases and outside of it, might be a somewhat inefficient way to hunt for bugs. However, in this talk, we’re going to empower you with the knowledge of how to make your tests cover more grounds. By controlling the inputs of random number generation, we can make our software try less of the same thing and instead, explore new, creative ways to misbehave. This approach can substantially enhance your testing efficiency.
In Apache Cassandra, we have a treasure trove of tools that beautifully stack on each other, providing unique ways to emulate real-world cluster behavior in a single JVM. The bottom layer is an in-JVM distributed test framework, with a deterministic simulator driving the system under test and Harry, a generator, and a test oracle with minimal state requirements. We’ll delve into how we've been using this tooling to unearth issues in Apache Cassandra, what we've discovered and learned, and how other database systems can reap the benefits of this knowledge. Get ready to be excited about the possibilities it opens up for your testing.

https://x.com/ifesdjeen

Talk from Systems Distributed '24: https://systemsdistributed.com
Join the chat at https://slack.tigerbeetle.com/invite

show more

Share/Embed