Hello,

I store quite a lot of data (e.g 10 million) tuples (rows) in my
Person kind (table) at GAE datastore. Now i want to query the Person
kind from my web application.  For example my web application sends a
query (e.g select * from Person where height < 2) through a http
request to my server (python code) and the server gets the query and
run it in order to generate the result tuples. For this query (select
* from Person where height < 2), the server will generate quite big
dataset (tuples) back since not many people are taller than 2m. Due to
the generated result tuples are too big, i can not send the whole
result tuples in one time through a http response to my web
application. Therefore, i use cursor with the query and each time
generate a partial result tuples (e.g 10000) from the total result
tuples generated by running the query and try to return the 10000
result tuples each time through a http response. As you might realize,
i send just one http request with a query to my server and want my
server to send many http responses to my web application and each
response carries 10000 result tuples to my web application.

My question is: How can my server sends many http responses back to my
web appilcation for a http request sending from my web application?

Thank you very much!

Bruce

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