If I make up a site with Django-channels(nginx + channels, I like its websocket ability), Could I still adding in some celery app/tasks run at background as other normal django project?
Could Django-channels co-exists with celery
1.5k Views Asked by longnight At
2
There are 2 best solutions below
Related Questions in DJANGO
- Django Admin Panel and Sub URLs Returning 404 Error on Deployment
- How to return HTTP Get request response from models class in Django project
- Issue with Quantity Increment in Django E-commerce Cart
- Can't install Pipenv on Windows
- use dict from python in django html template and also in js
- 'pyodbc.Cursor' object has no attribute 'callproc', mssql with django
- Django socketio process
- Root path analogue in uWSGI as in Uvicorn
- Django - ModuleNotFoundError: No module named 'backend'
- Does Python being a loosely typed programming language make it less secure?
- sorl-thumbnail adds a background color when padding is used
- Can't connect to local postgresql server from my docker container
- Why ProductHunt api dont work with Python?
- why i have to put extra space in before write option selected because it show error if i don't ' option:selected'
- Django Arrayfield migration to cloud sql (Postgresql) not creating the column
Related Questions in CELERY
- Django Not Sending Tasks to Celery in Production
- How to Resolve Workers Not Scaling with 100s of Queued Tasks in Google Cloud Composer?
- How do you update Celery Task State/Status to see it in Flower?
- airflow dags not running as expected
- Celery Beat runs the task every minute
- How to Prioritize Celery Tasks When Processing Large Numbers of Files to Prevent Long User Wait Times?
- How to handle memory intensive task causing WorkerLostError with Celery and HuggingFaceEmbedding?
- Untyped decorator makes function "add" untyped [misc] (celery & mypy)
- Celery worker shut down
- Celery Task Tracing ValueError: Unpacking Issue in a Flask Web App Migration, python backend
- Catching a signature of celery task in pytest
- Cannot connect to RabbitMQ from Flower/Celery
- How can Celery configure submodules' loggers?
- Get application worker concurrency during Task init
- How can I capture a celery.signal for when a task is "queued", must include a way to access kwargs?
Related Questions in CHANNEL
- Insert & Retrieve from a channel in same main function throws "goroutine 1 [chan receive]: main.main() /path exit status 2" error
- RuntimeError: Given groups=1, weight of size [64, 1, 3, 3], expected input[1, 3, 416, 416] to have 1 channels, but got 3 channels instead
- Error using surf, Z must be a matrix, not a scalar or vector to surf(deltaT,deltaR,abs(Err))
- SSE implementation in Pedestal using individual channel per user
- Understanding Potential Deadlock in Resource Pool Implementation Described in "Go in Action"
- Defer function in golang not executing a for case in select
- What does "Simultaneous Live View Up to 6 channels" imply for a IP Camera specification
- Creating Default New Channels in GetStream.io Website
- Context Cancels not triggering on a blocking Stream.Recv() in Go gRPC Bi-Directional Stream
- How to automate sending Loop component to Team Channel using python?
- go channel get data isn't as expected
- Capture Stderr and redirect it to Stdout in service with goroutine in go
- How to return a named channel type that is read-only version of another channel type?
- Undefined Usernames Issue in Django Channels WebSocket Consumer
- Golang channel writing to and reading from issue - new to golang channels
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes, you can use both.
For example https://vincenttide.com/blog/1/django-channels-and-celery-example/
You create websocket, server send real-time message.
https://github.com/VincentTide/django-channels-celery-example/blob/6ddc5ace0e1b99031ad0505ba0ec20be3f87704d/templates/jobs/index.html#L73
You receive request, create task (and tell which channel to reply).
You receive task, run it. and send real-time message to browser via daphne.