[tor-commits] [meek/master] Set scaling instances in app.yaml.
dcf at torproject.org
dcf at torproject.org
Fri Oct 30 08:23:31 UTC 2015
commit ed3e8c9b0c34db38ffcd99a0d38d7d4fc1785a62
Author: David Fifield <david at bamsoftware.com>
Date: Fri Oct 30 01:05:42 2015 -0700
Set scaling instances in app.yaml.
These used to be set using the web interface. Now you have to set them
in app.yaml. For example,
https://cloud.google.com/appengine/docs/adminconsole/performancesettings#Setting_the_Number_of_Idle_Instances
now redirects to
https://cloud.google.com/appengine/docs/developers-console/#module-settings
which says:
Note: Many performance settings for modules are included in the
module's configuration file (Java | Python | Go | PHP). These
settings are made at deployment time and cannot be changed from
the Developers Console.
So we've been running without the settings I set manually before for who
knows how long. Previously I had set:
max_idle_instances: 2
min_pending_latency: 1000ms
Now I set it to:
max_idle_instances: 2
min_pending_latency: 1000ms
The new URL for the documentation of these parameters is here:
https://cloud.google.com/appengine/docs/go/modules/#Go_Configuration
---
appengine/app.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/appengine/app.yaml b/appengine/app.yaml
index c72e9b8..82e0631 100644
--- a/appengine/app.yaml
+++ b/appengine/app.yaml
@@ -2,6 +2,9 @@ application: meek-reflect
version: 1
runtime: go
api_version: go1
+automatic_scaling:
+ max_idle_instances: 2
+ min_pending_latency: 1000ms
handlers:
- url: /.*
More information about the tor-commits
mailing list