Polyaxon comes with a Celery scheduler that can be enabled for scaling and processing background tasks. The Celery scheduler is disabled by default, we suggest that most users should first try to scale and tune the API first, and then enable the schedule if they feel that it will bring more performance to their system.
the Celery scheduler can be enabled if:
- Your deployment expects a large number of operations.
- You are using Polyaxon SDKs to consume events from an external system and start jobs programmatically.
In order to use the scheduler you need to enable a broker, Polyaxon provides two options for that:
You can now enable the scheduler and optionally change the default values:
scheduler: enabled: true ...
Polyaxon provides several options for tuning Celery, please check this guide.