I am using 2 manually scaled B4 (python27) instances to serve static web
assets. As this should configure memory-resident instances that are always
on, I was surprised to find the module/service's log to be littered with
/_ah/start (warmup) requests (virtually every few milliseconds, probably
with every new web session). As the site's latency is not where we want it
to be, I am growing concerned that there is something odd with our setup.
The app.yaml for this module/service looks like that:
version: 2
runtime: python27
api_version: 1
threadsafe: true
module: site
default_expiration: "2d"
instance_class: B4
manual_scaling:
instances: 2
handlers:
-
url: /proxy/vimeo
script: site_main.app
secure: always
-
url: /auth/vimeo\.html
static_files: static/vimeo.html
upload: static/vimeo.html
secure: always
-
url: '/[^\.]*$'
static_files: static/index.html
upload: static/index.html
secure: always
-
url: /manifest\.webapp
static_files: static/manifest.webapp
upload: static/manifest.webapp
secure: always
mime_type: application/manifest+json
-
url: /assets/(.*)$
static_files: static/assets/\1
upload: static/.*
secure: always
expiration: "31d"
-
url: '/*'
static_dir: static/
secure: always
skip_files:
- '^(.*/)?#.*#$'
- '^(.*/)?.*~$'
- '^(.*/)?.*\.py[co]$'
- '^(.*/)?\..*$'
- '^(.*/)?.*\.gz'
Any ideas would be much appreciated.
Soeren
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/b4c8ef49-adea-42bc-a93c-92b2902613af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.