Member-only story
Tasks Scheduling in Django with Redis and Celery Part(II)
What is Celery ,Celery Beat and Celery Results
Hey Folks, Today we are going to learn something about celery so first question is
Why is Celery useful?
Task queues and the Celery implementation in particular are one of the trickier parts of a Python web application stack to understand.
If you are a junior developer it can be unclear why moving work outside the HTTP request-response cycle is important. In short, you want your WSGI server to respond to incoming requests as quickly as possible because each request ties up a worker process until the response is finished. Moving work off those workers by spinning up asynchronous jobs as tasks in a queue is a straightforward way to improve WSGI server response times.
How celery works?
We know that Django only handle Request and response if we want to schedule our task then we need third party application like — Crontab , Celery
So that we are going to use celery for it,