Sharing expensive resources (objects) between run in the worker #15673
Unanswered
gigaverse-oz
asked this question in
General
Replies: 1 comment 5 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.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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