Questions tagged [Celery] (114)

1
answer

Django AWS lambda alternative to Celery?

I have a Django app on AWS-lambda. And I need to implement sending of the questionnaire in the given time. What AWS that can be implemented?
chauncey_Dach asked April 8th 20 at 01:46
3
answers

How to divide two task queues Celery in Django? What needs to change?

"settings.py" CELERY_BROKER_URL = 'redis://localhost:6379' CELERY_RESULT_BACKEND = 'redis://localhost:6379' CELERY_ACCEPT_CONTENT = ['application/json'] CELERY_RESULT_SERIALIZER = 'json' CELERY_TASK_SERIALIZER = 'json' "celeryapp.py" from __future__ import absolute_import, unicode_literals import os from celery import Cele...
diana14 asked April 4th 20 at 13:46
1
answer

How to perform load memory on the stack Redis/Celery?

You have a project in Django, when you receive certain Tasca for processing, increasing the ram consumption, sometimes the redis server crashes completely, which drops all further steps that need to be processed Celery. Tell me, what tools or commands I can test step by step potreblenie memory since sending Tasca from Djang...
Lenora.Ortiz asked April 4th 20 at 12:28
0
answer

Connecting the debugger to the VSCode Docker container with the Celery?

How to connect a debugger to the VSCODE Docker container in which revolves a Celery worker? There is a ready config or manual, the type that connect a debugger to Django
Destini_Zie asked April 4th 20 at 01:26
1
answer

How to configure 2 separate queues to process tasks, starting the service on the same port?

How to distinguish between the queue configure and run workarou so short tasks are not standing in line for long tasks?General description Restful backend written on flaska. 3 endpoint. Working asynchronously through a single port. 2 of them handle the task fast, 1 - long. You need to separate them so that for short proble...
jessy.Schuste asked April 4th 20 at 01:24
1
answer

Whether to use WebSocket in this implementation?

Good time! Began the task to implement the following functionality: requires that when a user visits a website it blocked for others. In the current implementation, use the server raised in AIOHTTP and communicate with the frontend through WebSocket. You also need to check whether the user performs any action, if some time ...
muriel_Huel asked April 4th 20 at 01:24
1
answer

Django: how to make the changing the status of the download using Celery?

The essence of the problem is that there is a form for file upload with upload status. You need to after downloading the file, its status was Pending, and after a few seconds changed to Success. models.pyclass UploadFile(models.Model): file = models.FileField() is_active = models.BooleanField(default=False) views.pydef ho...
Delta17 asked April 3rd 20 at 19:03
1
answer

Why is the forked task that is delivered more than an hour in django-celery + redis?

If an asynchronous task set for longer than an hour then it forks and executes 2 times. In the next iteration, each of these again is divided by 2 and so on... What the hell? This ONLY happens on tasks for longer hours
joana57 asked April 1st 20 at 16:58
2
answers

How to calculate the time to run the task?

I have a task which starts with a certain interval, for example 1 hour. I have the option to disable it, but if you turn back, it will start immediately, thereby knocking the previous time intervals. For example 10:05, 11:05, 12:05, (Off at 1:30) Start - 13:35. Expect a launch at 14:05. How can I start later at 14:05 instea...
winnifred asked March 31st 20 at 15:42
1
answer

Not running celery task in a django project?

In the console task is assigned and completes without error, but the problem code is not executed. What the hell?[2019-09-30 17:20:04,326 INFO/MainProcess] Received task: app.tasks.test[5abaa86c-35ab-46f7-a7ca-52bf4d11ad52] [2019-09-30 17:20:04,340 INFO/ForkPoolWorker-2] Task app.tasks.test[5abaa86c-35ab-46f7-a7ca-52bf4d11...
angus.Weber asked March 31st 20 at 14:19