Skip to content

An example of running multiple celery with each other consecutively

Notifications You must be signed in to change notification settings

hasanisaeed/sequential-celery-workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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!

About

An example of running multiple celery with each other consecutively

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages