-
My team is having a discussion around using WSGI vs ASGI servers. One thing we do not know yet is how synchronous django views are handled by an ASGI server. We understand that async views will be executed in the event loop, but how are synchronous views handled by Daphne? Are they also executed on the event loop or is there a separate thread to handle these views? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After digging into some of django's source it appears Daphne is agnostic to what's happening within the application object. I'll keep digging into django's source to find out more. |
Beta Was this translation helpful? Give feedback.
After digging into some of django's source it appears Daphne is agnostic to what's happening within the application object. I'll keep digging into django's source to find out more.