Skip to content
This repository was archived by the owner on May 27, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (24 loc) · 1.58 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.58 KB

PERFORMANCE SUITE

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

Boot auxiliary containers (first time)

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

Start existing images

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

Start Zookeeper & Kafka images

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

Start Decision image

docker run -dit --name dec --hostname dec.decision.local.dev qa.stratio.com:5000/stratio/decision:latest