What is Toxiproxy?
mainToxiproxy is a framework for simulating network conditions, designed specifically for testing, CI, and development environments. It allows for deterministic tampering with connections, as well as randomized chaos and customization.
Its architecture consists of two parts:
- A TCP proxy: Written in Go, this handles the actual network traffic.
- A client: Communicates with the proxy over HTTP to manipulate connection health and simulate various network failures (toxics).
By routing application connections through Toxiproxy, you can prove that your application is resilient to single points of failure by simulating latency, bandwidth limits, packet loss, and connection outages.