Files
2012-02-21 01:15:00 -05:00

1 line
4.9 KiB
JSON

[{"user_id": 32856, "stars": [], "topic_id": 42347, "date_created": 1311154761.9119389, "message": "Apache/mod_wsgi can be tuned to be pretty slick, but you have to spend some time trimming Apache down. Part of the reason nginx-based configurations (nginx/gunicorn, nginx/uwsgi) configurations have become more popular lately is that they don't require you to have the Apache knowledge to optimize it.", "group_id": 81, "id": 1679579}, {"user_id": 18281, "stars": [], "topic_id": 42347, "date_created": 1311153449.87726, "message": "So I'm aware that in my haste to get my VPS up and running i might not have chosen the fastest most reliable page serving stack. well, i know i didn't. i had information on how to get it running using apache and wsgi. now i need to make my Debian VPS more efficient, what would you recommend I look at?", "group_id": 81, "id": 1679498}, {"user_id": 25264, "stars": [], "topic_id": 42347, "date_created": 1311154209.251965, "message": "Extremely easy http://ericholscher.com/blog/2010/aug/16/lessons-learned-dash-easy-django-deployment/ nginx + gunicorn", "group_id": 81, "id": 1679536}, {"user_id": 18281, "stars": [], "topic_id": 42347, "date_created": 1311156337.418689, "message": "@juanriaza thats a great little article, thanks. so im guessing there will be issues running nginx and apache on the same server. im gonna need to research nginx a little", "group_id": 81, "id": 1679647}, {"user_id": 19460, "stars": [], "topic_id": 42347, "date_created": 1311190866.2735419, "message": "@bytejunkie : It's not a big deal to run nginx and apache on the same server. Setup nginx to listen on port 80, use the proxy_pass directive and set apache/mod_wsgi to listen on another port in your virtualhost directive. This should be a pretty easy step from where you're at. A nice feature of splitting up concerns like this is you can experiment with different app server configurations to see what works best for your situation. ", "group_id": 81, "id": 1684180}, {"user_id": 12369, "stars": [{"date_created": 1311232176.4913349, "user_id": 11592}, {"date_created": 1311248451.993794, "user_id": 23244}, {"date_created": 1311257656.9226651, "user_id": 28384}, {"date_created": 1311303294.847553, "user_id": 15988}, {"date_created": 1311914381.5595269, "user_id": 11647}, {"date_created": 1312173464.225796, "user_id": 38836}], "topic_id": 42347, "date_created": 1311199780.9779789, "message": "nginx + gunicorn + supervisor = bliss. This article helped a lot getting supervisor setup properly with gunicorn: http://brandonkonkle.com/blog/2010/jun/25/provisioning-new-ubuntu-server-django/", "group_id": 81, "id": 1685276}, {"user_id": 18281, "stars": [], "topic_id": 42347, "date_created": 1311239852.3268261, "message": "@itvolks so with your plan, im putting ngin infront of apache, then forking traffic, to my new testsite for gunicorn whilst i learn how it work and to apache for the existing sites. using the proxy_pass onto port 800x and amending the virtualhost directing in apache conf to 800x.", "group_id": 81, "id": 1687950}, {"user_id": 18281, "stars": [], "topic_id": 42347, "date_created": 1311239890.7993889, "message": "i like that plan, thanks for sharing it, i'll look at setting it up soon", "group_id": 81, "id": 1687952}, {"user_id": 33347, "stars": [], "topic_id": 42347, "date_created": 1311249305.890837, "message": "I've been liking nginx+gunicorn", "group_id": 81, "id": 1688426}, {"user_id": 38052, "stars": [], "topic_id": 42347, "date_created": 1311937165.30691, "message": "I've been using nginx + uwsgi in emperor mode lately. I like it a lot. The only thing I have to do to deploy a new project is to put a wsgi.ini file in place, as wel as a nginx.conf for that site. Uwsgi automaticallly picks up the new ini, and will restart on touch. Nginx needs just a HUP", "group_id": 81, "id": 1746456}, {"user_id": 37939, "stars": [{"date_created": 1311978531.223165, "user_id": 28384}], "topic_id": 42347, "date_created": 1311951211.756568, "message": "I have nginx running at the front and then multiple apache process for each users running on custom port. The apache process only load mod_wsgi + few other required modules. This still in development so I haven't paid any attention to the performance and memory usage it. After all it not going to have heavy traffic so ease of setup is more important in my case. I have to start all the user process in /etc/rc.local using su -c /home/user/bin/start_apache.sh after an attempt to use supervisord or monit didn't really work as excpected.", "group_id": 81, "id": 1747871}, {"user_id": 13355, "stars": [], "topic_id": 42347, "date_created": 1311952862.5272219, "message": "nginx+gunicorn+superisor. And a decent fabric script to deploy/rollback.", "group_id": 81, "id": 1748161}, {"user_id": 12224, "stars": [], "topic_id": 42347, "date_created": 1312322302.654048, "message": "cherokee+gunicorn > fast, low memory, footprint, great for VPS", "group_id": 81, "id": 1779622}]