I would just try doing whatever you are doing in an offline process (task queue) and then notify the client when it is done.
On Apr 13, 2:33 am, DanielP <[email protected]> wrote: > Could maybe someone from Google help with this ? > 5MB is not so much - it shouldn't really take 30s !! > Thanks ! > Daniel > > On Apr 7, 3:09 pm, DanielP <[email protected]> wrote: > > > > > > > > > Hi, > > > I am trying to read some 5MB XML files I have saved into the > > Blobstorevia the new APIs introduced in Version 1.4.3. > > The problem is that the read is so slow that I get a > > DeadlineExceededException :( > > > I'm folowing the example provided in the docs > > here:http://code.google.com/appengine/docs/java/blobstore/overview.html#Wr... > > > Here is my code: > > > AppEngineFile aeFile = fileService.getBlobFile(key); > >FileReadChannelreadChannel = fileService.openReadChannel(aeFile, > > false); > > BufferedReader reader = new > > BufferedReader(Channels.newReader(readChannel, "UTF8")); > > > StringBuffer sBuffer = new StringBuffer(); > > String line = null; > > while ((line = reader.readLine()) != null) sBuffer.append(line); > > > So the question is: What is a fast way to read large files from the > > Blobstore? > > > Many thanks for the help ! > > Daniel -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-java?hl=en.
