Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The benchmarking tool is available on github: https://github.com/futuresfcrepo4-labs/benchtool

Code Block
git clone git@github.com:futuresfcrepo4-labs/benchtool.git
cd benchtool
mvn install

...

Benchtool command (one thread): 

no authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a ingest
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a ingest -u adminuser -p turnip2

ThreadsContainers

Binary

ThreadsObjects

Datastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110001MB 535,091 ms510,248 ms
210001MB 464,909 ms408,316 ms
410001MB 402,695 ms387,168 ms
810001MB 393,567 ms384,786 ms

Read Test Matrix

...

Benchtool command (one thread): 

no authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a read
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a read -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110001MB 8504 ms6481 ms
210001MB 4343 ms3299 ms
410001MB 4409 ms3463 ms
810001MB 3910 ms3472 ms

Update Test Matrix

...

Benchtool command (one thread):

no authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a update
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a update -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110001MB 200,431 ms174,545 ms
210001MB 137,125 ms124,240 ms
410001MB 141,977 ms128,048 ms
810001MB 135,004 ms149,371 ms

Delete Test Matrix

...

Benchtool command (one thread):

no authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a delete
with authz: java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1048576 -n 1000 -t 1 -a delete -u adminuser -p turnip2
ThreadsObjectsContainers

BinaryDatastream
Size

AuthZ Time (ms)

No AuthZ Time (ms)
110001MB 126,261 ms112,387 ms
210001MB 96,281 ms92,130 ms
410001MB 100,309 ms92,542 195874 ms
810001MB 101,414 ms92,472 204004 ms