Celery, an asynchronous distributed task queue for Python, is now supported natively on Vercel. Tasks are executed as Vercel Functions and automatically scale with traffic.
By default, task results are stored in Runtime Cache, which is sufficient for small data sizes and relatively short workflow runtimes. For workloads that require stronger persistence guarantees, more storage or longer retention, a durable result backend can be configured.
Celery workers can be declared as
When running on Vercel, the vercel:// broker is automatically installed and to use Vercel Queues, and the default Celery broker_url is set to
Read more
Continue reading...
By default, task results are stored in Runtime Cache, which is sufficient for small data sizes and relatively short workflow runtimes. For workloads that require stronger persistence guarantees, more storage or longer retention, a durable result backend can be configured.
Celery workers can be declared as
subscribers in pyproject.toml.When running on Vercel, the vercel:// broker is automatically installed and to use Vercel Queues, and the default Celery broker_url is set to
vercel://. Celery workloads on Vercel use Fluid compute with Active CPU pricing by default. This means your Celery workers will automatically scale up and down based on traffic, and you only pay for what you use. Deploy Celery workloads on Vercel or visit the Python runtime documentation.Read more
Continue reading...