Sample of using Celery in python.
celery -A tasks worker -l INFO
python tasks.py
celery flower -A tasks --broker=amqp://guest:guest@localhost:5672//
celery -A tasks beat
celery -A tasks worker -l INFO --pool=solo --concurrency=1
celery -A tasks worker -l INFO --pool=eventlet --concurrency=500
perfork
=> CPU-Bound
solo
=> Whole CPU
eventlet
=> IO-Bound
Download Source Code: Click Here
My Github Account: Click Here