@Marvin if I run task in the background, aka deferred task, does it run outside of a flow
n
Nate
10/21/2024, 2:20 PM
hi @Tri - it can run either inside or outside a flow!
t
Tri
10/21/2024, 2:24 PM
Hi @Nate, I'm new to Prefect, the deferred task section is still not very clear to me. Is it just mainly to schedule a task to run at a later time, in a flow?
https://docs.prefect.io/3.0/develop/deferred-tasks
n
Nate
10/21/2024, 2:27 PM
background tasks are a newer pattern in prefect which is similar to Celery in nature, ie
you have some webapp and it backgrounds requests to some workers that you can horizontally scale (examples)
if you're just getting started with prefect I'd encourage you check out the more traditional docs on running tasks concurrently
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.