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

Automatically fetch runs from archives #60

Merged
merged 5 commits into from
Jan 17, 2020
Merged

Automatically fetch runs from archives #60

merged 5 commits into from
Jan 17, 2020

Conversation

as2388
Copy link
Member

@as2388 as2388 commented Jan 10, 2020

Automatically fetches runs from archives when necessary. Works as a drop-in replacement for previous versions of Rapid Pro Tools in the pipelines.

Main caveat is that it does some unnecessary work, e.g.:

  • Will fetch all archives once for each flow, so expensive when starting up.
  • Fetches archives known to be empty.
  • Pipelines request all runs since the modification date of the most recent run in that flow when running incrementally. This means for the oldest runs, time will be wasted searching in more recent archives, because the most recent update will fall in the archive period, which will hurt the performance of incremental fetching.

But better to get something that works than pre-optimise.

Takes <1 hour to fetch all data for WorldBank (7 flows from 2 different TextIt instances).

Copy link
Contributor

@IsaackMwenda IsaackMwenda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @as2388 .

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 this pull request may close these issues.

3 participants