Network Partition Simulation Between Services

DevOpsChaos EngineeringSRE
Share on LinkedIn Share on X Share on Reddit Share on HN Share on Bluesky

Kafka minority partition kept accepting writes during simulated AZ split; game day exposed split-brain risk before real provider incident.

Partition targets

App to DB, AZ to AZ, control plane to worker—different failure surfaces.

Production teams running network partition simulation learned that partition targets regressions appear when traffic mix shifts—uniform staging QPS missed Black Friday combinations until load replay used production timestamps.

Runbook for partition targets: confirm blast radius, identify last config change, execute single- step rollback, capture SLI screenshots for postmortem—not ad-hoc dashboard search during Sev-1.

Instrument partition targets with low-cardinality metrics tied to user-visible SLIs—error rate, tail latency, freshness—not vanity gauges that never correlated with past pages.

Game day for partition targets: quarterly staging injection with rollback under fifteen minutes using linked runbook only—update runbook with what broke.

Ownership for partition targets belongs in the service catalog with named rotation, last drill date, and known sharp edges—new engineers deploy safe canary within one week using that doc.

Change management: peer review from outside authoring team before prod promote—fresh eyes catch embedded assumptions in partition targets configs.

Capacity note: estimate peak concurrency for partition targets, apply 1.5–2× headroom against cloud quotas before launch week—not during first outage.

Security review for network partition simulation: least privilege on automation roles, short-lived credentials, immutable audit logs for production changes—break-glass expires in forty-eight hours with mandatory retrospective.

FinOps tie-in for partition targets: attribute cloud spend to owning team via tags; monthly review of cost drivers prevents silent bill growth after config drift.

Tooling

Chaos Mesh NetworkChaos partition; Istio fault injection for L7 paths; document hostNetwork bypass.

Production teams running network partition simulation learned that tooling regressions appear when traffic mix shifts—uniform staging QPS missed Black Friday combinations until load replay used production timestamps.

Runbook for tooling: confirm blast radius, identify last config change, execute single-step rollback, capture SLI screenshots for postmortem—not ad-hoc dashboard search during Sev-1.

Instrument tooling with low-cardinality metrics tied to user-visible SLIs—error rate, tail latency, freshness—not vanity gauges that never correlated with past pages.

Game day for tooling: quarterly staging injection with rollback under fifteen minutes using linked runbook only—update runbook with what broke.

Ownership for tooling belongs in the service catalog with named rotation, last drill date, and known sharp edges—new engineers deploy safe canary within one week using that doc.

Change management: peer review from outside authoring team before prod promote—fresh eyes catch embedded assumptions in tooling configs.

Capacity note: estimate peak concurrency for tooling, apply 1.5–2× headroom against cloud quotas before launch week—not during first outage.

Security review for network partition simulation: least privilege on automation roles, short-lived credentials, immutable audit logs for production changes—break-glass expires in forty-eight hours with mandatory retrospective.

FinOps tie-in for tooling: attribute cloud spend to owning team via tags; monthly review of cost drivers prevents silent bill growth after config drift.

Quorum systems

Validate minority stops writes for etcd, Redis, Kafka, ZooKeeper under partition.

Production teams running network partition simulation learned that quorum systems regressions appear when traffic mix shifts—uniform staging QPS missed Black Friday combinations until load replay used production timestamps.

Runbook for quorum systems: confirm blast radius, identify last config change, execute single-step rollback, capture SLI screenshots for postmortem—not ad-hoc dashboard search during Sev-1.

Instrument quorum systems with low-cardinality metrics tied to user-visible SLIs—error rate, tail latency, freshness—not vanity gauges that never correlated with past pages.

Game day for quorum systems: quarterly staging injection with rollback under fifteen minutes using linked runbook only—update runbook with what broke.

Ownership for quorum systems belongs in the service catalog with named rotation, last drill date, and known sharp edges—new engineers deploy safe canary within one week using that doc.

Change management: peer review from outside authoring team before prod promote—fresh eyes catch embedded assumptions in quorum systems configs.

Capacity note: estimate peak concurrency for quorum systems, apply 1.5–2× headroom against cloud quotas before launch week—not during first outage.

Security review for network partition simulation: least privilege on automation roles, short-lived credentials, immutable audit logs for production changes—break-glass expires in forty-eight hours with mandatory retrospective.

FinOps tie-in for quorum systems: attribute cloud spend to owning team via tags; monthly review of cost drivers prevents silent bill growth after config drift.

