-
Hi all, I am really liking the project. It would be great also for better industry adoption to present some benchmarks for the scheduling speed of the prefect agents vs other common scheduling frameworks. Compare to kubernetes cron jobs, local cron agents, airflow etc. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Could you explain what metric you're thinking of measuring to get "scheduling speed"? Flow runs are scheduled by a dedicated service and creating a scheduled run is unlikely to ever be a bottleneck. |
Beta Was this translation helpful? Give feedback.
-
We're not in control of the time it takes for the job to start running on your Kubernetes cluster or for a Docker container to start. These are dependent on lots of other factors. A simple example is the size of your runtime image and whether or not it has been pulled already can have drastic impacts on the amount of time it takes for the container to start running. At this point, you wouldn't be benchmarking Prefect, you'd be measuring the specific Kubernetes or Docker setup which I don't think provides much value. We can measure the scheduled time -> submitted time at which point the job has been submitted to external infrastructure like Kubernetes, but Prefect adds very little overhead there. |
Beta Was this translation helpful? Give feedback.
We're not in control of the time it takes for the job to start running on your Kubernetes cluster or for a Docker container to start. These are dependent on lots of other factors. A simple example is the size of your runtime image and whether or not it has been pulled already can have drastic impacts on the amount of time it takes for the container to start running. At this point, you wouldn't be benchmarking Prefect, you'd be measuring the specific Kubernetes or Docker setup which I don't think provides much value. We can measure the scheduled time -> submitted time at which point the job has been submitted to external infrastructure like Kubernetes, but Prefect adds very little overhead…