I hope there 's a documentation how to do "running-asgi-alongside-wsgi" https://channels.readthedocs.io/en/stable/deploying.html#running-asgi-alongside-wsgi(I tried google, but none found for how to do it)I'm just afraid to hand over every request to asgi which I don't know much about.
I have another question.I'd like to send notification to websocket client when some signal (post-save, etc) occurs.For instance, if user-a starts following user-b (post-save signal occurs), (and this happens over wsgi, normal django),I'd like to send notification to user-b through websocket.Is the above usage possible with wsgi/asgi dual setup?
I didn't fully understand interface-server/channel-backend/workers concept.A single image could help people like me.I wonder if the following is correct?nginx --- wsgi -------------- django/nginx --- asgi --- redis ---/asgi is interface-serverredis is channel-backenddjango is workers
There's not individual documentation for every situation because people's choice of webserver and their OS versions and environments differ. If you tell me what you're using I can try and provide some hints or links to examples.
the ideal thing is to be able to look for theUpgrade: WebSocket
header and distinguish connections by this
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3e352bf8-0ced-4ac3-94e3-fa28ced84d66%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.