Re: Will asgi become a PEP like wsgi is ?

2017-03-13 Thread James Pic
I do not see myself using Django without Channels anymore, it's become a basic Django feature for me and I just love it. Despite my perhaps lack of knowledge about the protocol internals, such features seem like it would certainly benefit the Python community and anyway I'd say it's worth a try jus

Re: Will asgi become a PEP like wsgi is ?

2017-03-13 Thread James Pic
On Mon, Mar 13, 2017 at 12:26 PM, Etienne Robillard wrote: > ASGI is for building platform-oriented web applications in Django. Could you elaborate on this ? The only mention of Django I found in the spec linked by the OT is "Django Channels ships with a no-op consumer attached by default; we rec

Re: Will asgi become a PEP like wsgi is ?

2017-03-13 Thread James Pic
On Mon, Mar 13, 2017 at 12:58 PM, Etienne Robillard wrote: > > As far I know Django channels is a Django framework enforcing a specific > messaging protocol in mind. Honnestly I thought the messaging protocol was just msgpack. > I don't see how implementing ASGI could help to build more scalabl

Re: Will asgi become a PEP like wsgi is ?

2017-03-13 Thread James Bennett
WSGI is a framework-independent protocol to allow HTTP servers to communicate with Python applications. It defines a standard API and serialization mechanism to be used by the HTTP server and the Python application in order to allow them to work together. WSGI *only* does plain HTTP. And in fact i

Re: Will asgi become a PEP like wsgi is ?

2017-03-13 Thread Etienne Robillard
WSGI is for building web applications in Python. ASGI is for building platform-oriented web applications in Django. I'm -1 on this. I prefer the ease and flexibility of WSGI draft over asynchronous platform choices. E Le 2017-03-13 à 07:08, James Pic a écrit : I do not see myself using Dja

Introduction for GSoC 2017

2017-03-13 Thread Gunpreet Ahuja
Greetings, I am a Masters in Engineering student at Concordia University, Canada. I wish to participate in GSoC 2017. This is my first time and I want to contribute in this project. I have worked on various projects which include three android applications named a Textile app, Dawn-to-Dusk (a we

Gevent based ASGI server

2017-03-13 Thread Jon Pry
I modified Daphne and the ASGI layer to get the one of the examples to run under gevent. Code is here: https://github.com/jonpry/thyme Code is not as clean as it needs to be. But imho it works better than daphne, none of this hot polling stuff going on anymore. In any case it's interesting t

Opportunity to contribute in Django

2017-03-13 Thread Jainesh Patel
Hello, I am a final year CSE student from PICT, Pune, India. I am very interested in contributing to Django. It would really be very helpful if you suggest any ideas to work on or any bugs to resolve from where I can start. Hoping to hear from you soon, and thanking you in anticipation. Thank

Re: Will asgi become a PEP like wsgi is ?

2017-03-13 Thread Etienne Robillard
As far I know Django channels is a Django framework enforcing a specific messaging protocol in mind. I don't see how implementing ASGI could help to build more scalable apps without breaking compatibility with WSGI. E Le 2017-03-13 à 07:50, James Pic a écrit : On Mon, Mar 13, 2017 at 12:26

Re: Gevent based ASGI server

2017-03-13 Thread Andrew Godwin
Hi John, You are talking about a lot of ideas I want to bring into the main redis transport (improved polling, connection handling, using the channel name local part for routing, etc.), which are separate from using gevent, really; would you be open for contributing this kind of stuff back to the

Re: Will asgi become a PEP like wsgi is ?

2017-03-13 Thread Andrew Godwin
Right, what James says here is pretty much my thoughts; it has been designed from the ground up not to be tied to Django, up to and including the fact that it's in separate packages; all the Django-specific stuff is in the "channels" package, while daphne, asgi_redis, asgiref etc. are useable by an