Sharing expensive resources (objects) between run in the worker #15673
Replies: 2 comments 10 replies
-
Thanks for opening a discussion @gigaverse-oz! Your analysis of what Prefect currently offers for your use case is quite exhaustive. I think a few minor changes could make Prefect suitable for your use case. Before brainstorming what those changes are, can you elaborate on this question?
We currently support asynchronous flows, but is this question more related to the dispatch of flow runs for a deployment? Said another way, do you want a worker that manages all flow run executions via a single event loop? |
Beta Was this translation helpful? Give feedback.
-
Just out of curiosity @gigaverse-oz, how long does it take for a flow run to start on EKS compared to a flow deployed using |
Beta Was this translation helpful? Give feedback.
-
Hello,
We’re exploring Prefect for orchestrating our longer tasks. We currently use Kafka and are pleased with its capabilities, but we hope Prefect could provide additional features, such as:
In addition, we have these critical requirements:
Our workloads are largely I/O-based, so concurrency is essential, especially for sharing expensive resources.
We reviewed Prefect’s task and flow concepts, and each has pros and cons but none fully meet our needs:
Are there additional features or approach we might have missed? Do you plan to support single-threaded (asyncio-based) flows for I/O-heavy workloads? We believe this could help with flow latency.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions