Old Release

This documentation covers an old version of Fedora. Looking for another version? See all documentation.

CRUD Concurrent Integration Test

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

The following test threads are executed exactly once. In other words, in the "2 threads" test, each of the two threads performs exactly one operation. Likewise with the "32 threads" test.

The test was performed on 2014-05-20 with the master branch at this commit: https://github.com/fcrepo4/fcrepo4/commit/8af7da1cce5c692d092b1228e8f8c8c1dbd0d06d

 

It can be seen that the tests below were run with threads numbering from 2 to 32. The resultant graphs show unexpected behavior at the beginning and the ending of most of these tests; hence the running of the tests twice: with both increasing and decreasing numbers of threads.

In any case, the strange behavior in the initial and final test runs indicates a probably issue with the testing framework.

 

Average CRUD response time (ms) for simple containers

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

ThreadsCreateUpdateRetrieveDelete
224214835833
434322021
844311717
1627311518
32283312130



 

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

ThreadsCreateUpdateRetrieveDelete
32136831718
1638271215
818231414
418231113
22217710143

 


Average CRUD response time (ms) for content files

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

ThreadsIngestUpdateRetrieveDelete
2248741229
482531224
85752821
166139829
327169935194

 

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

ThreadsCreateUpdateRetrieveDelete
328156823
166856817
85530521
44834616
21108385297

 

  • No labels