Hi PK, What's the 'instances' you mean here? Take my app as example:
app = webapp2.WSGIApplication([ ('/', MainPage), ('/message', MessagePage), ('/_ah/channel/connected/', ConnectPage), ('/_ah/channel/disconnected/', DisconnectPage) ], debug=True) Do you mean each RequestHandler class is an instance and requests could be passed concurrently to i.e. MessagePage and ConnectPage? Thanks! /Brave On Wednesday, December 12, 2012 5:16:11 PM UTC+8, PK wrote: > > Hi Brave, > > Even if you set threadsafe to false requests can still be handled in > parallel by different instances. If you set it to true more than one > requests can be handled in parallel by the same instance, as well. > > PK > > On Dec 12, 2012, at 12:43 AM, brave yao <brav...@gmail.com <javascript:>> > wrote: > > Hi, > The GAE doc says "By default, App Engine sends requests serially to a > given web server. If you are using the Python 2.7 runtime, you can > configure App Engine to send multiple, parallel requests by adding the > threadsafe: > true element to the header of app.yaml.". How should I understand this > statement? > In fact I define 'threadsafe: false' in my app.yaml. But still I can see > requests are routed to my handlers at same time. I suppose with > 'threadsafe: false', no other request won't be sent into my server before > current handler returns. Is this understanding correct? > Is this a bug or I miss something here? > > PS: the codes locate here: > https://code.google.com/p/webrtc-samples/source/browse/trunk/apprtc/ > > Thanks! > > /Brave > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/q0sEgcGSLqgJ. > To post to this group, send email to google-a...@googlegroups.com<javascript:> > . > To unsubscribe from this group, send email to > google-appengi...@googlegroups.com <javascript:>. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/VL3SFMaTOukJ. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.