Gremlin and GCP Cloud Functions (2nd gen)

Test Cloud Functions (2nd gen) reliability with Gremlin Failure Flags. Inject latency and errors into function code to validate graceful degradation.

Why Cloud Functions (2nd gen) reliability is important

Second-generation Cloud Functions run on Cloud Run, and that brings a change teams migrating from first generation often miss: a single instance now handles multiple concurrent requests. Requests that used to fail in isolation now fail in tandem: when one blocks on a slow dependency, it holds capacity that other requests on that instance need. A single stalled call can degrade every request sharing the same instance.

Gremlin helps you see how concurrency and failure interact in your own code. Deploy the Failure Flags sidecar with your function, then inject latency into a downstream call while traffic is flowing. Whether a stalled call takes down one request or all of them is a meaningful difference, and Gremlin helps you identify the risk so you can address it pre-emptively

Building resilience on Cloud Functions (2nd gen) with Gremlin

Cloud Functions (2nd gen) 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 Cloud Functions (2nd gen), 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 Cloud Functions (2nd gen):

* 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 Cloud Functions (2nd gen)

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