gperrone
11/16/2023, 5:32 PMMarvin
11/16/2023, 5:33 PMNate
11/16/2023, 5:34 PMgperrone
11/16/2023, 5:35 PMNate
11/16/2023, 5:38 PMNate
11/16/2023, 5:39 PMNate
11/16/2023, 5:41 PMemit_event
gperrone
11/16/2023, 5:43 PMdepending on the granularity that need task functionality (e.g. extreme case being, every request needs independent retries / caching)
with tons of tasks, usually you can sort of "checkpoint" functions that manage many subprocesses and can only succeed if all the contained subprocesses (e.g. regular python, run_deployment calls etc) also succeed and then you wrap those checkpoints with a task / subflow etc to create the shape of your workflow - does that make sense?I suppose not every API request needs the retries or error handling that tasks can provide, we are just refactoring a bunch of pipelines to leverage Prefect as much as possible (we used to have just one big flow) so I suppose we need to evaluate what makes sense for being a task and the tradeoffs between them. Right now it seems tasks may not be the best fit for this relatively straightforward use case.
gperrone
11/16/2023, 5:44 PMemit_event
before, so I will definitely look that up, we definitely want to introduce more observability wherever possible so this would be extremely helpful!gperrone
11/16/2023, 5:45 PMNate
11/16/2023, 5:54 PMNate
11/16/2023, 5:56 PMgperrone
11/16/2023, 8:12 PMgperrone
11/16/2023, 8:13 PMemit_event
contribute to one of the 400 requests per minute?