hobbit-project / platform

HOBBIT benchmarking platform
GNU General Public License v2.0
23 stars 9 forks source link

Make it possible to run benchmarks in local / custom environments #116

Open Aklakan opened 6 years ago

Aklakan commented 6 years ago

At present, it is difficult if not impossible to run a benchmark and/or reuse its components outside of the platform.

The essential concept to facilitate this issue is to use dependency injection.

Although a solution to this issue must be:

At a minimum the following parts have to be revised in order to achieve this goal:

smirnp commented 6 years ago

In https://github.com/hobbit-project/sml-benchmark there is a bunch of code, which emulates the online-platform behavior (dockerizes rabbitMq, benchmarkController and systemController) and allows to debug benchmark/system locally. RabbitMqDockerizer.java, Dockerizer.java may be helpful, others duplicates platformController logic I suppose.

denkv commented 2 years ago

I believe https://github.com/hobbit-project/java-sdk and https://github.com/hobbit-project/java-sdk-example are results of that. I would like to see a more templateable example, however, maybe even as a Maven Archetype.

https://github.com/dice-group/orca is another example of java-sdk usage.