Application behavior

Retries with jitter—not tight loops; hedge requests documented per service.

Production teams running network partition simulation learned that application behavior regressions appear when traffic mix shifts—uniform staging QPS missed Black Friday combinations until load replay used production timestamps.

Runbook for application behavior: confirm blast radius, identify last config change, execute single- step rollback, capture SLI screenshots for postmortem—not ad-hoc dashboard search during Sev-1.

Instrument application behavior with low-cardinality metrics tied to user-visible SLIs—error rate, tail latency, freshness—not vanity gauges that never correlated with past pages.

Game day for application behavior: quarterly staging injection with rollback under fifteen minutes using linked runbook only—update runbook with what broke.

Ownership for application behavior belongs in the service catalog with named rotation, last drill date, and known sharp edges—new engineers deploy safe canary within one week using that doc.

Change management: peer review from outside authoring team before prod promote—fresh eyes catch embedded assumptions in application behavior configs.

Capacity note: estimate peak concurrency for application behavior, apply 1.5–2× headroom against cloud quotas before launch week—not during first outage.

Security review for network partition simulation: least privilege on automation roles, short-lived credentials, immutable audit logs for production changes—break-glass expires in forty-eight hours with mandatory retrospective.

FinOps tie-in for application behavior: attribute cloud spend to owning team via tags; monthly review of cost drivers prevents silent bill growth after config drift.

Cadence

Quarterly partition drill with postmortem updates to dependency diagrams.

Production teams running network partition simulation learned that cadence regressions appear when traffic mix shifts—uniform staging QPS missed Black Friday combinations until load replay used production timestamps.

Runbook for cadence: confirm blast radius, identify last config change, execute single-step rollback, capture SLI screenshots for postmortem—not ad-hoc dashboard search during Sev-1.

Instrument cadence with low-cardinality metrics tied to user-visible SLIs—error rate, tail latency, freshness—not vanity gauges that never correlated with past pages.

Game day for cadence: quarterly staging injection with rollback under fifteen minutes using linked runbook only—update runbook with what broke.

Ownership for cadence belongs in the service catalog with named rotation, last drill date, and known sharp edges—new engineers deploy safe canary within one week using that doc.

Change management: peer review from outside authoring team before prod promote—fresh eyes catch embedded assumptions in cadence configs.

Capacity note: estimate peak concurrency for cadence, apply 1.5–2× headroom against cloud quotas before launch week—not during first outage.

Security review for network partition simulation: least privilege on automation roles, short-lived credentials, immutable audit logs for production changes—break-glass expires in forty-eight hours with mandatory retrospective.

FinOps tie-in for cadence: attribute cloud spend to owning team via tags; monthly review of cost drivers prevents silent bill growth after config drift.

Day-two operations for network partition simulation

Mature network partition simulation deployments fail when ownership is unclear after the primary author leaves. Document who may change production settings, which environments require change approval, and how to verify health after rollout. Run game days quarterly that inject credential expiry, partial dependency outages, and traffic spikes; update the linked runbook with what actually broke—not slides.

Metrics for network partition simulation must tie to user-visible outcomes: error budget burn, tail latency, saturation of the bottleneck resource, and cost per successful operation. Delete alerts that never fired during real incidents; add thresholds that would have shortened MTTR last quarter. Synthetic probes from outside the cluster catch DNS, TLS, and routing failures that internal health checks miss.

Compliance and security for network partition simulation require least privilege on automation roles, short-lived credentials, immutable audit logs for production changes, and documented data flows for assessors. Break-glass access expires automatically and triggers retrospective within forty-eight hours. Validate inputs at boundaries when configuration accepts values from multiple teams—a mistaken CIDR or retention change widens blast radius silently until audit.

Frequently asked questions

Partition what?

Control plane to workers, AZ to AZ, app to database—each tests different failure mode.

Istio vs Chaos Mesh partition?

Both inject; mesh may need sidecar-aware selectors; document bypass for hostNetwork.

Quorum systems?

etcd, Kafka, Redis cluster—partition tests should validate minority side stops writes.

Game day cadence?

Quarterly partition drill with write-down of unexpected dependencies discovered.

Hiring a senior Android / Flutter engineer?

I architect and ship production mobile software — Kotlin, Jetpack Compose, Flutter — for robotics, EV infrastructure, fintech, and real-time systems. Open to remote roles in Europe and the US.

Get in touch →