hey good stuff till now but this just doesn't feel realistic and useable copying tasks into celery worker is there a better approach can't we access the django volume inside the celeryworker and import the tasks from the volume or any other way than this.
@mbumbamwalila4224 Жыл бұрын
Nice tutorial! I have one question: Is there a way to push messages to the queues and standalone workers will pick them automatically with no code replication? like a publisher and subscriber (consumer)? I found the implemented approach unrealistic in a big project where you need to copy your tasks to the workers
@veryacademy Жыл бұрын
Yeah, celery can just be installed and run without the need for any other dependency or framework. I did show a basic setup nearer the start of this series. I will get some examples made up over the next weeks to add to the course and will add here on the channel of celery used in that way.
@muhammad-bilal111 ай бұрын
@VeryAcademy: Can you please make a tutorial on the following ---> My plan is distribute the load from PC1 from PC2, so I am trying to move my Celery Beat/Worker & Redis from PC1 to PC2. So far, I configured my Redis over PC2 and it's working fine. I am able to access the Redis from PC1 by putting the IP of my PC2 in Redis connection information. Upon running the celery beat celery beat -l debug and celery worker -l debug beat and worker are running, but when I schedule a task from my Django application, I am getting a message that worker got an unregistered task. *How can I link my celery to my Django application, so it gets the tasks of my Django application and works?*
@radhikaradhika383 Жыл бұрын
Hi sir, can u help me? I have imported excel sheet in django database, "now i have to insert the email which should trigger the message when the specific date ends" How to do it sir?
@LongLe-mh1lu Жыл бұрын
Yeah, the standalone can execute a task without copying the Django code base into it, but it looks like it only executed tasks that have not used the ORM or table in Django like User,... If I want to use these tables in the Django database. How we can use celery for this case?
@veryacademy Жыл бұрын
I think it’s important to remember that it isn’t a Django database it is a database. You can still interact with the db from a celery worker server.