Are you just expecting the client request to trigger a URL Fetch that takes
longer than 10 seconds?  Or do you expect the client request to stay
"pending" until the URL fetch completes.  In other words you want to return
data back to the user within the client request, after gathering the data
from the URL fetch?

If you just want to trigger the long url fetch operation, you could just
call taskqueue.add(taskqueue.Task()) to enqueue a task to the default queue,
which then calls URL fetch.  Then you have a 10 minute max for the url fetch
deadline.

But if you really want the user's browser to wait and allow their request to
essentially block until the URL fetch returns (possibly after 10 seconds),
then there's no direct way to do this.  I haven't looked into the Channel
API, but I suppose it could offer you a solution.  The user's request would
return after triggering the URL fetch through a taskqueue operation.  Once
the URL fetch completes, you return the data back to the user using the
channel API.  I'm not sure how this can be done, but this is the direction I
would explore.

On Thu, Sep 15, 2011 at 8:55 AM, Ice13ill <[email protected]> wrote:

> Hello, is there a way that i can execute an url fetch which takes more
> than 10 sec and is triggered by a client request ?
>
> I saw that Backend instances allow url fetches for more that 10
> seconds... If this is correct, is there a way that a client can use
> them directly ?
>
> --
> 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.

Reply via email to