News for hackers. Stuff that matters.
Re:Mod_python - the long story by tinco on Saturday October 26, 2013 @06:58AM (#6616996)
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)

Re:Mod_python - the long story by gtrubetskoy on Saturday October 26, 2013 @12:48PM (#6618041)
I 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.
Re:Mod_python - the long story by tinco on Saturday October 26, 2013 @01:23PM (#6618230)
Well 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?
Re:Mod_python - the long story by gtrubetskoy on Saturday October 26, 2013 @01:37PM (#6618291)
mod_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/
Re:Mod_python - the long story by ionelm on Sunday October 27, 2013 @06:59AM (#6621552)
There 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 ...
Re:Mod_python - the long story by laurencerowe on Saturday October 26, 2013 @04:02PM (#6619011)
We already have a very good Python apache module in mod_wsgi, https://code.google.com/p/modwsgi/. It's pretty much the default for production Python web deployments.
Re:Mod_python - the long story by eevee on Monday October 28, 2013 @01:57PM (#6628546)
I 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 :)
Re:Mod_python - the long story by tinco on Monday October 28, 2013 @08:21PM (#6630863)
Please 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.

Re:Mod_python - the long story by eevee on Tuesday October 29, 2013 @04:19PM (#6637151)
Yes, I know. nginx is explicitly not designed for being an app launcher; I don't blame Passenger for this.
Re:Mod_python - the long story by gdamjan1 on Saturday October 26, 2013 @10:57AM (#6617581)
It seems people mostly use gunicorn & similar. But uWSGI provides most features.