Test Cloud Run for Anthos reliability with Gremlin Failure Flags. Inject latency and errors into containers to validate dependency handling.
Running Cloud Run on Anthos usually means your workload spans environments: some services in Google Cloud, some on-premises, some in another cloud entirely. That distribution is the reason for the architecture and the source of its most interesting failure modes.
Cross-environment calls have different latency and reliability characteristics than calls inside a single cluster, and applications rarely distinguish between the two. A timeout appropriate for a local service is too aggressive for one across a network boundary. A retry policy tuned for in-cluster traffic can saturate a constrained link between environments, turning a minor slowdown into a connectivity problem for everything sharing that path.
Add Failure Flags to your container and you can inject latency and errors per dependency, which means you can test a call to a service two racks away differently from one two regions away. That distinction is invisible in configuration and obvious under test.
In a hybrid deployment, knowing where a dependency physically lives is the difference between graceful degradation and a slow cascade nobody can locate.
Dependencies: Failure Test
Simulate a failed dependency by dropping all network traffic to the dependency.
Dependencies: Latency Test
Recreate poor network conditions by delaying all network traffic to a dependency by 100ms.
Unreliable Networks - Dependencies
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.
* 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.
Intelligent Health Checks - GCP
Automatically monitor your Google Cloud services during testing in one-click with Intelligent Health Checks.
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.
