apptension / saas-boilerplate

SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead of coding repeatable features!

Home Page:https://apptension.com/saas-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Celery workers to the stack

pziemkowski opened this issue · comments

Description

Following our plan to simplify the stack and allow deployment to VPS, thus limiting hard dependency on AWS I suggest we add Celery workers to handle asynchronous tasks.

In the future we should migrate all asynchronous jobs from Serverless Framework to Celery.
We'll keep Serverless Framework in the stack anyway, because it's still a useful tool for teams developing products in AWS but Celery should be the default task queue.

Describe the solution you'd like

Add Celery configuration to Django project.

Add infrastructure code to deploy Celery to AWS ECS based on the backend docker image.

Add Celery beat service.

Add a single default queue service.

Configure Celery workers on local machine.

Describe alternatives you've considered

No response

Additional context

No response

Validations