V
V
Vladimir Kuts2021-10-21 08:53:29
Django
Vladimir Kuts, 2021-10-21 08:53:29

What solutions to run asynchronous tasks in Django on Windows 10 to use?

Such a question, colleagues.
I am making a small pet project under Windows 10 Based on Django + channels I
needed an asynchronous task handler that will run natively under windows (GPU resources are used), so containerization solutions are not suitable.
I usually use celery or rq under nix*. But they do not work under windows 10. Celery does not support Windows version 4, but I would not want to pull version 3.x, and RQ will not start without crutches (it crashes with errors like "module 'os' has no attribute 'fork'")
The load on the handler is small, Therefore, I would like some simple and lightweight solution.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
javedimka, 2021-10-21
@fox_12

There is dramatiq which works under Windows and is the fruit of hatred for celery and its bugs.
https://dramatiq.io/index.html
olso
https://github.com/coleifer/huey

I
Igor, 2021-10-21
@DMGarikk

run celery in wsl?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question