# Starts http and memcached server
$ docker-compose up
# Starts clients (with Ganesha) that repeats http reqeuest to server
# It is recommended to run 3 or more clients
$ docker-compose run --rm client sh -c bin/run_client
Monitor your circuit
$ brew install watch
$ watch docker-compose run --rm client php monitor.php
Every 2.0s: php monitor.php
[ settings ]
time window : 20s
failure rate : 10%
minumum requests : 10
interval to half open : 5s
[ failure rate ]
current : 0 %
previous : 12.21 %
Setup
Run
Monitor your circuit