This performance suite should be able to run a defined set of tests to validate the proper performance of Stratio Decision application. The performance suite will do the following steps:
- Start a Zookeeper Docker Instance
- Start a Kafka Docker Instance
- Start a Decision Docker instance
- Load the required configuration queries
- Run the code to load data thru Kafka
- Get the Decision stats using JMX
- Get the result count reading from Kafka
- Shutdown the environment
docker run -d -p 172.17.42.1:53:53/udp --restart=always --name skydns crosbymichael/skydns -nameserver 8.8.8.8:53 -domain dev docker run -d -v /var/run/docker.sock:/docker.sock --restart=always --name skydock crosbymichael/skydock -ttl 30 -environment local -s /docker.sock -domain dev -name skydns
docker pull qa.stratio.com:5000/stratio/streaming:latest
docker run -d -p 172.17.42.1:53:53/udp --restart=always -i crosbymichael/skydns -nameserver 8.8.8.8:53 -domain dev docker run -d -v /var/run/docker.sock:/docker.sock --restart=always -i crosbymichael/skydock -ttl 30 -environment local -s /docker.sock -domain dev -name skydns
docker run -dit --name zk --hostname zk.zookeeper.local.dev qa.stratio.com:5000/zookeeper:3.3.6 docker run -dit --name kf --hostname kf.kafka.local.dev --env "ZK_CONNECT=zk.zookeeper.local.dev" qa.stratio.com:5000/kafka:0.8.1.1
docker run -dit --name dec --hostname dec.decision.local.dev qa.stratio.com:5000/stratio/decision:latest