The Worker app of the PDF Aggregation Service.
Go to file
Lampros Smyrnaios 393c9e037e Add missing import. 2024-11-13 20:02:03 +02:00
gradle/wrapper - Use newer api form "PublicationsRetriever" software. 2024-11-13 19:10:05 +02:00
src Add missing import. 2024-11-13 20:02:03 +02:00
.gitignore - Update the "installAndRun.sh" script to be able to just run the app (without re-installing), if you want. 2021-09-09 16:28:58 +03:00
LICENSE - Automatically use the latest version of "publications_retriever" software from the Nexus maven-repository. 2024-02-08 18:33:18 +02:00
README.md - Update README. 2024-04-26 13:36:41 +03:00
build.gradle - Use newer api form "PublicationsRetriever" software. 2024-11-13 19:10:05 +02:00
createSwapStorage.sh - Automatically use the latest version of "publications_retriever" software from the Nexus maven-repository. 2024-02-08 18:33:18 +02:00
gradle.properties - Use newer api form "PublicationsRetriever" software. 2024-11-13 19:10:05 +02:00
gradlew - Use newer api form "PublicationsRetriever" software. 2024-11-13 19:10:05 +02:00
gradlew.bat - Use newer api form "PublicationsRetriever" software. 2024-11-13 19:10:05 +02:00
installAndRun.sh - Use newer api form "PublicationsRetriever" software. 2024-11-13 19:10:05 +02:00
settings.gradle - Fix the project's name inside "settings.gradle". 2021-09-22 17:06:30 +03:00

README.md

UrlsWorker

Jenkins build status

The Worker's Application, requests assignments from the Controller and processes them with the help of the PublicationsRetriever software and downloads the available full-texts.
Then, it posts the results to the Controller, which in turn, requests from the Worker, the full-texts which are not already found by other workers, in batches.
The Worker responds by compressing and sending the requested files, in each batch.

Multiple instances of this app are deployed on the cloud.
We use Facebook's Zstandard compression algorithm, which brings very big benefits in compression rate and speed.


To install and run the application:

  • Run git clone and then cd UrlsWorker.
  • Set the preferable values inside the application.properties file.
  • Execute the installAndRun.sh script.

Notes:

  • If you want to just run the app, then run the script with the argument "1": ./installAndRun.sh 1. In this scenario, the SpringBoot-app will not be re-built.