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

Orchestration/scheduler/pre-cache #1152

Closed
greenape opened this issue Aug 14, 2019 · 0 comments · Fixed by #1284
Closed

Orchestration/scheduler/pre-cache #1152

greenape opened this issue Aug 14, 2019 · 0 comments · Fixed by #1284
Labels
enhancement New feature or request FlowAPI Issues related to the FlowKit API FlowMachine Issues related to FlowMachine

Comments

@greenape
Copy link
Member

Because we don't allow any control over cache from FlowAPI, it would be desirable if a level of automatic pre-caching/scheduling/orchestration was applied to queries from that source.

There's quite a long way one can dive into this, but I think an initial approach which unrolls the query graph and does a traversal up it would be acceptable. I'd be inclined to say we want to be a little smart, and at least not trigger caching if there's no direct reason to do so for the outer query (i.e. query-to-return is an aggregate of a modal, modal is cached but daily aren't - right thing to do there is not to cache the daily).

I'd also be inclined to make this a behaviour that can be switched on or off via env var.

@greenape greenape added enhancement New feature or request FlowMachine Issues related to FlowMachine FlowAPI Issues related to the FlowKit API labels Aug 14, 2019
@mergify mergify bot closed this as completed in #1284 Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request FlowAPI Issues related to the FlowKit API FlowMachine Issues related to FlowMachine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant