From 388bba23657c17b963f96a78e5fc8c4140fac8b2 Mon Sep 17 00:00:00 2001 From: Richard Chapman Date: Thu, 30 Nov 2017 09:25:28 +0000 Subject: [PATCH] Decreased Gunicorn threads Increasing the Gunicorn workers to 10 actually made the API decrease in performance from ~200 requests/sec with with 20 API instances to 150 requests per/sec. The base value is 5 so this is to test how the API performs with a slight increase. --- manifest-api-staging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest-api-staging.yml b/manifest-api-staging.yml index d19455470..05b1d420d 100644 --- a/manifest-api-staging.yml +++ b/manifest-api-staging.yml @@ -1,7 +1,7 @@ --- inherit: manifest-api-base.yml -command: scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py --error-logfile /home/vcap/logs/gunicorn_error.log -w 10 -b 0.0.0.0:$PORT application +command: scripts/run_app_paas.sh gunicorn -c /home/vcap/app/gunicorn_config.py --error-logfile /home/vcap/logs/gunicorn_error.log -w 6 -b 0.0.0.0:$PORT application services: - notify-aws - notify-config