Changes

Summary

  1. - Reduce threads-blocking in bulkImport procedures, by unifying the "eventAdding" and the "writeToReportFile" operations to reduce consecutive locks. (details)
Commit 58a9404578e234f796d04644f2d9640702494b05 by Lampros Smyrnaios
- Reduce threads-blocking in bulkImport procedures, by unifying the "eventAdding" and the "writeToReportFile" operations to reduce consecutive locks.
- Improve efficiency in the "writeToReportFile"-operation, by writing every 5 events, and eliminating double-buffering and necessary object-creation.
- Increase the "numOfThreadsForBulkImportProcedures" property to 16.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/models/BulkImportReport.java (diff)
The file was modifiedsrc/main/resources/application.yml (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/controllers/BulkImportController.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/BulkImportServiceImpl.java (diff)