Hi Brandon Donnelso,

Could you give me an example?

I think your solution is:

First select all keys of datastore records ( All Authority in my example ).
--> get a key list

Then divide the key list in small list.

Perform search on all small list by many rpc/ ajax call.

Finally, collect all results.

I think this solution sound like the idea of mapreduce. But i have hearded
about it and havn't using it yet.

Could you give me an example base on your suggestion.

And every body, how can we apply mapreduce in this case?

Thanks

Linh Truong






On Fri, Apr 29, 2011 at 12:41 AM, Brandon Donnelson <branflake2...@gmail.com
> wrote:

> I would make multiple RPC/ajax calls. First one, get the total,
> by figuring out how many keys exist for your query. Then divide up the total
> make multiple calls and query the data in chunks and then buffer it into a
> list or array on the client using javascript.  Do you think that would work
> for you?
>
> Brandon Donnelson
> http://gwt-examples.googlecode.com
> http://c.gawkat.com
> Challenge is to: Spice up the java forum with some profile pictures, lets 
> beat the python community. :)
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> 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 google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to