4 ms·
Is there much demand still for a Python apache module? Not to disencourage gtrubetskoy, but we've extended our application server (Phusion Passenger) to support
by tinco 13y ago
Is there much demand still for a Python apache module? Not to disencourage gtrubetskoy, but we've extended our application server (Phusion Passenger) to support WSGI and were met with little enthousiasm from the community. It seems as though Python users are quite content with reverse proxy setups, or there's another contender we haven't heard of that's serving the community well.
I am certainly interested in how the Python community will react to the mod_python revival.
(It hasn't been long since we've added nodejs support, but that community has shown a lot more love already)
- gdamjan1 13y agoIt seems people mostly use gunicorn & similar. But uWSGI provides most features.
- gtrubetskoy 13y agoI think it's interesting that in your mind "WSGI" equates with Python support. In my opinion little enthusiasm has to do with how limited and boring WSGI is - I think you'd find much more enthused users if you offered something better than WSGI.
- tinco 13y agoWell that's certainly interesting. Isn't the python web dev community dominated by web frameworks on top of wsgi like django and flask? What kind of improvements would you be thinking about? Or is mod_python already better than wsgi in some way?
- gtrubetskoy 13y agomod_python predates WSGI by many years, and I personally am not too happy with WSGI. I just wrote about it: http://grisha.org/blog/2013/10/26/my-thoughts-on-wsgi/ http://grisha.org/blog/2013/10/26/my-thoughts-on-wsgi/
- laurencerowe 13y agoWe already have a very good Python apache module in mod_wsgi, https://code.google.com/p/modwsgi/ https://code.google.com/p/modwsgi/. It's pretty much the default for production Python web deployments.
- ionelm 13y agoThere is no compelling reason to switch to or use passenger. Only the enterprise version is feature-parity equivalent to mod_wsgi. Ofcourse mod_wgsi doesn't have an external daemon (the flying mode) but uWSGI has that and many other non-equated features ...
- eevee 13y agoI thought the WSGI support for passenger was neat, and I'm glad there's at least one option for Python deployment with little server configuration required, but I don't use it because I don't want to bugger around recompiling nginx :)
- tinco 13y agoPlease note that in most environments Passenger now comes as a binary distribution so there is no need to recompile anymore. Unless ofcourse you are using it together with other nginx modules, that's an unfortunate effect of nginx's module architecture I'm afraid.
- eevee 13y agoYes, I know. nginx is explicitly not designed for being an app launcher; I don't blame Passenger for this.