Skip to content
Proyek

adriannovegil/awesome-chaos-engineering

Lihat di GitHub

Tentang

Awesome chaos engineering page

Pembelajaran dan pendidikan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
+1

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Awesome Chaos Engineering Awesome

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

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

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

Azure Cloud

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

4. Observability

5. Incident Management Tool

6. Cost of SEVs

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

9. Books

10. Conferences and Talks

11. Forums and Groups

12. References

13. License

CC0

14. Contributing

Contributions welcome! Read the contribution guidelines first.

Thank you!

Jelajahi proyek terkait

Memuat…