[google-appengine] Re: Selecting hundreds of entities efficiently

2010-05-09 Thread Adrian Holovaty
On May 9, 9:58 pm, Adrian Holovaty wrote: > > Also I assume you do a fetch on the query rather than iterating of the > > result (fetch is much quicker). > > Oh, we could be onto something here. I'm iterating over the result, > not using fetch, because I was under the i

[google-appengine] Re: Selecting hundreds of entities efficiently

2010-05-09 Thread Adrian Holovaty
Thanks for all the responses, everybody. Responses below -- On May 9, 5:45 am, Tim Hoffman wrote: > 1. Is the set of entities changing constantly - ie adding or deleting > entities, or are you just changing a fixed set of entities. Yes, the set of entities is changing constantly, and it's mostl

[google-appengine] Selecting hundreds of entities efficiently

2010-05-09 Thread Adrian Holovaty
Hi all, I've got an App Engine application in which I'm selecting hundreds of entities from the same model, possibly even 1000 or 2000 of them -- and I need all of them at the same time, for display in the browser. (There is no way around this requirement; I need all of them at the same time.) The

[google-appengine] Disabling chunked transfer for blobstore requests

2010-04-07 Thread Adrian Holovaty
Hi there, When Google App Engine serves media files from the Blobstore, it sends a "Transfer-Encoding: chunked" header and doesn't include a "Content- Length" header. This means a client downloading the file cannot do useful things such as displaying a progress bar, because the client doesn't know