Hello everyone, I'm trying to find a way to do the task execution distribution on different server (batch and front). I would like my task to run with priority on my front server and if this one is not available I would like to run the task on the batch server. Do you know how I could do it?
z
Zach Angell
04/15/2021, 1:59 PM
Hi Mickael! Currently there's not a great way to do this in Prefect. We're looking into features around flow priority, and this may be available in the future. If you have any further details around your use case, we'd love to hear them as we think about this feature!
Labels on Flows can control which agent picks up task execution, but these aren't dynamic. https://docs.prefect.io/orchestration/agents/overview.html#labels
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.