https://github.com/hasanisaeed/sequential-celery-workers
An example of running multiple celery with each other consecutively
https://github.com/hasanisaeed/sequential-celery-workers
celery celery-task celery-tasks celery-workers
Last synced: 4 months ago
JSON representation
An example of running multiple celery with each other consecutively
- Host: GitHub
- URL: https://github.com/hasanisaeed/sequential-celery-workers
- Owner: hasanisaeed
- Created: 2022-11-12T17:01:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T06:34:25.000Z (over 3 years ago)
- Last Synced: 2025-04-13T18:43:12.572Z (about 1 year ago)
- Topics: celery, celery-task, celery-tasks, celery-workers
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Scenario:
> Three different projects that work together!
- `c1` send data to `c2`
- `c2` receive data from `c1` and send data to `c3`
- `c3` receive data from `c2` and return results to `c2`
- `c2` return results to `c1`
### Run celery workers in their folders
```bash
cd c1/
python main.py # run main file to start sending data
celery -A tasks worker -l INFO
cd c2/
celery -A tasks worker -l INFO
cd c3/
celery -A tasks worker -l INFO
```
> Warning: update your `broker` and `backend` urls!