Recommended Scenario

Dependency latency

Simulate unreliable network conditions when communicating with dependencies by adding latency to API calls. Test whether your users are affected when dependency response times degrade.

Experiment types

Latency

Targets

Dependencies

Length

6 minutes

How it works

How this Scenario works

This Scenario adds increasing levels of network latency to the connections between your services and their dependencies, simulating degraded network conditions on the path to external services, APIs, and databases.

Use cases

Why run this Scenario?

  • Validate that your services handle slow dependencies without cascading failures to upstream callers.
  • Test timeout, retry, and circuit breaker configurations for dependency communication.
  • Identify dependencies where latency sensitivity is highest and could cause the most user-facing impact.
  • Verify that dependency monitoring detects increased latency and triggers alerts before users are affected.
Result

What to expect when you run it

When network latency to dependencies increases significantly, our services continue to respond within acceptable bounds and users experience minimal impact.

Keep going

More Scenarios to try

Kubernetes packet loss

Ensure your Kubernetes systems can detect and route around resources that fail health checks. This Scenario gradually increases packet loss to validate liveness/readiness probe and load balancer behavior.

Container packet loss

Ensure your containerized systems can detect and route around resources that fail health checks. This Scenario gradually increases packet loss to validate health check and load balancer behavior.

Windows packet loss

Ensure your Windows systems can detect and route around resources that fail health checks. This Scenario gradually increases packet loss to validate health check and load balancer behavior.

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