Why does Google App Engine support a single thread of execution only?

后端 未结 6 1846
甜味超标
甜味超标 2020-12-09 11:03

Does anybody have an idea why Google App Engine permits only a single thread of execution for a deployed application?

I personally believe that it has something to d

6条回答
  •  独厮守ぢ
    2020-12-09 11:51

    I don't know for sure, but I believe it is probably for security reasons. If they allow multiple threads, they are opening themselves up for a fork() bomb (or threading equivalent). Also, it greatly simplifies resource management - Google only needs to manage a single thread worth of resources per application.

提交回复
热议问题