request size limit is 1 or 10mb?

373 views
Skip to first unread message

sserrano

unread,
Jul 5, 2009, 6:00:08 PM7/5/09
to Google App Engine
Hi
From the docs the request size limit shoul be 10mb, but when i try
to upload something with more than 1mb im getting an http response
code 400, which even not appear at the app log. For request with 0.9mb
all is fine.
I read the 10mb limit at http://code.google.com/intl/en/appengine/docs/python/runtime.html
and my app is wegif-gae

Thanks in advance, Sebastian

Nick Johnson (Google)

unread,
Jul 6, 2009, 5:45:18 AM7/6/09
to google-a...@googlegroups.com
Hi Sebastian,

The limit is 10MB for appspot.com domains, but still 1MB if you're
uploading to a domain of your own.

-Nick Johnson
--
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
Number: 368047

mugurm

unread,
Jul 6, 2009, 1:48:44 AM7/6/09
to Google App Engine
I seem to experience this too.

On Jul 5, 6:00 pm, sserrano <sebastian.serr...@gmail.com> wrote:
> Hi
>    From the docs the request size limit shoul be 10mb, but when i try
> to upload something with more than 1mb im getting an http response
> code 400, which even not appear at the app log. For request with 0.9mb
> all is fine.
>   I read the 10mb limit athttp://code.google.com/intl/en/appengine/docs/python/runtime.html

Carl

unread,
Jul 6, 2009, 7:26:07 AM7/6/09
to Google App Engine
Nick, I'm new to App Engine; could you tell us where the various
limits are documented? I found this page:

http://code.google.com/appengine/docs/revision_history.html

which has an entry on 2009-02-04 stating that "The app request and
response size limit has also increased from 1 MB to 10 MB." There is
no subsequent entry that alters that decision, but if I understand you
correctly, someone accessing my app from <appname>.appspot.com, would
have the 10 MB response maximum, but if they were to access the same
app using a domain name that I associated with the application myself
(e.g., <appname>.com) then they would have a 1MB response maximum. Is
that correct? Actually, you were referring to uploads, so I guess I
should be asking whether that is the case for responses.

I don't think that this is a show stopper for me because although I
have some 2-3MB static html files that I will be uploading (from
Google's servers) via a GET triggered from GWT Java-to-Javascript
code, these could be broken up into 3 or 4 files each and downloaded
separately. But since I don't understand the rationale (for the
difference between appspot.com vs. my own domain) I'm concerned that I
may not correctly understand the constraint.

BTW, regarding resource utilization, since I'm using GET to retrieve
these files the browser caches them. These files will almost never
change, and are always needed, so once a given user downloads the
file, they should never have to download it again for subsequent
requests unless they clear browser cache.

Thanks,

Carl


On Jul 6, 2:45 am, "Nick Johnson (Google)" <nick.john...@google.com>
wrote:
> Hi Sebastian,
>
> Thelimitis 10MB for appspot.com domains, but still 1MB if you're
> uploading to a domain of your own.
>
> -Nick Johnson
>
> On Sun, Jul 5, 2009 at 11:00 PM, sserrano<sebastian.serr...@gmail.com> wrote:
>
> > Hi
> >   From the docs the request sizelimitshoul be 10mb, but when i try
> > to upload something with more than 1mb im getting an httpresponse
> > code 400, which even not appear at the app log. For request with 0.9mb
> > all is fine.
> >  I read the 10mblimitathttp://code.google.com/intl/en/appengine/docs/python/runtime.html

Carl

unread,
Jul 8, 2009, 6:20:22 PM7/8/09
to Google App Engine
UPDATE: Since writing this, I uploaded some test code that includes a
static file of about 1.8 MB and had no difficulty in running GWT-
generated Javascript code that performs a GET on this file.
Everything worked fine whether I was accessing the app via the app's
own domain name or the appspot subdomain for the app (or the specific
version URL, for that matter).

It would still be nice to see these limits documented in writing so as
to know whether the fact that this works is a temporary accident or a
behavior upon which applications can rely.

Carl


On Jul 6, 4:26 am, Carl <consult...@goalstate.com> wrote:
> Nick, I'm new to App Engine; could you tell us where the various
> limits are documented?  I found this page:
>
> http://code.google.com/appengine/docs/revision_history.html
>
> which has an entry on 2009-02-04 stating that "The app request andresponsesizelimithas also increased from 1MBto 10MB."  There is
> no subsequent entry that alters that decision, but if I understand you
> correctly, someone accessing my app from <appname>.appspot.com, would
> have the 10MBresponsemaximum, but if they were to access the same
> app using a domain name that I associated with the application myself
> (e.g., <appname>.com) then they would have a 1MBresponsemaximum.  Is
Reply all
Reply to author
Forward
0 new messages