Damian Birchler
03/21/2025, 7:56 PMflow.serve
twice for the same flow, from two different machines?Marvin
03/21/2025, 7:56 PMflow.serve
on the same flow from two different machines is not explicitly documented in Prefect 3.x. However, flow.serve
is designed as a long-running process to handle scheduled and remotely triggered runs. It may not be inherently designed to coordinate across multiple instances on different machines without additional setup or orchestration.
If you aim to run the same flow from multiple locations, consider using Prefect's deployment and orchestration features to schedule and manage the flow runs centrally. This can help avoid potential conflicts or inconsistencies.
For more details, you can refer to the documentation on running flows in local processes: Prefect 3.x Documentation.
If you have specific needs or constraints, such as high availability or load balancing, it might be worth exploring Prefect's cloud or server offerings for a more robust solution.Nate
03/21/2025, 11:14 PM