Ikai, this is what a 1.5MB HTML page looks like:
http://svnbook.red-bean.com/en/1.5/svn-book.html  :)

I can't think of many other examples, outside of "single page" user
guides for open source projects. So your point is very fair,
especially given the average HTML files size is ~25 KB.

1MB XML files, however, are not out of the question. Have you ever
seen the XML that MS Office products output? It is very verbose, and
in my experience ~250 KB for an average sized document. If you embed
images you can easily exceed 1MB. What if I wanted to store MS Project
XML files for my Chrome App: 
https://chrome.google.com/webstore/detail/kdecagaipaomhgmddggocgibjclimaol?hl=en-US
?

Luckily, for this particular project i'm not working with MS XML
files, so I can simplify my solution.

I've taken the approach where I store "editable" files in the
datastore (xml, xsl, html, css, etc) and "non-editable" files in the
blobstore (images, pdfs, etc). I like the ability to update records,
as opposed to constantly creating new blobs and deleting the older
versions.

Thanks everyone for your feedback, really appreciate it

On May 6, 10:48 am, "Ikai Lan (Google)" <[email protected]> wrote:
> What does a 1 megabyte HTML file look like? That seems like a REALLY BIG
> HTML file.
>
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine
>
> On Fri, May 6, 2011 at 7:57 AM, Brandon Donnelson
> <[email protected]>wrote:
>
>
>
>
>
>
>
> > I haven't yet. Are you storing compressed to save on cost? I am mainly
> > working with images at the moment and sending them to the blobstore so I
> > haven't had the need to consider that yet. Thats interesting point if you
> > are trying to save on cost of storage that way.
>
> > How much time does it take to compress java.util.zip.GZIPOutputStream?
>
> > Brandon
>
> > --
> > 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.

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

Reply via email to