Changes

Summary

  1. - Improve performance and efficiency by streaming the individual-files into the compressed-archive directly. Before, the individual-files were first put into a "tar" archive file which was saved on disk and then that file was used to generate the new compressed archive-file. (details)
Commit 538fcbd19dc18d090d4742e48026c7d4881bdf2e by Lampros Smyrnaios
- Improve performance and efficiency by streaming the individual-files into the compressed-archive directly. Before, the individual-files were first put into a "tar" archive file which was saved on disk and then that file was used to generate the new compressed archive-file.
- Reduce disk-space usage by deleting all individual html-files after the ".tar.gz" archive has been created.
The file was modifiedsrc/main/java/eu/openaire/urls_worker/controllers/HtmlController.java (diff)
The file was removedsrc/main/java/eu/openaire/urls_worker/models/TarFileResult.java
The file was modifiedsrc/main/java/eu/openaire/urls_worker/util/FilesCompressor.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_worker/controllers/FullTextsController.java (diff)