Google app engine 通过受缩放影响的“static_files”和“static_dir”提供静态文件
如果my app.yaml文件的一部分如下所示:Google app engine 通过受缩放影响的“static_files”和“static_dir”提供静态文件,google-app-engine,google-cloud-platform,yaml,app.yaml,Google App Engine,Google Cloud Platform,Yaml,App.yaml,如果my app.yaml文件的一部分如下所示: handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico - url: /static static_dir: public - url: /.* secure: always redirect_http_response_code: 301 script: auto automati
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico
- url: /static
static_dir: public
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto
automatic_scaling:
min_idle_instances: automatic
max_idle_instances: automatic
min_pending_latency: automatic
max_pending_latency: automatic
max_concurrent_requests: 1
min_instances: 1
max_instances: 10
那么,我的静态内容是否也会受到应用程序缩放参数的影响?例如,它将以每个节点相同的max\u concurrent\u requests
限制运行,是否
我的假设是,服务/静态将是一个完全不同的层,独立于GAE中为您的应用程序运行的实例。我试图找到一个确认这种解耦的架构图(可能是一个nginx运行时带有到GAE应用程序实例节点的LB的图)
理想情况下,一个清晰的答案应该是有资格参考谷歌云文档材料的
我找到的最接近的相关文件是这个,但它没有明确回答我的问题:
max_concurrent_requests
就是一个很好的例子
我已要求更新您引用的文档页面,以便在其中添加此信息。您的假设是正确的,但我尚未找到文档或演示文稿来证明这一点。