Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

feat: dependencies prefetch #26

Merged
merged 1 commit into from
Mar 1, 2022
Merged

Conversation

johanneswuerbach
Copy link
Owner

@johanneswuerbach johanneswuerbach commented Mar 1, 2022

Calculating the dependencies can take multiple minutes so allow prefetching dependencies in the background.

This relies on the fact that the dependency query is already using the athena query cache, so running it once per query TTL and relying on the cache for storing the result is enough.

The cache is also used to ensure that not multiple processes are re-running the same query before it actually expired.

@johanneswuerbach johanneswuerbach merged commit e3e24d3 into main Mar 1, 2022
@johanneswuerbach johanneswuerbach deleted the dependencies-prefetch branch March 1, 2022 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant