Gremlin and AWS SNS

Test how your application handles an AWS SNS outage. Run Gremlin network experiments and reliability tests to validate publisher and subscriber resilience.

Why SNS reliability is important

Amazon SNS fans out to every subscriber at once, which means a delivery problem affects several downstream systems simultaneously. It also fails in a way that is unusually hard to notice.

When a notification is not delivered, nothing errors where you are watching. The publisher moved on. The subscriber never heard anything. An event that did not arrive looks exactly like an event that never happened, and your systems drift out of sync with no signal at all.

That silence is the reason to test deliberately. Gremlin lets you disrupt the path between your publishers and the SNS endpoint while traffic is flowing. Blackhole experiments confirm whether your publishers retry or drop messages on the floor. Latency experiments show whether subscribers can absorb a burst of delayed notifications arriving out of order once connectivity returns.

The most useful answer is usually the least comfortable one: whether anything in your stack would tell you a notification went missing.

Building resilience on SNS with Gremlin

SNS 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 SNS*. Using the experiments shown to the right, you can prepare your service for SNS failure modes, including:

  • Network outages making SNS 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 SNS:

* 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 SNS

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