Gremlin and AWS API Gateway

Test how your application handles an API Gateway outage. Run Gremlin network experiments and reliability tests to validate client-side retries.

Why API Gateway reliability is important

Amazon API Gateway sits between your customers and everything you've built, which makes it the one dependency where degradation is visible to everyone at once. There's no partial audience for a gateway problem.

What complicates it is that the gateway gets blamed for failures originating elsewhere. A slow Lambda or a struggling backend surfaces as gateway latency, your clients respond by retrying, and those retries add load to a system already under strain. Mobile clients are especially prone to this, since their retry logic was written once and rarely revisited.

The useful answers live on the client side, and Gremlin lets you test from there. With Gremlin, you can:

  • Compare your client timeouts against the gateway's. A latency experiment makes the difference visible, and it's usually not what teams assumed.
  • Find out whether retries help or hurt. A blackhole experiment shows what your applications do when the front door stops answering entirely.
  • Check that your monitoring beats your customers to it. Disrupt the endpoint and watch which alert fires first, if any.

Your clients decide how a gateway slowdown actually plays out. Testing from their side is the only way to see that decision before your customers make it for you.

Building resilience on API Gateway with Gremlin

API Gateway is a dependency: a managed service that your service connects to. You can run tests by deploying the Gremlin agent or Failure Flags sidecar to a service that consumes API Gateway*. Using the experiments shown to the right, you can prepare your service for API Gateway failure modes, including:

  • Network outages making API Gateway unavailable
  • Slow performance due to network latency
  • Expiring TLS certificates
You can also run these expert-built workflows designed to replicate real-world failure modes on API Gateway:

* Testing a dependency doesn't require installing anything on it. Gremlin runs the experiment from the service that calls it, so compatibility depends on that host rather than on the dependency itself. Check our compatibility documentation for supported operating systems and platforms, or get in touch if you don't see yours.

resources

Learn more about Gremlin and API Gateway

All product names, logos, and brands are property of their respective owners. AWS is a trademark of Amazon.com, Inc.; Azure is a trademark of Microsoft Corporation; Google Cloud is a trademark of Google LLC. Use of these names is for identification purposes only and does not imply endorsement or affiliation unless otherwise stated.

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