Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Project runnable #3

Open
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

ErikSimonsen
Copy link

@ErikSimonsen ErikSimonsen commented May 10, 2021

Made the project runnable after executing the steps listed in the README.MD, as there are some problems when you want to execute the benchmark.yaml script (mostly due to deprecations) after following the recommended setup:
Note: The commits are often redundant and a little bit over the place, as it often took me a while to find the error causes, sorry for that.
README.md

  • Updated Wrk Version to build from (with Version 0.4.1 there will be an SSL Exception)
  • Added the dependency zlib-devel to be able to build wrk
  • Tried to specify the README steps, to further clarify what to install on what machine (assumed there are 3 hosts/machines: yours, client, server)
  • changed the order of parameters for processResults.sh (as it was different from the order in the script itself)

pom.xml

  • changed the quarkus.plugin version to 1.13.1.Final, so that maven can build the project
  • moved the packaging of the uber file from the qDup script to the pom.xml files (as suggested by the official quarkus documentation), because the command from the qDup script would not build an uber-jar anymore (deprecated?)

Dockerfile.jvm

  • changed the docker openjdk versions to the latest LTS (Version 11, they do not have an alpine image sadly), as sdkman is not able to get Version 14 from OpenJDK anymore

VertxRoute.java

  • changed deprecated RequestObj to RequestWrapper object

benchmark.yaml

  • added path to timing script (otherwise it can't be found from the root repository directory)
  • changed wrk2 to wrk, because wrk2 is no binary name (assuming you followed the steps to build wrk from sources) and therefore the command can't be found
  • removed unnecessary slash-character after server and client file path
  • changed java version to lts java version as sdkman can not install open-jdk-14 anymore from its repository

timing.js

  • added one more equal-sign character to silence ide warning

…ject), removed a unnecessary slash in server and client path.

Changed parameters to my needs
…rmal value and updated surefire plugin version
…-open as it is not provided from any vendor anymore).
Unsure how this project even ran because the jar that was built trough the buildCmd did not have the "-runner" suffix, and therefore the .jar could not get copied inside the docker container
… the dockerfiles anyways, and otherwise it will always be ignored because it does not have the -runner suffix
…chmark.yaml did not generate an Uber-Jar (outdated maybe?) with -DbuildUberJar=true, however i added the uber-jar package type to the pom.xml files and (again) modified the targetJar names (which now have the -runner affix due do the uber-jar). Now the .jar that is built with normal ./mvnw clean package is an uber-jar and can be executed without an manifest error. (maybe change this later to not be an uber-jar anymore, however then i have to also change the Dockerfile.jvm)
…chmark.yaml did not generate an Uber-Jar (outdated maybe?) with -DbuildUberJar=true, however i added the uber-jar package type to the pom.xml files and (again) modified the targetJar names (which now have the -runner affix due do the uber-jar). Now the .jar that is built with normal ./mvnw clean package is an uber-jar and can be executed without an manifest error. (maybe change this later to not be an uber-jar anymore, however then i have to also change the Dockerfile.jvm)
… setup applications (client-host, server-host, and machine to start the qDup Script from and generate the graphs; however this can also be done on the client-host and server-host themselves if they have good enough hardware).
merged master into project_runnable (added .dockerignore files)
@ErikSimonsen ErikSimonsen changed the title Project runnable Make Project runnable May 10, 2021
…e data will be calculated wrong, because the files generated by top and wrk use a comma as decimal separator instead of a point
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant