80 ish lines of python. I consider that a few. Especially since it is a good exercise in working with blobstore.
I’ll see where I put my python version. The problem with the Java example is that it is too complicated. The logic is: “get blob list” on OLD appid. (6 lines excluding the app.yaml) On new app, request blob, write blob, if error note, and continue error or not. Do next 20 blobs (or how ever many depending on the average size) (30 lines) When you reach the end of the blob list do the same thing for the error list. (6 lines) Use scheduled tasks as a Cron to fire these off over a couple of days. If you want it on the cheap be ok with it taking a week using as much free quota as possible. (few minutes in configuration) From: [email protected] [mailto:[email protected]] On Behalf Of André Pankraz Sent: Tuesday, November 29, 2011 4:34 AM To: [email protected] Subject: Re: [google-appengine] Serving errors and latency, Tuesday Nov 29th I think this is really a little bit optimistic. At least the Java version has some problems if you copy multiply 1000 blobs. 1 out of 100 writes has timeouts (even with complete pre-caching of data and write as fast as possible into Channel) or there are also some memory leaks for long running blob-creation loops (don't cache BlobstoreService...). So the exception handling and BlobKey handling is for sure more than a couple of lines?! -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/WI1pdtSkOeAJ. 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.
