Currently I am using nginx to reverse proxy paster, to server Mediacore (a Pylons app). However, this configuration fails when I try to submit a video. I particualrly try to avoid fat appache, which is the official Mediacore recommendation. In a famous "benchmark of python webservers" I've seen that uwsgi has amazing performance but it is rather newcommer. So I could not find any good tutorial for it which is both comprehensive and noob-friendly. So I I appreciate if you could refere me to such guide to set up any of the high-performance python webservers. Thanks in advance for your hints.
|
feedback
|
|
Deploying pylons apps is very easy on uWSGI. Simply add this section to your deployment.ini [uwsgi] Substitute Now go to nginx.conf and modify it to something like this: location / { Obviously set the uwsgi_pass to the right port of the uWSGI socket Now start uwsgi uwsgi --ini-paste Where If you are on a big server you can increse the number of processes too | |||||||||
feedback
|