Recommended Scenario

Dependency failure

Simulate a failed dependency by dropping all network traffic to the dependency.

Experiment types

Blackhole

Targets

Dependencies

Length

10 minutes

How it works

How this Scenario works

This scenario blocks network traffic to a dependency to test your application's ability to gracefully handle failure.

Use cases

Why run this Scenario?

Modern applications have complex chains of services that they rely on. Each link in this chain is a dependency. This chain is essential to the application's operation, and this Scenario tests what happens when one of the links in the chain breaks by dropping network traffic to it.

  • Verify that your application can gracefully detect and recover from an unavailable dependency.
  • Test whether your platform / networking solution routes network traffic around the unavilable dependency.
  • Catch unexpected errors or crashes caused by missing dependencies.
Result

What to expect when you run it

When the dependency becomes unreachable, your application detects the failure quickly, degrades gracefully instead of erroring or crashing, and returns to normal once traffic to the dependency is restored.

Avoid downtime. Use Gremlin to turn failure into resilience.

Gremlin empowers you to proactively root out failure before it causes downtime. See how you can harness chaos to build resilient systems by requesting a demo of Gremlin.

Product Hero ImageShape