Brandon,
Have you considered storing HTML in compressed form as Datastore
blobs? Being plain text HTML should have very high compression ratio.
* java.util.zip.GZIPOutputStream is usually no worse than x5, but it
is slower
* com.ning.compress.lzf.LZFOutputStream should yield x3 compression,
but
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
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
One more thing. Blobstore is 1/3 the cost of High Replication datastore. So
if you don't need to index the information, and you are okay doing multiple
GET's/PUTs (ie one GET to get the blobkey, and one more to actually serve
the file), and your code allows the inclusion of the blobstore, then
I choose the datastore so I wasn't constrained with the 1MB limit. I think
it works great too. I made a rough demo to try it out.
GWT javascript has to init. http://demogaemultifileblobupload.appspot.com/ -
the files are served from the datastore.
Brandon Donnelson
Question, if I opt for datastore ... I noticed that certain types (ie
datastore.Blob and datastore.Text) can be up to 1 megabyte; not
indexed. Can I have multiple 1mb text columns? Or is there an
overall size limit for the row?
On May 5, 3:42 pm, Brandon Donnelson branflake2...@gmail.com wrote:
Oops I mean blob store
On May 5, 2011 3:42 PM, Brandon Donnelson branflake2...@gmail.com wrote:
I choose the datastore so I wasn't constrained with the 1MB limit. I think
it works great too. I made a rough demo to try it out.
GWT javascript has to init.
Good question. You can have multiple object until the object limit.
On May 5, 2011 4:58 PM, bradr brad.rydzew...@gmail.com wrote:
Question, if I opt for datastore ... I noticed that certain types (ie
datastore.Blob and datastore.Text) can be up to 1 megabyte; not
indexed. Can I have multiple
Entity limit is 1MB total. But you could have multiple blobs within one if
they where less than 1MB.
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