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

pygac-fdr-mda-collect should write checkpoints for restarts #25

Open
carloshorn opened this issue Aug 26, 2020 · 1 comment · May be fixed by #31
Open

pygac-fdr-mda-collect should write checkpoints for restarts #25

carloshorn opened this issue Aug 26, 2020 · 1 comment · May be fixed by #31

Comments

@carloshorn
Copy link

Since the application runs for several hours, it could be useful to be able to restart from a checkpoint in case of an interruption.
Currently pygac-fdr-mda-collect collects all metadata in memory and at the end dumps this data into a database.
If it would write into the database every N files, and check if the file is already listed in the database before processing, it could be possible to restart the application.
Another benefit would be a reduction of memory consumption which currently grows to some GBs.

@sfinkens
Copy link
Member

sfinkens commented Sep 8, 2020

Good idea!

@carloshorn carloshorn linked a pull request Sep 11, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants