Skip to content

juhlig/stampede

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stampede

Application Resilience Testing

Stampede targets and randomly kills the processes and ports belonging to a given application or supervisor, with a definable intensity.

Fine-grained control over what to really kill can be achieved with user-defined callbacks.

Example

%% Start the stampede application
ok=application:start(stampede).

%% The target application must be running
{ok, _}=application:ensure_all_started(my_app).

%% Start stampede
{ok, _}=stampede:start_herd(my_stampede, {application, my_app}).

%% Activate stampede
ok=stampede:activate(my_stampede).

%% ... Wait and see what happens ...

%% Stop stampede
ok=stampede:stop_herd(my_stampede).

About

Application Resilience Testing

Resources

License

Stars

Watchers

Forks

Packages

No packages published