Integarting Celery with Django to asynchronous tasks
πŸ“ƒ

Integrating
πŸ”—
Celery with Django via Redis server ,To-Do asynchronously
πŸ‘€
task without stopping the main-flow
πŸ“ƒ
of Django-project . It increase your speed
πŸš€
and user experience
🀡
of website . This repo explain how to setup Celery,and integrate it with the Django-Framework.

Note : Steps to steup Celery on production-side is different

🏁
Reference link to setup Celery on production side

Approach
🏁

Celery package help us to asynchronous tasks on different worker
πŸ–₯️
,That is on Redis server. The Celery also have some great features in scheduling
πŸ•
task after a certain period of time. The tasks are excuted on different server (Redis server), and are not run on Django-Server.If we run long and complicated tasks on django server it will reduced the efficiency of website

Modern users expect pages to load instantaneously
⚑
, to solve this we consider many solutions like multiprocessing, multithreading
🧡
, asynchronous functions using async/await or the Message Queues.

Installation/Dependencies

Use the package manager pip to install the following modules and packages.

pip install Django

pip install celery

pip install redis

GitHub

GitHub - Developer-R-7/Celery-Integration-Django at pythonawesome.com
Integrating πŸ”— Celery with Django via Redis server ,To-Do asynchronously πŸ‘€task without stopping the main-flow πŸ“ƒ of Django-project . It increase your speed πŸš€ and user experience 🀡 of website - GitH...