I agree with everything you said. Just one thing to consider: by first
storing the uploaded data, then retrieving that data for reprocessing
and then storing the processed data again will consume additional
resources / quotas of your app.
GAE really appears to be designed for apps with very high read to
write ratio. I would say, if you don't need to handle more than
thousand of concurrent users, then you'd be better off renting a
server. Into this I've factored additional hassles you may not know
about yet, like index size and count limits, single entity group write
limits, transaction limitations. All of these are possible to work
around, but I have yet to see if those workarounds are feasible in
terms of the final price I will be paying to run the app.
On Aug 14, 9:24 pm, Stakka <
henrik.lindqv...@gmail.com> wrote:
> Thanks for the tip, but why write a web app when Java Applets are
> required, that whouldn't be a good solution. Also, the uploaded file
> needs to be parsed in it's entirety (CRC check, value references,
> etc.), and it's not XML.
>
> I think I have to parse the file server-side, populate (Java) Entity
> objects and serialize as many I can into 1 MB blobs. When that is
> done, start a task that put the de-serialized entities in batches of
> 500 into the datastore. The response for the file upload request will
> have to contain some unique task URL that the browser can (AJAX) poll
> to display the progress.
>
> Before I commit to such a elaborate solution, I'll have to test the
> batch-put performance to see if GAE is even suitable for this kind of
> app.
http://groups.google.com/group/google-appengine/browse_thread/thread/...