Taking a look at prefect to offload work from the ...
# prefect-getting-started
v
Taking a look at prefect to offload work from the UX. I'm just trying to compose up a prefect server (works), my app, and prefect worker. In any attempt the worker cannot register X number of different flows for itself. using the serve fn for a flow always fails. Is this an odd use case?
n
hi @Vince Roche - can you be more specific about what you tried? in general though: • workers check the server for scheduled deployments from the work pool its subscribed to •
serve
circumvents the need for a worker, because it itself starts a process that listens for / executes scheduled runs. the drawback is that you have to know the full set of deployments (which is just 1 if you do
my_flow.serve(...)
as opposed to `serve(*deployments)` ) it can run when you start the process, unlike a worker who can live forever and execute any deployments assigned to its work pool