Mod_python development resumes after a 5 year pause
grisha.org
grisha.org
I don't know of any currently-developed framework that hasn't deprecated mod_python, and for good reason. wsgi and uwsgi are superior solutions in every way. I don't want my python code running within the Apache process.
I am in the process of migrating all of my development to uWSGI. This also has the advantage of entirely de-coupling from Apache, so that I may move a given app to nginx at will.
Why?
If he wants to work on mod_python and make it support python3 why shouldn't he?
> I don't want my python code running within the Apache process.
Good for you but no ones forcing you to use it for your code, so you do your thing and if hacking on mod_python makes him happy why shouldn't he?
Now if he was working on mod_cobol you'd have a point... :)
Some pretty good reasons are listed at: http://wiki.python.org/moin/PoundPythonWeb/mod_python
Django also is hoping to deprecate mod_python in the future: https://docs.djangoproject.com/en/1.2/howto/deployment/modpy...
You linked to documentation for Django 1.2; the current release, 1.5, does not include mod_python support in the framework. WSGI is now the only deployment option supported in Django itself.
That said, I don't think I'd use any such server-specific modules today. I'm very fond of the model of something like Apache or nginx as a proxy in front of things like gunicorn or Go's net/http library.
Honestly, I've always been under the impression that mod_wagi is the project that needed to catch up... WSGI as an API mostly seems to be about attempting to rebuild some of the stuff Apache has had in place, in an implementation-agnostic fashion, for well over a decade (like the middleware stuff, which they are still having troubles integrating with "write callables", something that seems to be a non-issue with Apache filters).
On one hand, I'm glad this isn't going into obscurity (hopefully). I don't like to see projects fade and die out completely simply due to neglect. On the other, I can't see how this will become relevant anytime soon for any new project or even existing one. For that matter, I'm seeing fewer instances where Apache itself is still relevant in new projects these days.
From simple file serving to complex web apps, Nginx has pretty much taken over by and large, so unless Apache can show how it can remain competitive when the smaller upstart stays lean and fast, it's stuck right out of the gate.
I think it may be time Apache itself branches out to a leaner version (with the kitchen sink build available separately) that's as bare-bones as possible with basic functionality that can still be easily extended by modules later.
Of course, it's always good to have other options available. Homogeneity is rather boring.
For now the main goal is to re-establish the community...
This will be an interesting challenge in an of itself. I'm curious to see how this will pan out and I wish him the best of luck.> I think it may be time Apache itself branches out to a leaner version (with the kitchen sink build available separately) that's as bare-bones as possible with basic functionality that can still be easily extended by modules later.
Right. Here's a binary size comparison between Apache 2.4.6 and Nginx 1.4.1:
~ $ ls -l /usr/sbin/apache2
-rwxr-xr-x 1 root root 580528 Jul 26 13:23 /usr/sbin/apache2
~ $ ls -l /usr/sbin/nginx
-rwxr-xr-x 1 root root 661264 May 24 07:42 /usr/sbin/nginx
Apache is totally modular. Going from Apache to Nginx would be a downgrade for me.Also of note, as teilo mentions (https://news.ycombinator.com/item?id=6151215), sometimes you want to decouple the app/scripting engine from the web server.
FYI, current stack is OpenBSD, Nginx, PHP-FPM and Postgres. Does that make us hipsters?