[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-06 Thread Yegor
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

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-06 Thread Brandon Donnelson
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

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-06 Thread bradr
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

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Ugorji
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

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Brandon Donnelson
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

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread bradr
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:

Re: [appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Brandon Donnelson
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.

Re: [appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Brandon Donnelson
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

[appengine-java] Re: Blobstore vs. Datastore for HTML files

2011-05-05 Thread Brandon Donnelson
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