I am configuring Google App Engine for Python, in the file app.yaml
there is the option threadsafe
.
What does it affect to activate/deactivate this option?
application: blog-119911
version: 1
runtime: python27
api_version: 1
threadsafe: yes
First, note that the notation used to configure
threadsafe
is bytrue
orfalse
:By default, Google App Engine processes requests serially and sends them to the Web Server, however, if you would like to configure it to process requests in parallel, you use the
threadsafe: true
.Note that it is only required for Python 2.7 applications and that the use of
threadsafe: true
also requires that all script handlers be of type WSGI, i.e. each of your scripts must be specified in the directivescript
and with separate package notation. for points:References: