Versions Compared

Key

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

Platform Profile: 

Repository Profile:

Setup Profile:

Benchtool

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

...

Create Property Test Matrix

Workflow profile:  Test - Workflow Profile: Benchtool Property Create

Benchtool command (one thread): 

java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1K -n 10000 -t 1 -a ingest -pp
ThreadsObjectsContainers

BinaryDatastream
Size

Create Property Time (ms)

1100001KB2,031,308 ms
2100001KB1,939,065 ms
4100001KB1,880,343 ms
8100001KB1,911,114 ms

Read Property Test Matrix

Workflow profile:  Test - Workflow Profile: Benchtool Property Read

Benchtool command (one thread): 

java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1K -n 10000 -t 1 -a read -pp
ThreadsObjectsContainers

BinaryDatastream
Size

Read Property Time (ms)

1100001KB32,299 ms
2100001KB17,541 ms
4100001KB11,097 ms
8100001KB10,271 ms

Update Property Test Matrix

Benchtool command (one thread):

java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1K -n 10000 -t 1 -a update -pp
ThreadsObjectsContainers

BinaryDatastream
Size

Update Property Time (ms)

1100001KB2,073,580 ms
2100001KB1,907,739 ms
4100001KB2,051,586 ms
8100001KB1,887,010 ms

Delete Property Test Matrix

Workflow profile: Test - Workflow Profile: Benchtool Property Delete

Benchtool command (one thread):

java -jar target/bench-tool-0.0.1-SNAPSHOT-jar-with-dependencies.jar -f http://saez:8080 -s 1K -n 10000 -t 1 -a delete -pp
ThreadsObjectsContainers

BinaryDatastream
Size

Delete Property Time (ms)

1100001KB1,998,672 ms
2100001KB1,850,666 ms
4100001KB2,064,493 ms
8100001KB1,890,930 ms

 

CRUD Concurrent Integration Test

Running CRUD integration tests (FedoraCrudConcurrentIT.java in fcrepo-http-api) for simple objects and small content files CREATE, UPDATE, DELETE and RETRIEVE with 2, 4, 8, 16, 32 concurrent threads.

...

ms

...

Test result started with threads [2, 4, 8, 16, 32]:

ThreadsCreateUpdateRetrieveDelete
224214835833
434322021
844311717
1627311518
32283312130

Image Removed

 

Test result started with threads [32, 16, 8, 4, 2]:

ThreadsCreateUpdateRetrieveDelete
32136831718
1638271215
818231414
418231113
22217710143

Image Removed

Average CRUD response time (ms) for content files

Test result started with threads [2, 4, 8, 16, 32]:

ThreadsIngestUpdateRetrieveDelete
2248741229
482531224
85752821
166139829
327169935194

 

Image Removed

Test result started with threads [32, 16, 8, 4, 2]:

ThreadsCreateUpdateRetrieveDelete
328156823
166856817
85530521
44834616
21108385297

 

Image Removed

...