Skip to content

Case Studies Setup

dmonsch edited this page Mar 23, 2021 · 3 revisions

First of all, please install Maven and Gradle, so that the respective commands are available from command line. See the instructions for Gradle here and the instructions for Maven here. In addition, you need Docker installed and running.

The first step for setting up both case studies is identical. It is necessary to prepare the Docker images which includes threetasks:

  1. Clone this repository on your local machine.
  2. Navigate to the parent Gradle project within your favorite command line tool (the parent Gradle project is "cipm.consistency.root" within the cloned repository).
  3. Execute gradle prepareDocker which builds all projects and creates the Docker image files for both case studies.

TeaStore Setup

The following steps are necessary to setup the TeaStore case study together with our approach:

  1. Navigate to the "cipm.consistency.tools.evaluation.docker" project within the parent project.
  2. Further navigate to the "teastore" folder.
  3. If you have never built the Docker images before (usually when you execute this steps for the first time), execute the scripts "built-cipm-images" and "built-teastore-images" (use the .sh scripts or the .bat scripts, depending on your OS).
  4. Starting up the Docker images by executing either the "execute-with-change-scenarios" or the "execute-without-change-scenarios" script, depending on the considered use case. The experiment then runs for round about 200 minutes and when it is finished, all resulting data is stored within the "experiment-results" folder. You can access the TeaStore Web UI while the experiment is running under http://localhost:8080/tools.descartes.teastore.webui/ and the web interface of our approach can be accessed at http://127.0.0.1:8090/.
  5. The experiment results can be used to evaluate the model accuracy, prediction accuracy and the monitoring overhead of our approach. Please consult the Evaluation Goals and Results page in the Wiki to learn about the results and how the collected data can be used to get evaluation insights.

CoCoME Setup

The following steps are necessary to setup the CoCoME case study together with our approach:

  1. Navigate to the "cipm.consistency.tools.evaluation.docker" project within the parent project.
  2. Further navigate to the "cocome" folder.

Clone this wiki locally