Performance improvements meant to help get jobs off of the load balancer more quickly.

This commit is contained in:
Jake Moshenko 2014-12-18 11:53:10 -05:00
parent e5f41889cf
commit 2b0fc9087f
7 changed files with 32 additions and 22 deletions

View file

@ -3,6 +3,6 @@
echo 'Starting gunicon'
cd /
venv/bin/gunicorn -c conf/gunicorn_registry.py registry:application
nice -n 10 venv/bin/gunicorn -c conf/gunicorn_registry.py registry:application
echo 'Gunicorn exited'

View file

@ -3,6 +3,6 @@
echo 'Starting gunicon'
cd /
nice -10 venv/bin/gunicorn -c conf/gunicorn_verbs.py verbs:application
nice -n 10 venv/bin/gunicorn -c conf/gunicorn_verbs.py verbs:application
echo 'Gunicorn exited'

View file

@ -1,11 +1,5 @@
include root-base.conf;
worker_processes 2;
user root nogroup;
daemon off;
http {
include http-base.conf;

View file

@ -1,11 +1,5 @@
include root-base.conf;
worker_processes 2;
user root nogroup;
daemon off;
http {
include http-base.conf;

View file

@ -1,7 +1,15 @@
pid /tmp/nginx.pid;
error_log /var/log/nginx/nginx.error.log;
worker_processes 2;
worker_priority -10;
worker_rlimit_nofile = 10240;
user root nogroup;
daemon off;
events {
worker_connections 1024;
worker_connections 10240;
accept_mutex off;
}