What Is a Real-Time Test Loop?
A real-time test loop is the closed path from sensor acquisition to control action and back to verification. This explainer maps its four parts and the latency budget that binds them.
Loading…
Topic
3 posts about Chaos Engineering. Every summary links to the original.
See the idea
A real-time test loop is the closed path from sensor acquisition to control action and back to verification. This explainer maps its four parts and the latency budget that binds them.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Shopify built the Cyber Chaos Monkey (CCM), an agentic vulnerability hunter that runs live against production infrastructure to find security issues before attackers do. The system uses frontier cyber models to refine ideas, identify leads in code or configuration, and attempt exploits in a sandboxed environment. CCM separates into Discovery, which generates and refines hypotheses, and Sandbox, where agents test exploits by making live requests and reading production logs. To keep testing safe, the system enforces two-person integrity: a judge agent monitors the executor in real time and can kill it if behavior violates the Rules of Engagement. Since deployment, CCM has executed tens of thousands of offensive engagements and identified dozens of impactful findings without causing an outage or incident.
The post presents a four-phase chaos engineering blueprint for Kubernetes using Krkn. Phase 1, Strategize, defines a resilience baseline by selecting a critical user journey, mapping dependencies, and writing a hypothesis linking failure to expected behavior with SLO-based acceptance criteria. Phase 2, Execute and harden, validates recovery through a consistent sequence of prepare, disrupt and observe, and restore and verify, using Prometheus and application checks. Phase 3, Explore, uses Krkn-AI’s evolutionary algorithms to uncover hidden failure paths, including latency, packet loss, and resource pressure combinations, with customizable configurations. Phase 4, Future-proof and CI, builds reusable workflows using Krkn Operator and Chaos Studio’s visual editor, integrates them into CI/CD pipelines, tracks resilience scores with weighted SLO checks (default 3 for critical, 1 for warnings), and emphasizes repeatability, version-controlled test plans, and pre-flight validation before infrastructure changes, such as verifying that CPU tuning does not increase recovery time beyond a 60-second requirement.
Binary pass/fail uptime testing no longer suffices for cloud-native deployments because a cluster can remain operational while dropping packets, breaching SLOs, or suffering performance degradation. Krkn addresses this with a trifecta of telemetry: a weighted Resiliency Score, continuous HTTP Health Checks, and KubeVirt Checks. The Resiliency Score is a 0–100% macro-health metric that evaluates live Prometheus data against pre-defined SLOs using custom weights, allowing engineers to prioritize business-critical components like authentication or payment gateways. HTTP Health Checks probe application endpoints at configurable intervals, capturing exact downtime start and end times alongside HTTP status codes, enabling teams to track self-healing duration. KubeVirt Checks monitor virtual machine instances via real-time SSH connectivity and record node, IP address changes, and exact down-time, with a final post-chaos check that flags VMs remaining unreachable after the experiment concludes.
The best engineering reads, once a week.