Skip to content
Jon Freer edited this page Oct 10, 2022 · 1 revision

Running the demo

The demo currently has a dependency on Docker Compose, specifically the V1 version of the API (docker-compose not docker compose). I have plans to make the demo agnostic to your setup in the future, but simply haven't gotten to it yet. Feel free to put up a PR to fix this if you'd like! 🔌

Once you have Docker Compose installed and your machine responds to docker-compose, give the following command a run:

make demo

This should compile the project and spin up containers for Graphite and Grafana images. The console will print out instructions on how to view the dashboard.

It is worth noting that the image for Grafana is an older version in order to facilitate the original configuration to bootstrap the data sources, dashboards, etc.

How it works

The demo was designed to give a very high level view of what various metrics look like when work unit operations are performed. The demo currently is implemented with the following configuration:

  • a maximum latency of 150ms per data mapping operation (insert, update, delete)
  • attempt 500 saves
  • a maximum of 50 entities per work unit operation (add, alter, remove)
  • encounter both success and failure scenarios

Clone this wiki locally