If you're only updating 1,000 posts and you have all the ids in
advance, a single batch put() will probably perform more than
adequately.

Jeff

On Thu, Apr 14, 2011 at 10:09 AM, Robert Kluin <[email protected]> wrote:
> Last time I checked, the current map-reduce implementation doesn't
> support queries -- so you'd have to map over all of your data adding
> labels to the entities that match.  I would rather use tasks + cursors
> personally.  If you have a query to get the list of posts just use
> 'chained' tasks that pass a cursor to the next task after querying for
> their posts.  If you have a big list of post ids / keys, then split
> them into batches and insert a task to process each batch.  Either
> method can be made to run extremely fast.
>
>
>
>
>
>
> On Thu, Apr 14, 2011 at 23:06, nischalshetty <[email protected]> 
> wrote:
>> @barryhunter
>> Thank you so much for your reply. I would need to often apply a particular
>> label to say a thousand posts.
>> Would you still suggest I go with this approach and may be run a map reduce
>> to update the 1000 records? It would be frequently done by all the users,
>> would that be ok?
>> -N
>>
>> --
>> 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.
>
>

-- 
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