If you're using python27 with threadsafe set to 'true', and the backend is not already loaded, it should support concurrent requests.
-Amy On 7 August 2012 12:49, Drake <[email protected]> wrote: > Backends only handle serial requests. This is one of the biggest > limitation of Backends. **** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Sean O'Connor > *Sent:* Monday, August 06, 2012 2:55 PM > *To:* [email protected] > *Subject:* [google-appengine] Dynamic Backend Instance Scaling**** > > ** ** > > Hello,**** > > ** ** > > I am working on a project where we are using a dynamic backend as a pull > queue worker. Whenever we add a batch of tasks to our pull queue, we also > add a task to a push queue targeted to the backend to wake up the backend > and kick off the worker code.**** > > ** ** > > Overall this has been working well for us as it allows us to offload work > from our front-end instances without paying too much for idle backend > instances. The biggest problem we've been having with this approach has > been understanding and predicting how the dynamic instances are scaled. To > that end, I have two questions:**** > > 1. Is the "threadsafe" option enabling concurrent request handling in > the python27 runtime used by dynamic backends?**** > 2. If so, does the dynamic backend instance scaling work similarly to > front-end instance scaling or is there different rules at play here?*** > * > > We've tried to read up on this in the docs and watching Google I/O talk > videos but all we've been finding is somewhat vague or > contradicting/outdated information.**** > > ** ** > > Thanks!**** > > ** ** > > -Sean O'Connor**** > > -- > 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/-/6dLL0xNbjPUJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
