Hi John,

On 23 May 2013 15:41, John Wheeler <[email protected]> wrote:

> I have a task that spawns more tasks, each potentially spawning even more
> tasks, and they all do URLFetches.
>
> Thank you for clarifying this. You're saying it's not that we can't do
> concurrent URLFetch, we can't do concurrent tasks.
>

That's right.


> Is concurrent tasks on the roadmap by any chance?
>

I don't know of any short-term plans to add concurrent task execution to
the development server.

Cheers,
Brian


>
> Thank you,
> John
>
> On Thursday, May 23, 2013 1:38:01 PM UTC-7, Brian Quinlan wrote:
>
>> Hi John,
>>
>> On 23 May 2013 10:45, John Wheeler <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I am using the new python development server with the app engine 1.8.0
>>> release. The Google Code page for said dev server here:
>>>
>>> https://code.google.com/p/**appengine-devappserver2-**experiment/<https://code.google.com/p/appengine-devappserver2-experiment/>
>>>
>>> states
>>>
>>>    - Multithreaded serving for *better* *performance* for complex
>>>    applications and more correct semantics e.g. accessing your own 
>>> application
>>>    through urlfetch no longer deadlocks.
>>>
>>> However, and I don't know if I'm getting the meaning mixed up, but it
>>> doesn't appear like it can run URLFetches concurrently with one another.
>>>
>>> I have a task the fans-out a whole bunch of URLFetches, and they process
>>> one at a time, very slowly in the new development server. I want them to
>>> process at the same time.
>>>
>>
>> Could you explain exactly what you mean by "I have a task the fans-out a
>> whole bunch of URLFetches...". Do you have many task queue tasks that make
>> synchronous calls using urlfetch, a single task that uses asynchronous 
>> urlfetch,
>> or something else? Because tasks do *not* (currently) execute in parallel.
>>
>> Cheers,
>> Brian
>>
>>
>>> Furthermore it appears each one starts a new instance because in the dev
>>> admin console, I refresh the page and there's only one instance listed with
>>> a request count of 1 at any given time. This is in the new dev server that
>>> ships with the SDK - this doesn't happen if I clone the Google repo above
>>> and run from that--but the URLFetches still process serially in either case.
>>>
>>> John
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-appengi...@**googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.**com.
>>>
>>> Visit this group at http://groups.google.com/**
>>> group/google-appengine?hl=en<http://groups.google.com/group/google-appengine?hl=en>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to