I don't know what jacek had in mind, but since it sounds like you're
making the request from a custom client, make sure you are making the
request with Accept-Encoding: gzip.

http://code.google.com/appengine/kb/general.html#compression

Jeff

On Fri, Dec 3, 2010 at 6:01 AM, pac <parvez.chau...@gmail.com> wrote:
> Do you mean - remove extra whitespaces, comments and other unneeded
> characters without breaking the content structure?
>
> On Dec 3, 1:06 pm, "jacek.ambroziak" <jacek.ambroz...@gmail.com>
> wrote:
>> Also minify and/or compress your XML!
>>
>> On Dec 2, 5:06 am, pac <parvez.chau...@gmail.com> wrote:
>>
>> > That’s great then Stephen, appreciated the feedback. Thanks.
>>
>> > On Dec 2, 1:44 am, Stephen Johnson <onepagewo...@gmail.com> wrote:
>>
>> > > I believe Ikai's statement "The 30 second limit is imposed on the time it
>> > > takes the servlet to finish." is confirming what I said.
>>
>> > > On Wed, Dec 1, 2010 at 5:52 PM, pac <parvez.chau...@gmail.com> wrote:
>> > > > Hi Ikai,
>>
>> > > > If you could confirm this - from earlier Stephen's post:
>>
>> > > > "then I think you
>> > > > will be safe even though it might take another minute or two for
>> > > > Google's
>> > > > infrastructure to stream it to the client. I have not tested this
>> > > > though.
>> > > > Can anyone confirm or deny this assumption on my part."
>>
>> > > > is download outside 30 sec limit i.e. after servlet finished in 30
>> > > > seconds?
>>
>> > > > Thanks.
>>
>> > > > On Dec 1, 12:00 am, "Ikai Lan (Google)" 
>> > > > <ikai.l+gro...@google.com<ikai.l%2bgro...@google.com>
>>
>> > > > wrote:
>> > > > > The 30 second limit is imposed on the time it takes the servlet to
>> > > > finish.
>>
>> > > > > --
>> > > > > Ikai Lan
>> > > > > Developer Programs Engineer, Google App Engine
>> > > > > Blogger:http://googleappengine.blogspot.com
>> > > > > Reddit:http://www.reddit.com/r/appengine
>> > > > > Twitter:http://twitter.com/app_engine
>>
>> > > > > On Mon, Nov 29, 2010 at 10:13 AM, Stephen Johnson <
>> > > > onepagewo...@gmail.com>wrote:
>>
>> > > > > > I believe the 30 second limit is imposed on the time it takes for 
>> > > > > > your
>> > > > > > servlet to finish. Thus, if your servlet finished generating and
>> > > > returning
>> > > > > > the file to the AppEngine infrastructure in 29 seconds, then I 
>> > > > > > think
>> > > > you
>> > > > > > will be safe even though it might take another minute or two for
>> > > > Google's
>> > > > > > infrastructure to stream it to the client. I have not tested this
>> > > > though.
>> > > > > > Can anyone confirm or deny this assumption on my part.
>>
>> > > > > > On Mon, Nov 29, 2010 at 10:57 AM, pac <parvez.chau...@gmail.com>
>> > > > wrote:
>>
>> > > > > >> Sorry, did not see your post earlier Stephen.
>>
>> > > > > >> I was not aware of this 10 minute feature to create a file, I will
>> > > > > >> look into.
>>
>> > > > > >> File size will be greater then 10MB, it is an existing website 
>> > > > > >> which I
>> > > > > >> am thinking to port to gae, file size already gets around 12MB or 
>> > > > > >> so.
>>
>> > > > > >> So I guess more than 10MB download will be an issue and I guess
>> > > > > >> download should also complete in 30 second, is that so?
>>
>> > > > > >> On Nov 29, 5:37 pm, pac <parvez.chau...@gmail.com> wrote:
>> > > > > >> > A client will download a xml file instead of uploading.
>> > > > > >> > Records will be created (or updated, deleted) in a table/kind 
>> > > > > >> > over
>> > > > > >> > time and all records from a kind need to be downloaded in form 
>> > > > > >> > of a
>> > > > > >> > xml file, I hope I am explaining the issue bit more clearly.
>>
>> > > > > >> > I am not sure if I could make use of blobstore in this case as 
>> > > > > >> > it
>> > > > will
>> > > > > >> > require update of blobstore object (in background may be using 
>> > > > > >> > task)
>> > > > > >> > every time a record gets added/updated/deleted i.e. if I create 
>> > > > > >> > xml
>> > > > > >> > file programmaticaly and store as blobstore object.
>>
>> > > > > >> > On Nov 29, 5:14 pm, Didier Durand <durand.did...@gmail.com> 
>> > > > > >> > wrote:
>>
>> > > > > >> > > Hi,
>>
>> > > > > >> > > To emulate files, you have to use the Blob object in the 
>> > > > > >> > > datastore
>> > > > to
>> > > > > >> > > store such xml content: see
>> > > > com.google.appengine.api.datastore.Blob
>> > > > > >> inhttp://
>> > > > code.google.com/appengine/docs/java/datastore/dataclasses.html.
>> > > > > >> ..
>>
>> > > > > >> > > Blob has a limited max size: 1 Mbyte. So, you can use a 
>> > > > > >> > > collection
>> > > > > >> > > (Vector, List, etc..)  of Blobs if you need more than 1 
>> > > > > >> > > Mbytes.
>>
>> > > > > >> > > If your files get uploaded by a client, you can use the 
>> > > > > >> > > Blobstore
>> > > > > >> > > where the max size is much bigger(2 Gbytes): seehttp://
>> > > > > >> code.google.com/appengine/docs/java/blobstore/overview.html
>>
>> > > > > >> > > You have to associate the blob with some other fields (name, 
>> > > > > >> > > size,
>> > > > > >> > > last_updated) in you pojo to reproduce what you expect from a
>> > > > file.
>>
>> > > > > >> > > N.B. if you need to emulate a directory tree, you also have to
>> > > > write
>> > > > > >> > > it by yourself.
>>
>> > > > > >> > > Finally, I would recommend alternative Objectify rather than
>> > > > standard
>> > > > > >> > > JDO for such services.
>>
>> > > > > >> > > Hope this helps
>>
>> > > > > >> > > regards
>> > > > > >> > > didier
>>
>> > > > > >> > > On Nov 29, 5:53 pm, pac <parvez.chau...@gmail.com> wrote:
>>
>> > > > > >> > > > In a website I need to provide a feature to get data in xml
>> > > > format
>> > > > > >> > > > i.e. some url
>>
>> > > > > >> > > > e.g.http://www.mysite.com../data.xml
>>
>> > > > > >> > > > I think in gae I can not create a file. Any suggestions to
>> > > > create
>> > > > > >> such
>> > > > > >> > > > feature to get data from data store in this way?
>>
>> > > > > >> > > > Data store will have large number of records, so in 
>> > > > > >> > > > general, a
>> > > > file
>> > > > > >> > > > created from that could be of good few MBs.
>>
>> > > > > >> --
>> > > > > >> 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
>> > > > > >> google-appengine-j...@googlegroups.com.
>> > > > > >> To unsubscribe from this group, send email to
>> > > > > >> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>> > > > <google-appengine-java%2b­unsubscr...@googlegroups.com>
>> > > > > >> .
>> > > > > >> For more options, visit this group at
>> > > > > >>http://groups.google.com/group/google-appengine-java?hl=en.
>>
>> > > > > >  --
>> > > > > > 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
>> > > > > > google-appengine-j...@googlegroups.com.
>> > > > > > To unsubscribe from this group, send email to
>> > > > > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>> > > > <google-appengine-java%2b­unsubscr...@googlegroups.com>
>> > > > > > .
>> > > > > > For more options, visit this group at
>> > > > > >http://groups.google.com/group/google-appengine-java?hl=en.-Hide
>> > > > quoted text -
>>
>> > > > > - Show quoted text -
>>
>> > > > --
>> > > > 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
>> > > > google-appengine-j...@googlegroups.com.
>> > > > To unsubscribe from this group, send email to
>> > > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>> > > > .
>> > > > For more options, visit this group at
>> > > >http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> 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 google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to