Gremlin and Azure Functions

Test Azure Functions reliability with Gremlin Failure Flags. Inject latency and errors into function code to validate timeouts and retries.

Why Functions reliability is important

Azure Functions bills on execution time, which changes the risks of a hung function. A function waiting on a stalled database call is consuming money and occupying a concurrency slot other invocations need, and scaling out only creates more instances stuck on the same call.

Gremlin brings fault injection into the function itself with Failure Flags, so you can answer the important questions:

  • Does your timeout fire before the caller gives up? Inject latency into a downstream call and ensure your timeout policy works as expected.
  • Does the function fail silently? Trigger an exception and check whether an alert reaches a human or settles into Application Insights unread.
  • Is there a fallback path? Run a blackhole experiment to make a dependency unreachable and see whether the function returns degraded output or nothing at all.

A hung function costs you money, capacity, and customer trust. Finding that out in a test is considerably cheaper than finding it out in production.

Building resilience on Functions with Gremlin

Functions is an application platform (or PaaS), which you can test using the Failure Flags sidecar and the experiments shown on the right. You can use Failure Flags to prepare your services for application-level failure modes on Functions, such as:

  • High-latency function calls due to slow dependencies or high processing times
  • Validating error and exception handling logic
  • Experiments isolated to specific environments, customers, or any other application-level attributes
You can also run these expert-built workflows designed to replicate real-world failure modes on Functions:

* Failure Flags works wherever you can add the SDK to your application and run the Gremlin sidecar. Not every language and platform combination has been individually tested, and not all are officially supported. Check our compatibility documentation for what's verified, or get in touch if you don't see your runtime.

resources

Learn more about Gremlin and Functions

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