https://prefect.io
Join Slack
I'm new to Prefect, and have been experimenting with running flows on my local machine with a local ...
j

Jinho Chung

over 4 years ago
I'm new to Prefect, and have been experimenting with running flows on my local machine with a local server as well. So far things have been very intuitive! However I have another nodejs app running locally, and want to try to have that app call the local Prefect server to start a parameterized flow. I can start flows through the UI at localhost:8080 and I've been going through the documentation but things just haven't clicked and I'm not sure how to do this. (Additional disclaimer - I have virtually no experience with GraphQL which probably isn't helping). Thanks for the help and this amazing product!
j
a
  • 2
  • 2
  • 291
Hey all, has anybody successfully started a dask cluster + prefect on top of an existing spark clust...
e

Evan Curtin

over 4 years ago
Hey all, has anybody successfully started a dask cluster + prefect on top of an existing spark cluster (databricks)? I have a databricks cluster but want to use distributed prefect to schedule
e
a
k
  • 3
  • 7
  • 289
I want to ask the Dask Experts whether they can help identify a scheduler bottleneck I have experien...
v

Vincent

over 5 years ago
I want to ask the Dask Experts whether they can help identify a scheduler bottleneck I have experienced. I have a flow that schedules 22 parallel mapped jobs (each with 65 items) allowing for 1430 parallel jobs. When I schedule the job on an k8s cluster with 375 nodes (each with a worker that runs 4 threads), my scheduler throws messages out like the below. The CPU utilization of the scheduler also goes to 100%. These jobs ultimately die when all the workers get disconnected.
distributed.utils_perf - WARNING - full garbage collections took 10% CPU time recently (threshold: 10%)
...
distributed.core - INFO - Event loop was unresponsive in Scheduler for 7.07s.  This is often caused by long-running GIL-holding functions or moving large chunks of data. This can cause timeouts and instability.
...
distributed.comm.tcp - INFO - Connection closed before handshake completed
...
distributed.scheduler - INFO - Close client connection: Client-worker-3c6d8642-53b5-11eb-800e-32b98c347770
When I scale the job down to 250 nodes and 3 threads per worker, I still get 100% utilization, but it is slightly more stable. where the only warning messages is
distributed.utils_perf - WARNING - full garbage collections took 11% CPU time recently (threshold: 10%)
Thanks for any advice!
v
m
d
  • 3
  • 21
  • 290
<@ULVA73B9P> How to set Kubernetes Job resource limits on Prefect3
a

Avi

almost 2 years ago
@Marvin How to set Kubernetes Job resource limits on Prefect3
a
m
  • 2
  • 9
  • 288
Does anyone have a complete working example on how to use PrefectResult? Its simple: Scrape a websit...
t

Tony Liberato

over 4 years ago
Does anyone have a complete working example on how to use PrefectResult? Its simple: Scrape a website for a link, if the link is different than the prefect result, download it and save the new link as the result. Otherwise exit with "success: no work to be done". I don't want this to be a local result because we plan to move these flows off of a windows agent and into docker agent. Thanks in advance!
t
k
+2
  • 4
  • 23
  • 288
is there a way programatically to get a list of deployments in prefect? i know we can do ```prefect ...
r

Rajan Subramanian

over 4 years ago
is there a way programatically to get a list of deployments in prefect? i know we can do
prefect deployment ls
but i want to get all my created deployments...1000 of them and run them all. so im assuming i have to programatically execute prefect deployment run deploymenet_name for each deployment in my deployments
discourse 1
r
k
  • 2
  • 5
  • 287
<@ULVA73B9P> how can I automatically retry Crashed flow
m

Max Eggers

about 2 years ago
@Marvin how can I automatically retry Crashed flow
m
m
  • 2
  • 3
  • 286
<@ULVA73B9P> what are recommended specs for runing a local prefect server, with4-5 workpools wach wi...
k

Kevin Mach

about 2 years ago
@Marvin what are recommended specs for runing a local prefect server, with4-5 workpools wach with 2 workers
k
m
  • 2
  • 1
  • 285
Good morning <@ULVA73B9P> - I've seen this error twice now. The deployment finishes all tasks succes...
j

Jeff Garcia

11 months ago
Good morning @Marvin - I've seen this error twice now. The deployment finishes all tasks successfully, but the deployment is marked failed for this reason:
Concurrency lease renewal failed - slots are no longer reserved. Terminating execution to prevent over-allocation.
The first time I saw this there was an outage on the prefect status page having to do with concurrency so I thought it was related to this. But this happened last night and the status page shows nothing. What is this?
j
m
  • 2
  • 3
  • 284
Hi there, I noticed that the schedule option has disappeared from the UI Deployment page. After Frid...
i

Iryna

over 2 years ago
Hi there, I noticed that the schedule option has disappeared from the UI Deployment page. After Friday's updates, flows do not run on schedule. Is it a bug, or you move this option to a different place? The schedule will be deprecated in Sep 2024. Also, how can we be aware of the changes you make in advance? Thanks
i
j
c
  • 3
  • 9
  • 284
Previous212223Next

Prefect Community

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.

Powered by