[google-appengine] What happens to URLFetch Async Call that is left alone?

2011-09-22 Thread Albert
Suppose I call URLFetch Async, and then I return a response to the user without calling get_result(). 1. Does a frontend instance wait for the response of the fetched URL, and consume instance time? Or does some background appengine server handle that for me, and then just discards the response

Re: [google-appengine] What happens to URLFetch Async Call that is left alone?

2011-09-22 Thread keakon lolicon
The SDK will automatically create a RPC object for async function, or you can create it by yourself. Before the end of your response, the RPC object will block the respond and wait until it's done, and no callback will be called. However, it looks like the local dev server just ignores it.

Re: [google-appengine] What happens to URLFetch Async Call that is left alone?

2011-09-22 Thread Greg Darke (Google)
What happens when you start an RPC, but not wait for it to finish is not really defined. As you have may have noticed, it also works differently in production and in the dev appserver. Also note that since it is not defined, the behaviour may change at anytime. I would suggest that you should