Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Celery workers to the stack #493

Open
4 tasks done
pziemkowski opened this issue Mar 5, 2024 · 0 comments
Open
4 tasks done

Add Celery workers to the stack #493

pziemkowski opened this issue Mar 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request python Pull requests that update Python code
Milestone

Comments

@pziemkowski
Copy link
Member

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

@pziemkowski pziemkowski added enhancement New feature or request python Pull requests that update Python code labels Mar 5, 2024
@pziemkowski pziemkowski self-assigned this Mar 5, 2024
@pziemkowski pziemkowski added this to the 2.7.0 milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code
Projects
None yet
Development

No branches or pull requests

1 participant