On Wed, Sep 16, 2009 at 9:51 PM, sal <[email protected]> wrote:

>
>
> Nick, thanks for the quick response. Just a quick clarification,
> though:
>
> On Sep 16, 3:26 pm, "Nick Johnson (Google)" <[email protected]>
> wrote:
>
> [...]
>
> > into chunks and store them in the datastore. The 30 second request limit
> > applies only to the time your code spends processing the request, not
> time
> > sent receiving the request or sending the response.
>
> Here is where I'm a little foggy - to send/receive a request in GAE,
> one would have to write application logic that accesses the Datastore,
> and assembles the stream to which the browser uploads/download the
> data, correct?
>

In the case of handling files that are greater than 1MB currently, yes.


> (which means the 30 second limit would apply to any uploading/
> downloading of data that is connected to datastore.  Or is there a way
> to stream data without eating cycles, thereby bypassing the 30 second
> limit?)  Perhaps GAE will buffer the 10 MB of data and let the user
> download - even if the user was on a slow link... and this took
> several minutes for him?
>

Your request handler is only invoked once the user has sent all the data to
the server, and it stops running as soon as it returns its (entire) response
to the system it's running on. Time taken by the user sending the request
and receiving your response isn't part of that.

-Nick Johnson


> >
> > A large file API is on our roadmap, which will make handling large files
> > from users much easier.
> >
> > -Nick Johnson
>
> This is great to hear!!  As I'm using GAE to get its benefits of auto-
> scaling, and moving my files to some other server would mean if that
> system pukes, then the app would be compromised... its one more worry.
> An API like this makes a lot of sense.
>
> Thanks again,
>
> - Sal
>
>
> > On Wed, Sep 16, 2009 at 9:24 PM, sal <[email protected]> wrote:
> >
> > > Thanks for the info Joshua.  Its what I feared.
> >
> > > Maybe someone from Google can chime in?  I would be willing to pay for
> > > the resources used for this... is there any plans to allow this in the
> > > near future for GAE? Or possibly some workaround. I would like to keep
> > > the application in GAE for simplicity...
> >
> > > thanks again,
> >
> > > - Sal
> >
> > > On Sep 16, 3:18 pm, Joshua Smith <[email protected]> wrote:
> > > > You read correctly.  There is no way.
> >
> > > > We use Amazon S3 to handle the big files in our apps (5GB limit, very
> > > > cheap, easy to set up, and edge-served if you want).
> >
> > > > It's not that hard to use these together.  The GAE app puts together
> a
> > > > form that posts to Amazon S3 and redirects back to GAE.  And then you
> > > > can use a HTTP head fetch to get info about the file that was
> uploaded.
> >
> > > > -Joshua
> >
> > > > On Sep 16, 2009, at 4:12 PM, sal wrote:
> >
> > > > > Is there a way to allow users to upload and download large files
> into
> > > > > GAE?  I've read a limit of 1Meg or so on API calls and a 30 second
> > > > > timeout limit.
> >
> > > > > If its true, then no download can exceed 30 seconds?  Also no
> > > > > uploads?  And the actual file size limit cannot exceed 1 meg?
> >
> > > > > Does enabling billing fix any of these issues?  Thanks much in
> advance
> > > > > for any help - I just want to make sure I'm not heading towards a
> > > > > dead-
> > > > > end before investing lots of time into the feature.
> >
> > --
> > Nick Johnson, Developer Programs Engineer, App Engine
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

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