我从好几个渠道听说,googleappengine实例有10个并发请求的硬限制。我想知道是否有人能澄清这到底意味着什么。在
调度程序会阻止超过10的任何请求,还是通过对并发线程的限制来强制执行?在
具体来说,这个限制对Go实例的影响是否与Python和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.
截至2012年7月12日,是后者。10个并发限制是通过对每个运行时的并发线程的限制来实现的。在大多数情况下,我们的调度程序将尝试启动一个新实例。在
另请参阅jonmac关于此线程的电子邮件: https://groups.google.com/d/msg/google-appengine/y-LnZ2WYJ5Q/j_w13F4oSSkJ
截至2013年11月18日,此问题已得到解决。在
任何GAE实例可以处理的最大请求数现在通过
max_concurrent_requests
设置配置,例如:默认值为8,最大值为80。在
有关详细信息,请参见https://cloud.google.com/appengine/docs/python/config/appref#automatic_scaling。在
相关问题 更多 >
编程相关推荐