akvo / akvo-flow

A data collection and monitoring tool that works anywhere.
http://akvo.org/products/akvoflow/
GNU Affero General Public License v3.0
65 stars 31 forks source link

Configure automatic scaling #3939

Closed MichaelAkvo closed 1 year ago

MichaelAkvo commented 1 year ago

Before the PR (what is the issue or what needed to be done)

Related doc: https://cloud.google.com/appengine/docs/legacy/standard/java/config/appref#scaling_elements_automatic_scaling

The default max-concurrent-requests is too low and forcing more instances to spawn. The default max instance is really high and incurring high costs.

The solution

Increase max-concurent-requests, lower max-instance


Related to akvo/akvo-flow-server-config#740