mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-30 12:23:04 -05:00
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.
21 lines
477 B
YAML
21 lines
477 B
YAML
---
|
|
|
|
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 6 -b 0.0.0.0:$PORT application
|
|
services:
|
|
- notify-aws
|
|
- notify-config
|
|
- notify-db
|
|
- mmg
|
|
- firetext
|
|
- hosted-graphite
|
|
- redis
|
|
- performance-platform
|
|
- logit-ssl-syslog-drain
|
|
|
|
routes:
|
|
- route: notify-api-staging.cloudapps.digital
|
|
- route: api.staging-notify.works
|
|
instances: 2
|
|
memory: 1G
|