Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmzeeman/zotonic_mod_disrupt
Disrupt processes, crash and add latency to dispatches in order to create a more robust system.
https://github.com/mmzeeman/zotonic_mod_disrupt
Last synced: about 17 hours ago
JSON representation
Disrupt processes, crash and add latency to dispatches in order to create a more robust system.
- Host: GitHub
- URL: https://github.com/mmzeeman/zotonic_mod_disrupt
- Owner: mmzeeman
- Created: 2023-01-04T14:39:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T15:53:13.000Z (almost 2 years ago)
- Last Synced: 2024-11-16T06:49:44.014Z (about 2 months ago)
- Language: Erlang
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# zotonic_mod_disrupt
This module can be used to test the resilince of your Zotonic system. It has a controller
which can be used to crash or add artificial latency to requests. It uses the
Erlang havoc module, which is a Chaos Monkey style system.# Controllers
## `controller_disrupt`
The disrupt controller allows you to disrupt the working of another controller.
It can add latency, or let it error. This makes it possible to allow one to
find out what happens on the client side when a certaint dispatch errors, or
suddenly has a high latency.Config options:
- `delegate`: The name of the controller which should handle the real request.
- `distupt_type`: The type of disruption to apply. Either `throw` or `latency`.
- `disrupt_probability`: Then probability wether or not to apply the distruption....
# Settings
- `latency_mean`: The latency mean to add to dispatches. Default: **300**
- `latency_variance`: The latency variance to add to dispatches. Default: **400**