I have concerns about "built-in feature" means for existing applications (and future applications really). Under "Preserving Simplicty" you note that you should be able to run Django as simply as you do now. Is there a consideration to run "classic" WSGI applications without channels? This in-memory channel isn't free. It still requires serializing the incoming HTTP request to JSON, putting it into the channel queue, deserializing the JSON, <do work to generate response>, serializing the response to JSON, putting it into the response channel, deserializing the response, and sending to the client. That's two JSON serialization round trips which don't currently exist with no gain for existing applications. As you note later on this currently breaks non-root mounted (those using SCRIPT_NAME) applications but doesn't appear to have a plan to resolve it.
Best, Mark On Thursday, December 17, 2015 at 6:35:18 AM UTC-5, Andrew Godwin wrote: > > Hi everyone, > > One of the first steps I want to get done for Channels is get a rough plan > in place for how things are going to work in terms of where code goes, > supported versions, etc. I've written up my thoughts on this into a first > draft of what I'm calling the "integration plan": > > http://channels.readthedocs.org/en/latest/integration-plan.html > > Feedback is much welcomed - I'd particularly like to hear people's > thoughts on the ideas of releasing both natively in Django 1.10 and as a > third-party addon for 1.8/1.9, plus the new (for Django) concept of > releasing part of it as a separate codebase, though still under the Django > umbrella. > > Andrew > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/ab27553c-7ebe-4a97-83ad-0fcd4dcc5023%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
