我从多个来源获悉,Google App Engine 实例有 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
关于java - GAE 实例是否限制为 10 个并发请求?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11443423/