Commit Graph

11 Commits

Author SHA1 Message Date
Alexey Bezhan
ff8373600d Replace manifest services with lists of env variables
Removes bindings to user provided services for new application
deployments and sets the expected environment variables to `null`.

Listing variables in the manifest allows us to only inject secrets
used by the app. `null` is not a valid value for a variable in a
CloudFoundry manifest, so if any of the keys don't have a match in
the credentials file `cf push` will return an error and stop the
deployment.
2018-01-09 10:45:03 +00:00
Richard Chapman
af1ab437be Revert changes to staging for performance tests and increased rate limit
- Reverted the Gunicorn worker number to 5 (this should be investigated
further on a well baselined system to compare)
- Enabled REDIS
- Increased the rate limit to 400 req/sec as using early testing
yesterday 450+ was being achieved
2017-12-06 09:38:31 +00:00
Richard Chapman
388bba2365 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.
2017-11-30 09:25:28 +00:00
Richard Chapman
349887178c Increased Gunicorn threads
Increased Gunicorn threads to 10 on staging to test if there is a
performance increase when testing request per second. Increased to 10.
Gunicorn recommend 2 x cores + 1 however on PaaS the number of cores
is not consistent.
2017-11-29 14:13:26 +00:00
Athanasios Voutsadakis
202a0d008b Add syslog drain service to preview and staging
This should and will be moved back to the approriate manifest-base-*.yml
files when it is configured for production usage.
2017-10-19 17:08:56 +01:00
Athanasios Voutsadakis
0b3136397b Drop api-paas.* route
This was introduced during the migration and is no longer needed nor
should it be used.
2017-10-12 14:51:04 +01:00
bandesz
eaf1e5bb72 Add final routes to the Paas app 2017-03-28 12:24:12 +01:00
bandesz
81522474ca Decrease PaaS apps memory to 1G 2017-03-13 11:51:02 +00:00
bandesz
b0d5def289 Increase memory for PaaS 2017-03-06 14:48:27 +00:00
bandesz
72dc93c6db Add awslogs logging for PaaS 2017-02-16 17:38:30 +00:00
bandesz
fd66fbd719 Run API on Paas 2017-01-13 10:24:13 +00:00