Libev and libevent
blog.gevent.org
blog.gevent.org
Will this really reduce the number of library version used? I would expect every linux distribution to dynamically link gevent to their existing package of libev.
I originally was attracted to gevent after reading about its excellent performance and resource usage. I'd like to use it in concert with nginx to host a django app. I wonder if this is the best choice though? I got it to work, but it seemed a little unnecessarily complex... having to install large dependencies/compile things on the server. Maybe I should just use the wsgi module built into nginx?
These packages are so new I'm not confident on the best course of action.
http://projects.unbit.it/uwsgi/
If some parts of your application need to handle loads of concurrent connections (e.g. long polling, streaming, etc.) then you can use something like Tornado or eventlet or gevent to make that part of your app, and stick it behind nginx as well. You can also use the asynchronous worker types supported by Gunicorn and uWSGI. Which one is more straightforward is up to you.
As usual, you'll want to use something like Supervisord, Upstart, or Monit to monitor your daemons and restart them if they malfunction.
Conservative option might be chosen as a temporary solution if release 0.14 is delayed for too long otherwise.