dsdtszi0520538 2012-07-12 00:17 采纳率: 100%
浏览 41
已采纳

GAE实例是否限制为10个并发请求?

I've heard from several sources that Google App Engine Instances have a hard limit of 10 concurrent request. I was wondering if someone could clarify what exactly this means.

Does the scheduler block any requests over the 10, or is this enforced through a limit on concurrent threads?

Specifically, does this limit affect Go instances the same way that it does Python and Java?

EDIT: here's the feature request which will allow App Engine Instance to handle more then 10 concurrent request / threads. Allow configurable limit of concurrent requests per instance. Please star it.

  • 写回答

2条回答 默认 最新

  • douyi9597 2016-05-21 15:44
    关注

    This has been fixed as of Nov 18th 2013.

    The maximum number of requests any GAE instance can process is now configured via the max_concurrent_requests setting eg:

    runtime: go
    api_version: go1
    automatic_scaling:
      max_concurrent_requests: 80
    
    handlers:
      - url: /.*
        script: _go_app
    

    The default is 8 and the maximum is 80.

    See https://cloud.google.com/appengine/docs/python/config/appref#automatic_scaling for more info.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?