Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve upload handling #39

Open
stijnvanhoey opened this issue Sep 21, 2017 · 2 comments
Open

Improve upload handling #39

stijnvanhoey opened this issue Sep 21, 2017 · 2 comments
Assignees

Comments

@stijnvanhoey
Copy link
Collaborator

In order to speed up the uploads towards the S3, the handling of multiple files at the same time would be a huge improvement.
A first option would be working with async, but as the boto3 libraryr currently not yet support async handling, this approach will yet fail to work. Working with multiple threads or working parallel would be an valid option to implement.

@stijnvanhoey stijnvanhoey self-assigned this Sep 21, 2017
@peterdesmet peterdesmet transferred this issue from enram/data-repository Apr 17, 2023
@peterdesmet
Copy link
Member

@stijnvanhoey This is an old issue from data-repository. Is this implemented in any way in vptstools?

@peterdesmet peterdesmet added this to the AWS deployment milestone May 8, 2023
@stijnvanhoey
Copy link
Collaborator Author

The vpts-creation has been implemented parallel (using multiple processes, see https://github.com/enram/vptstools/blob/main/src/vptstools/vpts.py#L256-L264), the handling of multiple daily/monthly files at the same time has not. This was technically possible, but the foreseen server only had 1 core and very limited RAM. e.g. the vpts-creation uses the single core and parallelism is not used operationally.

This could be updated within the context of the new deployment. Each daily-file creation is self-sustained and could be parallelized instead of run in a for-loop. This would require some refactoring from the vph5-CLI though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants