Bebeto Nyamwamu
06/19/2023, 10:21 AMJeff Hale
06/19/2023, 10:40 AM…flow runs can now be prioritized among work queues via work pools! Work pools allow you to organize and prioritize work by grouping related work queues together. Within work pools, you can assign a priority to each queue, and flow runs scheduled on higher priority work queues will be run before flow runs scheduled on lower priority work queues. This allows agents[/workers] to prioritize work that is more important or time-sensitive even if there is a large backlog of flow runs on other work queues in a given work pool.
All existing work queues will be assigned to a default work pool namedI encourage you to upgrade to 2.10.15 so that you can create work pools with. Creating a new work pool can be done via the Work Pools page in the UI or via the CLI.default-agent-pool
prefect deploy
and from prefect.yaml
files. The experience should be much nicer. Any feedback is appreciated. Note that workers and work pools are in beta, but nearing GA.
I assume you use agents as systemd services? If so, you could do the same with workers.Bebeto Nyamwamu
06/19/2023, 11:59 AM