The Worker app of the PDF Aggregation Service.
Go to file
Lampros Smyrnaios f2983e2a23 - Set new version.
- Update dependencies.
2025-02-11 21:54:53 +02:00
gradle/wrapper - Set new version. 2025-02-11 21:54:53 +02:00
src Transform the "application.properties" file to "application.yml" and update the naming scheme. 2025-02-11 21:53:35 +02:00
.gitignore
LICENSE
README.md
build.gradle - Set new version. 2025-02-11 21:54:53 +02:00
createSwapStorage.sh
gradle.properties
gradlew - Upgrade project to use Java-17. 2025-01-11 14:32:38 +02:00
gradlew.bat
installAndRun.sh - Set new version. 2025-02-11 21:54:53 +02:00
settings.gradle

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.