java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory \
-jar target/vertx.io.3-1.0-SNAPSHOT-uber.jar
-- you need to create post.data file with the post data
-- note the negative correlation between throughput and number of connections after the tipping point of 5
ab -n 10000 -c 5 -p post.data -T application/json "http://localhost:10080/v1/fetch/1"
If you want to simulate DB or blocking call dependency, use the property "wait.factor". It uses the gausian distribution to simulate the waits.
java -Dwait.factor=10 \
-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory \
-jar target/vertx.io.3-1.0-SNAPSHOT-uber.jar