Test how your application handles a Firestore outage. Run Gremlin network experiments and reliability tests to validate write queuing and fallbacks.
The client SDKs for Firestore cache locally and queue writes when connectivity is interrupted. That's a genuinely good design, and it means backend failures produce behavior on the client that server-side thinking doesn't predict.
Writes made during a disruption succeed locally and sync later. If two clients modified the same document while disconnected, the resolution happens on reconnect according to rules your application may never have specified. Users see their change accepted, then overwritten. Real-time listeners that stop firing leave a UI that silently stops updating rather than showing an error.
Gremlin lets you test from the side where it actually surfaces. A blackhole experiment against the Firestore endpoint disconnects a client so you can watch what queues, what syncs, and what gets lost. A latency experiment slows the connection enough to expose the gap between a write being accepted and a write being durable.
The question worth answering isn't whether your writes are safe. It's whether your users can tell the difference between synced and pending.
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.
* 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.
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.
