adriannovegil/awesome-chaos-engineering
概要
Awesome chaos engineering page
学習・教育計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- +1
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルAwesome Chaos Engineering 
A curated list of Chaos Engineering resources, tools, practices, case studies, and learning materials.
Chaos Engineering is the discipline of experimenting on a system to build confidence in its ability to withstand turbulent conditions in production. It is not about breaking things randomly, but about designing controlled experiments that uncover weaknesses before they affect users.
This repository focuses on Chaos Engineering principles, experiment practices, fault injection, GameDays, tools, and learning resources.
Related topics such as Site Reliability Engineering, observability, software engineering, and profiling are maintained in separate repositories to avoid unnecessary duplication.
Contents
- 0. Introduction
- 1. Chaos in Practice
- 2. Principles of Chaos Engineering
- 3. Fault Injection
- 4. Observability
- 5. Incident Management Tool
- 6. Cost of SEVs
- 7. Chaos as a Service
- 8. Gamedays
- 9. Books
- 10. Conferences and Talks
- 11. Forums and Groups
- 12. References
- 13. License
- 14. Contributing
0. Introduction
Chaos engineering is defined as "the discipline of experimenting on a system in order to build confidence in the system's capability to withstand turbulent conditions in production" (Principles of Chaos Engineering).
In other words, it's a software testing method focusing on finding evidence of problems before they are experienced by users.
It's a common misconception that chaos engineering is only about randomly breaking things in production. It's not. Although running experiments in production is a unique part of chaos engineering (more on that later), it's about much more than that—anything that helps us be confident the system can withstand turbulence.
IMPORTANT!: Chaos engineering is not just about randomly breaking things ;-)
It interfaces with site reliability engineering (SRE), application and systems performance analysis, and other forms of testing.
Practicing chaos engineering can help you prepare for failure, and by doing that, learn to build better systems, improve existing ones, and make the world a safer place.
Motivations for chaos engineering
There are at least three good reasons to implement chaos engineering:
- Determining risk and cost and setting service-level indicators, objectives, and agreements
- Testing a system (often complex and distributed) as a whole
- Finding emergent properties you were unaware of
Related Awesome Lists
- My Awesome SRE Repo ;-) - Curated list of Site Reliability Engineering tools and resources.
- My Awesome Observability Repo ;-) - Curated list of observability tools for monitoring, logging, and tracing.
1. Chaos in Practice
To specifically address the uncertainty of distributed systems at scale, Chaos Engineering can be thought of as the facilitation of experiments to uncover systemic weaknesses. These experiments follow four steps:
- Start by defining 'steady state' as some measurable output of a system that indicates normal behavior.
- Hypothesize that this steady state will continue in both the control group and the experimental group.
- Introduce variables that reflect real world events like servers that crash, hard drives that malfunction, network connections that are severed, etc.
- Try to disprove the hypothesis by looking for a difference in steady state between the control group and the experimental group.
The harder it is to disrupt the steady state, the more confidence we have in the behavior of the system. If a weakness is uncovered, we now have a target for improvement before that behavior manifests in the system at large.
2. Principles of Chaos Engineering
A chaos experiment is defined as the following five points by the Principles of chaos engineering
- Build a Hypothesis around Steady State Behavior
- Vary Real-world Events
- Run Experiments in Production
- Automate Experiments to Run Continuously
- Minimize Blast Radius
More details in the following link ;-)
3. Fault Injection
Generic Tools
- Chaos Monkey - A resiliency tool that helps applications tolerate random instance failures.
- Chaos Toolkit - A chaos engineering toolkit to help you build confidence in your software system.
- Chaos Toolkit Turbulence - Extension for Chaos Toolkit which adds support for Turbulence attacks.
- Monarch - A series of tools for Chaos Toolkit.
- Muxy - A chaos testing tool for simulating real-world distributed system failures.
- Chaos Blade - Experimental tool that follows the principles of Chaos Engineering to simulate common fault scenarios.
- Cthulhu - Chaos Engineering tool that helps evaluating the resiliency of microservice systems in a data-driven manner.
- Namazu - Programmable fuzzy scheduler for testing distributed systems.
- Chaos Scimmia - Chaos Engineering for Redis.
- HavocLeopard - A set of simple chaos engineering apps for on-prem servers.
- AWS Chaos Scripts - Collection of Python scripts to run failure injection on AWS infrastructure.
- Dev Proxy - Command-line API simulator for testing how apps respond to API failures, throttling, and slow APIs.
- Jepsen - Framework for testing distributed systems under faults and verifying the correctness of their operation histories.
- Simoorg - LinkedIn's failure inducer framework for testing the resilience of distributed systems.
- Chaos Experimentation Framework - Extensible platform for infrastructure management including Chaos Engineering.
- The Simian Army - Suite of tools from Netflix for keeping your cloud operating in top form (retired).
CPU
- CPU Troll - Dedicated to raising CPU latency by the requested percentage and timespan.
- stress-ng - Tool to load and stress a computer system in various selectable ways, including CPU, memory, I/O, and more.
Memory
- totalChaos - Overloads RAM and simulates system resource exhaustion scenarios.
Disk
- Disk Fillup - LitmusChaos experiment to fill up disk space on a target node to test storage-related failure handling.
- unreliablefs - FUSE-based fault injection filesystem allowing runtime error injection into file operations.
- CharybdeFS - FUSE-based fault injection filesystem from ScyllaDB with a Thrift RPC interface for instrumentation.
- LazyFS - FUSE filesystem simulating lost and torn writes to test data durability and crash recovery.
Networking
- Toxiproxy - A TCP proxy to simulate network and system conditions for chaos and resiliency testing.
- Comcast - A tool designed to simulate common network problems like latency, bandwidth restrictions, and dropped/reordered/corrupted packets.
- Chaos HTTP Proxy - Introduces failures into HTTP requests via a proxy server.
- tc netem - Linux network emulation tool for injecting delay, packet loss, duplication, corruption, reordering, and bandwidth limitations.
- tcconfig - A tc command wrapper that makes it easy to set up traffic control of bandwidth, latency, packet loss, and corruption on network interfaces and Docker containers.
- clumsy - Network condition simulator for Windows, injecting lag, drop, throttle, and reordering.
- speedbump - TCP proxy for simulating variable yet predictable network latency, written in Go.
- Noxious - Rust port of the Toxiproxy server, fully compatible with its REST API and client libraries.
- Tickchaos - Protocol-aware UDP chaos proxy for market data feed handlers, injecting packet loss, jitter, reordering, and sequence-gap faults.
- Saboteur - (Not for production) Network fault injection tool with an agent that configures partitions, delays, and packet loss via HTTP commands.
Security
- Infection Monkey - Open source security tool for testing a data center's resiliency to perimeter breaches and internal server infection.
- ChaoSlingr - Security Chaos Engineering focused on experimentation on AWS Infrastructure.
- Mitigant - Security chaos engineering for cloud cyber resilience.
Languages
Compilation Time
- ChaosCat - Chaos engineering for Pull Requests - Taking a not-even-good joke a bit too far.
Runtime
- Byteman - A Swiss Army Knife for Byte Code Manipulation.
- Byte-Monkey - Bytecode-level fault injection for the JVM via instrumentation.
- Perses - A project to cause controlled destruction to a JVM application.
- Wiremock - API mocking (Service Virtualization) which enables modeling real world faults and delays.
- MockLab - API mocking (Service Virtualization) as a service.
- Flaw - Injects failures on API calls for local chaos engineering.
- Havoc - Collection of dangerous code that wreaks havoc in .NET applications for chaos-engineering.
- Utilities for frontend chaos engineering - JavaScript utilities to introduce chaos into frontend applications.
- CHAOS GOPHER - A collection of Unix-style tools in Go for chaos engineering or testing.
- Chaos Monkey for Spring Boot - Injects latencies, exceptions, and terminations into Spring Boot applications.
- Polly Chaos Engineering - .NET resilience and transient-fault-handling library with chaos engineering strategies for injecting faults, latency, and outcomes.
- gofail - Failpoints for Go from the etcd ecosystem, allowing fault injection at specific program points.
- PingCAP failpoint - Failpoint implementation for Go with configurable actions like returns, pauses, and panics.
- fail-rs - Fail points for Rust, enabling error and behavior injection at runtime for testing.
- falzm/chaos - (Archived) Go HTTP middleware for injecting delays and errors into web applications, configurable on the fly via a management controller.
- Pastaay - (Experimental) Cloud-native chaos engineering toolkit for Go with fault injection across HTTP, gRPC, Kafka, Redis, SQL, and MongoDB.
- React Chaos - Chaos Engineering for your React apps.
- Vue Chaos - A simple yet chaotic component to introduce chaos in your Vue app.
- Chaos QoaLa - Chaos engineering tool for injecting failure into JavaScript-backed GraphQL endpoints.
- Chaos Reverse-engineering - Chaos engineering approach by reverse-engineering.
- Fault - Go HTTP middleware that makes it easy to inject faults into your service.
- GORM SQLChaos - Manipulates DML at program runtime based on GORM callbacks.
- Chaos Frontend Toolkit - A set of tools to break your web apps and find ways to improve them.
Database
- RedFI - Acts as a proxy between the client and Redis with the capability of injecting faults on the fly.
- orchestrator - MySQL replication topology management and HA tool, used for controlled failure testing of database clusters.
Virtual Machine
- ChaosMachine - Tool to do chaos engineering at the application level in the JVM.
- TripleAgent - System for fault injection for Java applications.
Containers & Orchestrators
- ChaosOrca - Tool for doing Chaos Engineering on containers by perturbing system calls.
- POBS - Automatic Observability and Chaos for Dockerized Java Applications.
- Pumba - Chaos testing and network emulation for Docker containers and clusters.
- Blockade - Docker-based utility for testing network failures and partitions in distributed applications.
- Chaos Engineering for Docker - Experiments and tools for applying chaos engineering in Docker environments.
- Chaos Engineering with Docker EE - Examples and practices for applying chaos engineering with Docker Enterprise Edition.
- Chaos Util - Docker image with utilities for Chaos Engineering.
- Drax - DC/OS Resilience Automated Xenodiagnosis tool for testing DC/OS deployments.
- Pod-Reaper - A rules-based pod killing container for Chaos testing in Kubernetes.
- Chaoskube - Periodically kills random pods in your Kubernetes cluster.
- Litmus - Framework for Kubernetes environments that enables users to run test suites, capture logs, generate reports and perform chaos tests.
- Chaos Operator - Chaos engineering via Kubernetes operator.
- Kube Entropy - A little chaos engineering application for Kubernetes resilience testing.
- kubernetes-chaos-lab - A brief guide to setting up your first chaos engineering lab on Kubernetes.
- Chaos Mesh - A Chaos Engineering Platform for Kubernetes.
- xk6-disruptor - Grafana k6 extension for injecting HTTP and gRPC faults into Kubernetes pods and services.
Hypervisors
- Turbulence - Tool focused on BOSH environments capable of stressing VMs and manipulating network traffic.
- Chaos Lemur - Self-hostable application to randomly destroy virtual machines in a BOSH-managed environment.
Kernel & Operating System
- stress-ng - Stress test tool for Linux systems covering CPU, memory, I/O, network, and kernel-level stressors.
- sysdig - Linux system exploration and troubleshooting tool with first-class support for containers.
- libfiu - C library for fault injection in userspace, including POSIX API failure injection without modifying application code.
- bpfki - BPF-based kernel fault injection service from the Chaos Mesh ecosystem.
- libfaketime - Library that modifies the time perceived by an application for testing time-dependent behavior.
Simulation and Verification
- Turmoil - Deterministic simulation testing for distributed systems in Rust, injecting latency, drops, partitions, and crashes.
- MadSim - Deterministic simulation runtime for distributed systems in Rust, complementing Turmoil.
- Loom - Concurrency permutation testing tool for Rust, exploring possible concurrent executions.
- Microsoft Coyote - Testing framework for concurrent C# code with deterministic bug reproduction.
- Shuttle - Deterministic testing framework for Rust concurrency, exploring thread schedules to find bugs.
- Porcupine - Fast linearizability checker in Go for verifying whether operation histories match the expected consistency model.
- Elle - Transactional safety analyzer using cycle detection to evaluate consistency of database histories, complementing Jepsen.
- FaultFuzz - (Research) Fault injection tool extending the prior CrashFuzz work.
- CoFI - (Research) Consistency-guided fault injection for cloud systems, injecting network partitions at inconsistent states.
- FIES - (Research) QEMU-based fault injection framework for system-level analysis of fault tolerance and countermeasures.
Research Prototypes
- Filibuster - (Research) Prototype of service-level fault injection testing in Python, injecting faults in inter-service communication.
- Mallory - (Research) Greybox fuzzing of distributed systems, an adaptive extension of Jepsen that injects faults based on runtime behavior.
- Molly - (Research) Implementation of lineage-driven fault injection, reasoning backwards from correct outcomes to find failure combinations.
- ChaosEater - (Research) LLM-based system that fully automates the chaos engineering cycle on Kubernetes with Chaos Mesh.
- agent-chaos - (Experimental) Chaos engineering for AI agents, injecting LLM and tool failures with LLM-as-judge evaluation.
- langchain-chaos-middleware - (Experimental) Middleware for LangChain agents that injects exceptions into tool and model calls.
- Chaosbringer - (Experimental) Chaos engineering for web apps using a Playwright-based crawler that injects network, lifecycle, and runtime faults.
- Fuzzbox - (Experimental) Chaos engineering and API fuzzing middleware for Express.js and Next.js, injecting latency, errors, and data corruption.
Cloud
- Chaos Engine - Application for creating random Chaos Events in cloud applications to test resiliency.
Private Cloud
- Glooshot - Chaos engineering framework to help you immunize your service mesh.
- kube-monkey - An implementation of Netflix's Chaos Monkey for Kubernetes clusters.
- Powerful Seal - Adds chaos to your Kubernetes clusters, killing targeted pods and taking VMs up and down.
- KubeInvaders - Gamified chaos engineering tool for Kubernetes clusters.
- Kube DOOM - Kill pods inside your Kubernetes cluster by shooting them in Doom.
- GomJabbar - ChaosMonkey for your private cloud.
- kubethanos - Kills half of your pods randomly to engineer chaos in your preferred environment.
- krkn - Chaos and resiliency testing tool for Kubernetes and OpenShift.
- kube-burner - Kubernetes performance and scale test orchestration toolset.
- Chaos Controller - Kubernetes controller for injecting various systemic failures at scale.
- VMware Mangle - Orchestrating Chaos Engineering for vSphere, Docker, Kubernetes, and AWS environments (archived).
Amazon AWS
- AWS Fault Injection Service (FIS) - Fully managed service for running fault injection experiments on AWS workloads to improve resilience.
- Testing Amazon Aurora Using Fault Injection Queries - Fault injection queries for Amazon Aurora.
- Chaos SSM Documents - Collection of AWS SSM Documents to perform Chaos Engineering experiments.
- failure-lambda - Small Node module for injecting failure into AWS Lambda.
- chaos_lambda - Small library injecting chaos into AWS Lambda.
- Chaos Lambda - Randomly terminate ASG instances during business hours.
- AWSSSMChaosRunner - Library which simplifies failure injection testing and chaos engineering for EC2 and ECS.
- Chaos Machine - Complete chaos engineering workflow using AWS Fault Injection Service, CloudWatch, and Prometheus to test hypotheses.
Azure Cloud
- Azure Chaos Studio - Fully managed chaos engineering experimentation platform for improving resilience of Azure applications and services.
- Azure Fault Analysis Service - Fault testing for Azure Service Fabric applications.
- Include controlled Chaos in Service Fabric clusters - Controlled chaos in Service Fabric clusters.
- chaos-dingo - Tool to mess with Azure services using the Azure Node.js SDK.
Google Cloud Platform
- Chaos Engineering on Google Cloud Platform - Experiments and tools for chaos engineering on GCP services and infrastructure.
- Chaosgarden - Chaos Toolkit modules for simulating compute and network outages on AWS, Azure, GCP, OpenStack, and VMware, plus pod disruptions on Kubernetes.
Example Projects
- A Chaos Engineering Bootcamp - Hands-on workshop materials for learning chaos engineering fundamentals.
- HW4 - Express servers used to implement service topologies.
- Serverless Chaos Engineering Demo - Demonstrates how to use Failure Injection Layer to perform chaos engineering experiments on a serverless environment.
- Chaos Engineering Demo - Simple project demonstrating chaos engineering with Chaos Monkey and Resilience4J.
- Chaos Engineering Demo - Resilience4j combined with Chaos Toolkit, Wiremock, and Chaos Monkey for Spring Boot.
- How to Create a Kubernetes Cluster on Ubuntu 16.04 with kudeadm and Weave Net - Tutorial from Gremlin on setting up a Kubernetes cluster for chaos experiments.
4. Observability
5. Incident Management Tool
6. Cost of SEVs
- Availability Calculator - Calculate how much downtime should be permitted in your SLA.
7. Chaos as a Service
- Gremlin Inc. - Failure as a Service.
- Chaos Engineering Experiment Automation - Open-source platform for running automated chaos engineering experiments with extensible drivers.
- Chaos Platform - Chaos Engineering Platform for Everyone.
- steadybit - Chaos Engineering platform that helps to proactively reduce downtime and provide visibility into systems.
- Cavisson - Chaos engineering platform for resilience testing.
- Harness Chaos Engineering - Enterprise resilience testing platform for running controlled experiments across Kubernetes, Linux, and Windows environments.
- Antithesis - Deterministic testing platform that runs workloads in a simulated environment to find bugs and verify fault tolerance.
- ChaosMeta - (Archived) Cloud-native chaos engineering platform from Ant Group covering the complete fault drill lifecycle.
- Tumult - (Experimental) Rust-native chaos engineering platform with OpenTelemetry, embedded analytics, and plugins for Kubernetes, databases, and Kafka.
- Proofdock's Chaos Engineering Platform - A chaos engineering platform that integrates in Azure DevOps and focuses on the Azure cloud platform.
- Pystol - Fault injection platform for executing fault injection actions in cloud-native environments in a controlled way.
8. Gamedays
- Target: What is a Gameday? - Chaos Gamedays experience by Target.
- Codecentric: Chaos Engineering Gamedays - Chaos Gamedays by Codecentric.
- New Relic: How to run a Gameday? - Chaos Gamedays experience by New Relic.
- Gremlin: Gamedays - Resources for getting started with GameDay.
- Gremlin: Planning your own Chaos Day - Example of a Gameday with DynamoDB by Gremlin.
- Gremlin: How to run a Gameday? - Methodology to run Gamedays according to Gremlin.
- Gremlin DB: Breaking Dynamo DB - Example of a Gameday with DynamoDB.
- Gremlin: Introduction to Gameday - What is a Gameday according to Gremlin.
- Gremlin: Inside Gremlin 2019 Gremlin Gamedays Roadmap - Chaos Gamedays experience by Gremlin.
- Gremlin: What I learned running the Chaos Lab with Kafka - Example of a Gameday with Kafka.
- Chaos Toolkit: Chaos Engineering with Humans in the loop - Article about Chaos Gamedays.
- GoCardless: All fun and games until you start with Gamedays - Article about Chaos Gamedays.
- InfoQ: Gamedays - Achieving Resilience through Chaos Engineering - Presentation about Chaos Gamedays.
9. Books
- Chaos Engineering: System Resiliency in Practice - Comprehensive guide by Casey Rosenthal and Nora Jones covering the discipline of chaos engineering.
- Learning Chaos Engineering - Practical guide to designing and executing controlled experiments to discover system weaknesses.
- Chaos Engineering Observability - Free report on the intersection of chaos engineering and observability.
- Security Chaos Engineering - Sustaining resilience in software and systems by Aaron Rinehart and Kelly Shortridge.
- The Chaos Engineering Collection - Gremlin's comprehensive guide to the history, principles, and practice of chaos engineering.
10. Conferences and Talks
- Chaos Conf - Annual conference dedicated to the practice of chaos engineering.
- SREcon - USENIX conference covering SRE and chaos engineering topics.
- KubeCon Chaos Engineering Track - Chaos engineering sessions at KubeCon + CloudNativeCon.
- Awesome Chaos Engineering Talks - Curated list of talks on chaos engineering.
- Netflix: Mastering Chaos - Josh Evans' talk on how Netflix handles chaos at scale.
11. Forums and Groups
- CNCF Chaos Engineering Working Group
- CNCF Chaos Engineering Working Group Slack: #chaosengineering (slack.cncf.io)
- CNCF Chaos Engineering Working Group GitHub
12. References
- https://kth.diva-portal.org/smash/get/diva2:1707948/SUMMARY01.pdf
- https://github.com/dastergon/awesome-chaos-engineering
- https://github.com/seeker89/chaos-engineering-book
- What is security chaos engineering and why is it important?
- Security Chaos Engineering: A new paradigm for cybersecurity
- Injecting chaos experiments into security log pipelines
- Purple testing and chaos engineering in security experimentation
- A new approach to security instrumentation
- Security Chaos Engineering for Cloud Services - From resilience to dependability: security chaos engineering for cloud services.
- https://github.com/chaoseng/wg-chaoseng/blob/master/WHITEPAPER.md
- https://www.techrepublic.com/article/chaos-engineering-a-cheat-sheet/
- https://medium.com/capital-one-tech/4-real-world-scenarios-that-read-like-chaos-engineering-experiments-8dbf40c5f247
- https://thenewstack.io/gremlins-tammy-butow-on-the-business-side-of-chaos-engineering/
- https://learnkube.com/blog/kubernetes-chaos-engineering-lessons-learned
- https://engineering.grab.com/chaos-engineering
- https://blog.newrelic.com/engineering/chaos-engineering-explained/
- https://slack.engineering/disasterpiece-theater-slacks-process-for-approachable-chaos-engineering-3434422afb54
- https://www.usenix.org/system/files/osdi18-veeraraghavan.pdf
- https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-yuan.pdf
- https://people.ucsc.edu/\~palvaro/fit-ldfi.pdf
- https://landing.google.com/sre/book.html
- https://www.infoq.com/minibooks/emag-chaos-engineering
- https://softwareengineeringdaily.com/2018/02/02/chaos-engineering-with-kolton-andrus/
- https://blog.codeship.com/embracing-the-chaos-of-chaos-engineering/
- https://azure.microsoft.com/en-us/blog/inside-azure-search-chaos-engineering/
- https://www.gremlin.com/blog/the-discipline-of-chaos-engineering/
- http://kth.diva-portal.org/smash/get/diva2:1366436/FULLTEXT01.pdf
- https://arxiv.org/pdf/1907.13039.pdf
- https://arxiv.org/abs/1404.3056
- https://arxiv.org/abs/1702.05843
- https://arxiv.org/abs/1702.05849
- https://arxiv.org/abs/1805.05246
- https://arxiv.org/abs/1812.10706
13. License
14. Contributing
Contributions welcome! Read the contribution guidelines first.
Thank you!
関連プロジェクトを探す
読み込み中…